Skip to content

CardHandler Process Damage : Eventargs format

RagingBigFemaleBird edited this page Nov 14, 2012 · 1 revision

CardHandler and Damage eventArg format:

Source : source of action/damage

Targets: targets of action/damage

Card: the card (Card or CompositeCard) that produced the action / caused the damage

Cards (damage only): the actual card(s), i.e. Card / subCards of CompositeCard

ReadonlyCard: A readonly version (Cannot be moved, cannot set anything else other than its attributes) of the Card

Note to developers:

In case you want to add properties to the card, you must add attributes to ReadonlyCard, because the actual card (Card / Cards) can be moved to any place (therefore has its face type changed) during multi-target computation.

Examples: See 无双, 铁骑

Clone this wiki locally