Skip to content

thomasyonug/glory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


card Trigger

type param
setMagicTrigger ((arg, store) => void) => void
setTrapTrigger ((arg, store) => void) => void
setAttackTrigger ((arg, store) => void) => void
setEffectTrigger ((arg, store) => void) => void
deleteMagicTrigger ((arg, store) => void) => void
deleteTrapTrigger ((arg, store) => void) => void
deleteAttackTrigger ((arg, store) => void) => void
deleteEffectTrigger ((arg, store) => void) => void

Monster Hook

hook timing status hook name param where
attackBefore done prophet (store, next, action) card
attackAfter done aftershock (store, action) card
deathBefore done struggle (store, next, action) card
deathAfter done deathwhisper (store, action) card
changeBefore X
changeAfter X
summonBefore done momentum (store, next, action) card
summonAfter done appearance (store, action) card

Magic Hook

hook timing status hook name type param
spellBefore X
spellAfter X
effect done card function (actions, store)
animate_name done card string x
isEffectTarget done card function (actions, store, target)

Trap Hook

hook timing status
triggerBefore X
triggerAfter X

middleware stream

image

About

a card game base on react

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published