UGCProjects/GZJ/Script/Blueprint/AI/BTT_BossMomentPlayStormWind.lua
2025-01-08 22:46:12 +08:00

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