PGRData/Script/matrix/xrestaurant/xnode/XRestaurantDestroyEffectNode.lua

11 lines
401 B
Lua
Raw Normal View History

2024-09-01 20:49:41 +00:00
---@class XRestaurantDestroyEffectNode : XLuaBehaviorNode
---@field AgentProxy XRestaurantCharAgent
local XRestaurantDestroyEffectNode = XLuaBehaviorManager.RegisterNode(XLuaBehaviorNode,
"RestaurantDestroyEffect", CsBehaviorNodeType.Action, true, false)
function XRestaurantDestroyEffectNode:OnEnter()
self.AgentProxy:DoDestroyEffect()
self.Node.Status = CsNodeStatus.SUCCESS
end