feat: add `get.event<T>(key?: string): Event | T`.
Giving argument, it will return value to the key of current event. Otherwise it will return the event itself.
This commit is contained in:
parent
2dd55293d2
commit
39a95d8646
|
@ -58513,6 +58513,7 @@
|
|||
}
|
||||
return card;
|
||||
},
|
||||
event:key=>key?_status.event[key]:_status.event,
|
||||
player:()=>_status.event.player,
|
||||
players:(sort,dead,out)=>{
|
||||
var players=game.players.slice(0);
|
||||
|
|
Loading…
Reference in New Issue