tilt_crit
Framework for custom vendor crits.
Vars | |
fall_towards_mob | If we should be thrown against the mob or not. |
---|---|
harmless | If it'll deal damage or not |
name | Name of a crit. Only crits with a name will be options. |
valid_typecache | Typecache of valid types |
valid_types_whitelist | List of types which we should be valid for |
Procs | |
is_valid | Return whether or not the crit selected is valid. |
tip_crit_effect | Perform the tip crit effect on a victim. Arguments: |
Var Details
fall_towards_mob
If we should be thrown against the mob or not.
harmless
If it'll deal damage or not
name
Name of a crit. Only crits with a name will be options.
valid_typecache
Typecache of valid types
valid_types_whitelist
List of types which we should be valid for
Proc Details
is_valid
Return whether or not the crit selected is valid.
tip_crit_effect
Perform the tip crit effect on a victim. Arguments:
- machine - The machine that was tipped over
- user - The unfortunate victim upon whom it was tipped over
- incoming_damage - The amount of damage that was already being dealt to the victim Returns: The "crit rebate", or the amount of damage to subtract from the original amount of damage dealt, to soften the blow.