Proc:Special Attack
From SlothMUD Wiki
Revision as of 19:36, 3 January 2019 by Teker (Talk | contribs) (Created page with " = Overview = This procedure allows builders to add poison type effects to weapons. Here is a list of keys that the procedure will use: {|class="abilitiestable" border="0"...")
Overview
This procedure allows builders to add poison type effects to weapons.
Here is a list of keys that the procedure will use:
Key | Default | Description |
---|---|---|
PROC_NUM | 13 | Standard KVP value. |
PROC_ENABLED | 0 (false) | Standard KVP value. |
ATTACK_##_DAMAGE_CHANCE | 0 (%) | The percentage chance that a particular attack type will trigger extra damage. The ## corresponds with the skill number of the attack being performed. A list of skill numbers can be found TBD. Also, the word OTHER can be specified instead of a number which would provide a damage effect for attacks that do not match any ATTACK_## KVPs. |
ATTACK_##_DAMAGE_NUM_DICE | 1 | Number of dice to roll for the damage effect. |
ATTACK_##_DAMAGE_DIE_SIZE | 1 | Size of the dice to roll for the damage effect. |
ATTACK_##_DAMAGE_ADD | 0 | Additional points to add to the damage effect. |
ATTACK_##_DAMAGE_HITS_ETHEREAL | 0 (false) | Indicates whether the damage effect hits ethereal creatures. |
ATTACK_##_DAMAGE_FLAGS | 0 | TBD. |
ATTACK_##_DAMAGE_MESSAGE_ACTOR | You drive $p to the hilt in $N and $E shudders from the poison. | Message shown to the actor (attacker) when the damage effect fires. |
ATTACK_##_DAMAGE_MESSAGE_ROOM | Message shown to the room when the damage effect fires. | $n thrusts $p deep into $N and injects a poison. |
ATTACK_##_DAMAGE_MESSAGE_VICTIM | Message shown to the victim when the damage effect fires. | $n thrusts $p deep into your body, you feel a burning pain! |
ATTACK_##_SPECIAL_CHANCE | 0 (%) | Percentage chance that the attack will trigger a special effect. |
ATTACK_##_SPECIAL_EFFECT | A colon (:) separated set of values representing the special effect. | |
ATTACK_##_SPECIAL_HITS_ETHEREAL | 0 (false) | Indicates whether the special effect can hit ethereal creatures. |
ATTACK_##_SPECIAL_MESSAGE_ACTOR | The poison on $p turns $N's flesh black. | Message shown to the actor (attacker) when the special effect fires. |
ATTACK_##_SPECIAL_MESSAGE_ROOM | Message shown to the room when the special effect fires. | The poison on $n's $p turns $N's flesh black. |
ATTACK_##_SPECIAL_MESSAGE_VICTIM | Message shown to the victim when the special effect fires. | The poison on $n's $p turns your flesh black. |
Sample
TBD