Proc:Vorpal Immunity

From WikiName
Revision as of 19:35, 19 April 2019 by Teker (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

This procedure allows builders to add resistance to mobiles against chop/vorpal weapons.


Here is a list of keys that the procedure will use:

Key Default Description
PROC_NUM 41 Standard KVP key.
PROC_ENABLED 0 (false) Standard KVP key.
PERCENT_REDUCTION 0 (%) The percentage chance that the vorpal proc does nothing to this mobile.
PERCENT_DISARM 0 (%) The percentage chance that the vorpal proc will result in disarming the player.
DISARM_ROOM_MESSAGE $n skillfully blocks $N's swing and disarms $M! The message sent to the room when the mobile disarms the player.
DISARM_VICTIM_MESSAGE $n skillfully blocks your swing and disarms you! The message sent to the player being disarmed.
PERCENT_BREAK 0 (%) The percentage chance that the vorpal weapon will break during the attack. If this number is lower than the weapon's natural break percentage, the weapon's percentage is used instead.

Sample

addproc <mob> vorpal_immunity
setproc <mob> ## PERCENT_DISARM 50
setproc <mob> ## DISARM_ROOM_MESSAGE $n deftly disarms $N and tosses $p to the ground!
setproc <mob> ## DISARM_VICTIM_MESSAGE $n deftly disarms you and tosses $p to the ground!
setproc <mob> ## PROC_ENABLED 1