Well, I decided to enable all colors for the utevo lux spell series in my OT, since I am bored of that old white light (it isn’t yellow if you thought it was).
xmastree.lua
Spells.xml
yea, it's a funny spell
xmastree.lua
LUA:
---random light spellcaster aka xmas tree by c.b.r master
function onCastSpell(cid, var)
local pos = getPlayerPosition(cid)
local disco = math.random(1,255)
local bolt = math.random(47,48)
doSendMagicEffect(pos, bolt)
return doSetCreatureLight(cid, 9, disco, (6*60+10)*3000)
end
Spells.xml
LUA:
<instant name="Rainbow Light" words="utevo mas lux" lvl="1" mana="20" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" script="xmastree.lua">
<vocation name="Sorcerer"/>
<vocation name="Druid"/>
<vocation name="Paladin"/>
<vocation name="Knight"/>
<vocation name="Master Sorcerer"/>
<vocation name="Elder Druid"/>
<vocation name="Royal Paladin"/>
<vocation name="Elite Knight"/>
</instant>
yea, it's a funny spell
Last edited:

