123456789101112131415161718192021222324252627282930313233 |
- --[[
- Script Name : Spells/Commoner/CarpetofEl'Khazi.lua
- Script Author : neatz09
- Script Date : 2019.11.15 10:11:32
- Script Purpose :
- :
- --]]
- function precast(Caster)
- if GetMount(Caster) > 0 then
- return false
- end
- return true
- end
- -- Info from spell_display_effects (remove from script when done)
- -- Summons mount
- -- Reduces maximum falling speed of caster.
- -- Increases your ground speed by 130%.
- function cast(Caster, Target, Amt)
- SetMount(Caster, 1369)
- AddSpellBonus(Caster, 611, Amt)
- AddControlEffect(Caster, 13)
- end
- function remove(Caster, Target)
- RemoveSpellBonus(Caster)
- RemoveControlEffect(Caster, 13)
- SetMount(Caster, 0)
- end
|