15 lines
510 B
Lua
15 lines
510 B
Lua
---@class BTT_BossMomentPlay_C:BTTask_LuaBase
|
|
--Edit Below--
|
|
local BTT_BossMomentPlayStormWind = {}
|
|
|
|
-- -- entry point, task will stay active until FinishExecute is called
|
|
function BTT_BossMomentPlayStormWind:ReceiveExecuteAI(OwnerController, ControlledPawn)
|
|
if ControlledPawn and ControlledPawn.EnableStormWind then
|
|
if not ControlledPawn.IsSkillStormWindEnable then
|
|
ControlledPawn:EnableStormWind()
|
|
end
|
|
end
|
|
self:FinishExecute(true)
|
|
end
|
|
|
|
return BTT_BossMomentPlayStormWind |