2023-02-28 17:43:44 +00:00
|
|
|
-- Definitions of game events
|
|
|
|
|
|
|
|
GameEvent.ChangeHp = 1
|
|
|
|
GameEvent.Damage = 2
|
|
|
|
GameEvent.LoseHp = 3
|
|
|
|
GameEvent.Recover = 4
|
|
|
|
GameEvent.ChangeMaxHp = 5
|
|
|
|
dofile "lua/server/events/hp.lua"
|
|
|
|
|
|
|
|
GameEvent.Dying = 6
|
|
|
|
GameEvent.Death = 7
|
|
|
|
dofile "lua/server/events/death.lua"
|
|
|
|
|
|
|
|
GameEvent.MoveCards = 8
|
|
|
|
dofile "lua/server/events/movecard.lua"
|
|
|
|
|
|
|
|
GameEvent.UseCard = 9
|
|
|
|
GameEvent.RespondCard = 10
|
|
|
|
dofile "lua/server/events/usecard.lua"
|
|
|
|
|
|
|
|
GameEvent.SkillEffect = 11
|
|
|
|
-- GameEvent.AddSkill = 12
|
|
|
|
-- GameEvent.LoseSkill = 13
|
|
|
|
dofile "lua/server/events/skill.lua"
|
|
|
|
|
|
|
|
GameEvent.Judge = 14
|
|
|
|
dofile "lua/server/events/judge.lua"
|
|
|
|
|
2023-03-07 06:55:28 +00:00
|
|
|
GameEvent.DrawInitial = 15
|
|
|
|
GameEvent.Turn = 16
|
|
|
|
dofile "lua/server/events/gameflow.lua"
|
|
|
|
|
2023-03-14 12:48:08 +00:00
|
|
|
GameEvent.Pindian = 17
|
|
|
|
dofile "lua/server/events/pindian.lua"
|
|
|
|
|
2023-02-28 17:43:44 +00:00
|
|
|
-- TODO: fix this
|
|
|
|
GameEvent.BreakEvent = 999
|
|
|
|
|