You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curiousdannii edited this page Jun 26, 2012
·
1 revision
Inform ATTACK uses a number of global variables which it is important not to mix up. This is not a complete list of ATTACK variables, but those most likely to be used (and confused) in rules.
Variable
Type
Description
combat status
combat round state
Stores the current combat round state. Check if it is peace or combat.
main actor
person
The person with the highest initiative, who gets to act this round
main actor's action
action name
The name of the action chosen by the main actor
running AI
person
The person the AI rules are currently running for. This person could be the main actor, or a reactor.
chosen target
person
The person the AI rules have chosen as the target. If the running AI is reacting, then normally this will be the main actor.
chosen weapon
weapon
The weapon the AI rules have chosen for the running AI to use to attack or defend themselves with.
actor, noun
person, thing
These normal I7 variables should be used in before/instead/check/carry out/after/report rules for all actions other than hitting, including attacking.
global attacker, global defender, global attacker's weapon, global defender's weapon
person, weapon
These variables can only be used during the hitting action (and in the rulebooks it invokes.)