EffectSlow()
Creates a slow effect.
effect EffectSlow();
Description
Returns an effect type of Slow.
Slowed creatures have no benifits from any haste applied to them, or if they have no haste, have -4AC, -1 attack, and -50% movement speed (the opposite bonuses to haste).
Remarks
This only creates the effect, it does not apply the effect to an object.
Version
1.22
Example
// Example 1 - Create a slow effect and apply it to a PC object oPC = GetLastUsedBy(); effect eSlow = EffectSlow(); ApplyEffectToObject(DURATION_TYPE_INSTANT,eSlow,oPC,30.0f); // Example 2 - Use EffectSlow() directly without defining an effect // variable. object oPC = GetLastUsedBy(); ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectSlow(),oPC,30.0f);
See Also
functions: | ApplyEffectToObject |
categories: | Effects Functions | Spell Casting Effects Functions |
author: Brett Lathrope, editor: Jasperre
Send comments on this topic.