mercenary
¶
This is the type used for mercenaries.
Members¶
This type inherits members from spawn.
int AAPoints
¶
- AA Points spent on mercenary abilities
string Stance
¶
- Current stance of the mercenary
string State
¶
- Current state of the mercenary (returns "DEAD","SUSPENDED","ACTIVE", or "UNKNOWN"
int StateID
¶
- Current state ID of the mercenary as a number.
string Index
¶
- Index
string To String
¶
- Same as Name
Examples¶
Check on if you have an active mercenary, mercenary is a cleric, and if it's stance is NOT reactive.... then change it TO reactive.
/if (${Mercenary.State.Equal[ACTIVE]} && ${Mercenary.Class.Name.Equal[Cleric]} && ${Mercenary.Stance.NotEqual[REACTIVE]}) {
/stance reactive
}