• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Action Magic level scroll

here is a simple magic level script, adds more then 1 magic level

Lua:
function onUse(cid, item, frompos, item2, topos) 

if item.itemid == 8304 then 

rand = math.random(1,1) 

if rand == 1 then 
doPlayerAddSpentMana(cid, 4100000) 
doRemoveItem(item.uid,1) 
doSendMagicEffect(frompos, 28) 
doSendAnimatedText(getPlayerPosition(cid), "Magic Up!", TEXTCOLOR_BLUE)

end 
end 
return 1 
end

  • Works for all vocations
  • For knights after magic level 12 takes 2-3 of them to get a magic level and i believe it stops at 17.
 
if you really want to post your scripts (which you haven't made) go make your own thread.
 
here is a simple magic level script, adds more then 1 magic level

Lua:
function onUse(cid, item, frompos, item2, topos) 

if item.itemid == 8304 then 

rand = math.random(1,1) 

if rand == 1 then 
doPlayerAddSpentMana(cid, 4100000) 
doRemoveItem(item.uid,1) 
doSendMagicEffect(frompos, 28) 
doSendAnimatedText(getPlayerPosition(cid), "Magic Up!", TEXTCOLOR_BLUE)

end 
end 
return 1 
end

  • Works for all vocations
  • For knights after magic level 12 takes 2-3 of them to get a magic level and i believe it stops at 17.

Lua:
rand = math.random(1,1) 
 
if rand == 1 then
this part rocks! :D
 
if you really want to post your scripts (which you haven't made) go make your own thread.

was simply sharing this 1 incase people want it to give more then 1 magic level, cause a script that only gives 1 is pretty silly since all you have to do is /attr name here, magic, 1
 
Back
Top