miduo_client/Assets/ManagedResources/~Lua/Modules/Mission/Behaviour/BHBuff.lua

15 lines
285 B
Lua
Raw Normal View History

2020-08-25 15:46:38 +08:00
--- 吃buff
2020-05-09 13:31:21 +08:00
local BHBuff = {}
local this = BHBuff
function this.Excute(arg, func)
-- Buff id
local id = arg.buffID
if id ~= 0 then
-- 初始化buff数据
FoodBuffManager.CreateFoodBuff(id, true, true)
end
if func then func() end
end
2020-06-23 18:36:24 +08:00
return this