This trigger is used to provide custom attacks to a mobile. The parameters can be used to control whent he trigger is fired. For "pre" the trigger will be fired before the mobile's normal attacks. For "post" the trigger is fired after the mobile's normal attacks. If not specified, then the trigger will fire both before and after and the script can check the value of the @flow variable for "pre" or "post" to determine the flow.
@attacker - Contains a pointer to the mobile that is performing the attacks.
@victim - Contains a pointer to the mobile that is being attacked by the @attacker.
@flow - Contains either "pre" or "post" depending on when the trigger is firing with respect to the mobile's normal attacks. |