Conditions - JasXSL/sexticuffs GitHub Wiki

These are a list of conditions that can be used in most places of Sexticuffs. Constants are Condition.CONSTNAME

A while into development, I added the capability to make conditions inverse. Which is why you'll see conditions like TAGS and NOT_TAGS, but you can just as well use TAGS with the inverse setting on. There's also a "swap attacker" setting, which allows you to target any condition at the attacker rather than victim.

Constant Args Description
SELF void Victim is attacker
FRIEND void Victim is same team as attacker
ENEMY void Victim is not same team as attacker
TAGS (str)tag1, (str)tag2... Victim has ANY of these tags
ABILITY [abilityid, abilityid...] Only works for text conditions. Limits by ID of ability used
MISS void Texts only - validates if an ability failed. False if nonexistent.
NOT_TAGS tag1, tag2... Victim has NONE of these tags
RACE id1, id2... Victim species is ANY of these. Uses ids
HUMANOID void Victim is a humanoid
BEAST void Victim is not a humanoid
STRONGER_THAN void Attacker is stronger than target
WEAKER_THAN void Attacker is weaker than target
LARGER_THAN void Attacker is larger than target
SMALLER_THAN void Attacker is smaller than target
MANA_GREATER_THAN [{offensive defensive
SIZE_LESS_THAN_N (int)amount Target size is smaller than N. Range between 0 and 10
BP_LESS_THAN (float)percent Victim battle points (hp+armor) less than percent of max
PC void Victim is PC
TEAM_PLAYERS_LESS (int)n=4, (int)team = attacker_team Validates if the team has less than n players
EFFECT [(str)id1...] or (str)id, (int)min_ticks = 0, (int)min_turns_left = 0 Player has an effect by id. min_ticks is minimum amount of turns the effect has been applied for. 0 when applied immediately, 1 upon player turn start
NO_GRAPPLE void Neither attacker or target are involved in a grapple
TEAM (arr)teams OR (int)team Victim team has to be within one of these
TOTAL_TURNS_GREATER (int)turns OR (str)math Total turn number this game has to be greater than this
ABILITY_RANGED void Ability used has to be ranged
CHARACTER_ID (str)id1, (str)id2... Limit by character ID. Useful for bosses.
CHARGING (str)spellID OR (arr)spellIDs Victim is charging any of these abilities
MATH (str)expression Evaluates an expression. Variables used in math depends on where the expression is put. bvars are always included