FreeKill/lua/server/events/skill.lua
notify 3f077a6d69
Rewrite event (#60)
* doc for gameevent

* init game event

* correct other yield call

* hp event

* dying event

* move card event

* use/response event

* judge event

* remove space
2023-03-01 01:43:44 +08:00

5 lines
129 B
Lua

GameEvent.functions[GameEvent.SkillEffect] = function(self)
local effect_cb = table.unpack(self.data)
return effect_cb()
end