Handler.lua 472 B

12345678910111213141516
  1. local WinnerRelicLogic = require("winnerRelic.WinnerRelicLogic")
  2. function CG_SACRED_RELIC_QUERY(human)
  3. WinnerRelicLogic.Listofrelics(human)
  4. end
  5. function CG_SACRED_RELIC_UPGRADE(human,msg)
  6. WinnerRelicLogic.ActiveandUpgrade(human,msg.relicId)
  7. end
  8. function CG_SACRED_RELIC_EQUIP(human,msg)
  9. WinnerRelicLogic.EquipeandRemove(human,msg.heroID,msg.heroIdx,msg.relicId,msg.operate)
  10. end
  11. function CG_SACRED_CHENGJIU_QUERY(human)
  12. WinnerRelicLogic.IsLock(human)
  13. end