martial_art 
Vars | |
base | The permanent style. |
---|---|
block_chance | Chance to block melee attacks using items |
can_horizontally_grab | Whether or not you can grab someone while horizontal with this Martial Art |
change_musculs | If falce, doesn't change strength and strength limit. |
combo_timer | When the last hit happened. Stores the timer_id for the combo timeout timer |
combos | What combos can the user do? List of combo types. |
current_combos | What combos are currently (possibly) being performed. |
deflection_chance | Chance to deflect projectiles while on throw mode. |
grab_resist_chances | If provided, this list will override victim's default resist chances for any grab state. Examples: list(MARTIAL_GRAB_AGGRESSIVE = 60, MARTIAL_GRAB_NECK = 40, MARTIAL_GRAB_KILL = 5) or list(MARTIAL_GRAB_NECK = 5) |
grab_speed | If provided, this overrides default time (in deciseconds) required to reinforce aggressive/neck grab to the next state. |
has_dirslash | If the martial art gives dirslash |
has_explaination_verb | If the martial art has it's own explaination verb. |
in_stance | If the user is preparing a martial arts stance. |
no_baton | Set to TRUE to prevent users of this style from using stun batons (and stunprods) |
no_baton_reason | Message displayed when someone uses a baton when its forbidden by a martial art |
no_guns | Set to TRUE to prevent users of this style from using guns (sleeping carp, highlander). They can still pick them up, but not fire them. |
no_guns_message | Message to tell the style user if they try and use a gun while no_guns = TRUE (DISHONORABRU!) |
reroute_deflection | Can it reflect projectiles in a random direction? |
weight | The priority of which martial art is picked from all the ones someone knows, the higher the number, the higher the priority. |
Procs | |
get_highest_weight | Returns the martial art with the highest weight from all the ones someone knows. |
get_resist_chance | Returns martial art grab resist chance for passed grab state. |
Var Details
base 
The permanent style.
block_chance 
Chance to block melee attacks using items
can_horizontally_grab 
Whether or not you can grab someone while horizontal with this Martial Art
change_musculs 
If falce, doesn't change strength and strength limit.
combo_timer 
When the last hit happened. Stores the timer_id for the combo timeout timer
combos 
What combos can the user do? List of combo types.
current_combos 
What combos are currently (possibly) being performed.
deflection_chance 
Chance to deflect projectiles while on throw mode.
grab_resist_chances 
If provided, this list will override victim's default resist chances for any grab state. Examples: list(MARTIAL_GRAB_AGGRESSIVE = 60, MARTIAL_GRAB_NECK = 40, MARTIAL_GRAB_KILL = 5) or list(MARTIAL_GRAB_NECK = 5)
grab_speed 
If provided, this overrides default time (in deciseconds) required to reinforce aggressive/neck grab to the next state.
has_dirslash 
If the martial art gives dirslash
has_explaination_verb 
If the martial art has it's own explaination verb.
in_stance 
If the user is preparing a martial arts stance.
no_baton 
Set to TRUE to prevent users of this style from using stun batons (and stunprods)
no_baton_reason 
Message displayed when someone uses a baton when its forbidden by a martial art
no_guns 
Set to TRUE to prevent users of this style from using guns (sleeping carp, highlander). They can still pick them up, but not fire them.
no_guns_message 
Message to tell the style user if they try and use a gun while no_guns = TRUE (DISHONORABRU!)
reroute_deflection 
Can it reflect projectiles in a random direction?
weight 
The priority of which martial art is picked from all the ones someone knows, the higher the number, the higher the priority.
Proc Details
get_highest_weight
Returns the martial art with the highest weight from all the ones someone knows.
get_resist_chance
Returns martial art grab resist chance for passed grab state.