Bash: Difference between revisions
Jump to navigation
Jump to search
Created page with '* Syntax: <code>bash</code> == Help File == Bash can only be used once a fight has started. It will inflict damage and temporarily daze both yourself and your opponent for a…' |
mNo edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 17: | Line 17: | ||
== Information == | == Information == | ||
An unusual [[physical attack]], somewhat like a cross between [[strike]] and [[stun]], which does damage to your opponent (in addition to normal [[melee]] damage) with no cost to your [[mana]] or [[movement points]], but also causes you both to be dazed for two [[round]]s. | |||
A target may be specified but this is not required if you are already in a fight. | A target may be specified but this is not required if you are already in a fight. | ||
In old code, chance of bash landing is a function of Dexterity and Strength, and whether character is 'tanking' (e.g. focus of enemies melee attacks). | |||
schance = ( ( ( get_curr_dex( victim ) + get_curr_str( victim ) ) | |||
- ( get_curr_dex( ch ) + get_curr_str( ch ) ) ) * 10 ) + 10; | |||
if( !IS_NPC( ch ) && !IS_NPC( victim ) ) | |||
schance += sysdata.bash_plr_vs_plr; | |||
if( victim->fighting && victim->fighting->who != ch ) | |||
schance += sysdata.bash_nontank; | |||
== See Also == | == See Also == | ||
Latest revision as of 05:55, 2 June 2024
- Syntax:
bash
Help File
Bash can only be used once a fight has started. It will inflict damage and temporarily daze both yourself and your opponent for approximately two rounds during which you cannot heal, flee or perform other extraneous combat actions (ie. you will be able to dodge/parry/ attack but nothing else). These same consequences are inflicted on your opponent if it is a player character, otherwise the skill only inflicts damage. Note that bash has a drastically reduced chance of hitting if the basher is not one of the primary combatants (i.e. is not tanking).
Information
An unusual physical attack, somewhat like a cross between strike and stun, which does damage to your opponent (in addition to normal melee damage) with no cost to your mana or movement points, but also causes you both to be dazed for two rounds.
A target may be specified but this is not required if you are already in a fight.
In old code, chance of bash landing is a function of Dexterity and Strength, and whether character is 'tanking' (e.g. focus of enemies melee attacks).
schance = ( ( ( get_curr_dex( victim ) + get_curr_str( victim ) )
- ( get_curr_dex( ch ) + get_curr_str( ch ) ) ) * 10 ) + 10;
if( !IS_NPC( ch ) && !IS_NPC( victim ) )
schance += sysdata.bash_plr_vs_plr;
if( victim->fighting && victim->fighting->who != ch )
schance += sysdata.bash_nontank;