---@class BTT_BossCharmPlayCurseSkill_C:BTTask_LuaBase --Edit Below-- local BTT_BossCharmPlayCurseSkill = {} -- -- entry point, task will stay active until FinishExecute is called function BTT_BossCharmPlayCurseSkill:ReceiveExecuteAI(OwnerController, ControlledPawn) if not ControlledPawn or not OwnerController or not ControlledPawn.PlayCharmCurseSkillExe then OwnerController:GetBlackboardComponent():SetValueAsBool("CanPlayCharmCurseSkill", false) self:FinishExecute(true) return end ControlledPawn:PlayCharmCurseSkillExe() OwnerController:GetBlackboardComponent():SetValueAsBool("CanPlayCharmCurseSkill", false) self:FinishExecute(true) end return BTT_BossCharmPlayCurseSkill