123456789101112131415161718192021222324252627282930 |
- --[[
- Script Name : Spells/Commoner/Maj'dulEnchantedCarpet.lua
- Script Author : Skywalker646
- Script Date : 2020.04.25 08:04:41
- Script Purpose :
- :
- --]]
- function precast(Caster)
- if GetMount(Caster) > 0 then
- return false
- end
- return true
- end
- function cast(Caster, Target, Speed)
- -- Summons a mount
- SetMount(Caster, 18243)
- --Increases your ground speed by 130%
- AddSpellBonus(Caster, 611, Speed)
- end
- function remove(Caster, Target)
- SetMount(Caster, 0)
- RemoveSpellBonus(Caster)
- RemoveSkillBonus(Caster)
- end
|