[Package Index | Mudlib Index | Effect Index]

File /w/tape/effects/blend_eff.c

This effect is used in conjunction with the command blend to pull off Granny's invisibility trick in Maskerade. It fools people into thinking that the player is just a part of the overall background, with success depending on the player's skills.

The argument has to parts, combined in an array. The first part is a mixed array, composed of alternating strings and floats. The string is a skill to be checked, and the float is the percentage of that skill used in the calculation of the overall skill used to determine the player's ability to blend.

For example: ({ "magic.spells.misc", 0.5, "covert.hiding.person", 0.5 }) would take 50% of magic.spells.misc and 50% of covert.hiding.person to come up with the appropriate value.

The second part of the array is an integer. It determines how many guild points per each cycle is detracted to maintain the upkeep of the invisibility. If the check fails, the player becomes visible.

An example of a completely arguments array: ({ ({ "magic.spells.misc", 1.0 }), 10 })

This effect has a shadow associated with it.

See also:
help::effects .c

Includes

This class includes the following files /include/effect.h