mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
905 B
905 B
Function: CureByControlEffect(cure_count, cure_type, cure_name, cure_level, target)
Description: Cures the control effects. cure_count controls the amount of cures activated, cure_type will be the control effect type. If in a spell script and no target it will apply to all spell targets.
Parameters:
cure_count(uint8) - Integer valuecure_count.cure_type(uint8) - Integer valuecure_type.cure_name(string) - Stringcure_name.cure_level(uint8) - Integer valuecure_level.target(Spawn) - Spawn object representingtarget.
Returns: None.
Example:
-- From Spells/Priest/Cleric/Inquisitor/FerventFaith.lua
function cast(Caster, Target, Levels)
CureByControlEffect(1, 1, "Cure", Levels)
CureByControlEffect(1, 2, "Cure", Levels)
CureByControlEffect(1, 3, "Cure", Levels)
CureByControlEffect(1, 4, "Cure", Levels)
end