mirror of
https://github.com/otland/forgottenserver
synced 2026-08-15 16:32:07 -04:00
* Move runes to dedicated folder * Redirect old XML and lib folder to new location * Drop unused custom spells
19 lines
513 B
Lua
19 lines
513 B
Lua
local conjureRune = Spell(SPELL_INSTANT)
|
|
|
|
function conjureRune.onCastSpell(creature, variant)
|
|
return creature:conjureItem(2260, 2275, 25)
|
|
end
|
|
|
|
conjureRune:name("Test")
|
|
conjureRune:id(221)
|
|
conjureRune:words("adori mas test")
|
|
conjureRune:level(30)
|
|
conjureRune:mana(530)
|
|
conjureRune:group("support")
|
|
conjureRune:soul(3)
|
|
conjureRune:isAggressive(false)
|
|
conjureRune:cooldown(2000)
|
|
conjureRune:groupCooldown(2000)
|
|
conjureRune:needLearn(false)
|
|
conjureRune:vocation("sorcerer", "master sorcerer")
|
|
conjureRune:register()
|