mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
17 lines
No EOL
800 B
Lua
Executable file
17 lines
No EOL
800 B
Lua
Executable file
-- Effects extracted from item_effects table:
|
|
-- When any damage is received this spell will cast Magma Burn on target's attacker.
|
|
-- Inflicts 1 heat damage on target
|
|
-- Increases Out-of-Combat Health Regeneration of caster by 10.0
|
|
|
|
function cast(Item, Player)
|
|
Spell = GetSpell(5462, 1, "Spells/Commoner/HomemadeMealGeneric.lua")
|
|
SetSpellData(Spell, "name", "Magma Fish Reduction")
|
|
SetSpellData(Spell, "description", "")
|
|
newDuration = 18000.0
|
|
SetSpellData(Spell, "duration1", newDuration)
|
|
SetSpellData(Spell, "duration2", newDuration)
|
|
Regen = 10.0
|
|
SetSpellDataIndex(Spell, 0, Regen)
|
|
SetSpellDisplayEffect(Spell, 0, "description", "Increases Out-of-Combat Health Regeneration of target by " .. Regen)
|
|
CastCustomSpell(Spell, Player, Player)
|
|
end |