Proc:Shadow kill

From WikiName
Revision as of 23:07, 18 December 2018 by Teker (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

Mobiles with this procedure will look for players to hunt down and kill.


KVP

This procedure using the following KVP:

Key Default Description
CFG_ID   Standard proc key - must be set to 1.
PROC_NUM   Standard proc key - must be set to 6.
PROC_ENABLED 0 (FALSE) Standard proc key - must be set to 1.
PROC_DEBUG 0 (FALSE) Standard proc key. By default this key does not exist but it can be set to 1 to print out a series of debug messages to the room with the mobile.
SHADOW_CHANCE 0 A number indicating the chance the mobile will start to hunt a new target. The final chance of this happening is SHADOW_CHANCE / CHANCE_SIDES.
CHANCE_SIDES 100 A number indicating the size of die to roll when determining the chance of hunting a new target.
TARGET_AREA AREA Whether the mobile targets players in the AREA, CONTINENT, or WORLD.
TARGET_POSITION_MASK 1022 (all non-dead positions) A bitmask containing the list of player positions that are allowed for targets. For individual position values, see the Character Position Table.
TARGET_FILTER No filter The name and parameters to a custom filter function. For more specific values, see the Target Filter Function List.
TRANSPORT HUNT The method the mobile will use to reach the target. This can be HUNT, SHADOWWALK, GATE, or TELEPORT.
TELEPORT_STRING_ROOM $n slowly fades in to existence. If TRANSPORT is set to TELEPORT, this message is displayed to the room when the mobile teleports to the target. If you don't want to display anything, set this to an empty value.
ATTACK_STRING_CHAR $n leaps out of the shadows and attacks you! Message displayed to the target when the mobile starts the attack.
ATTACK_STRING_ROOM $n leaps out of the shadows and attacks $N! Message displayed to the room when the mobile starts the attack.
TARGET No target A temporary value containing the name of the player the the mobile is currently targeting.


Obsolete KVP

Key Default Description
USE_HUNT 1 (True) This value is still processed if the TRANSPORT value is missing. A value of 0 translates to SHADOWWALK and all other values translate to HUNT.
STRING_CHAR n/a Changed to ATTACK_STRING_CHAR for clarity. STRING_CHAR is now ignored.
STRING_ROOM n/a Changed to ATTACK_STRING_ROOM for clarity. STRING_ROOM is now ignored.