• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Needed: Manarune for TFS 1.1

Hashirama479

World of Ninja
Joined
Dec 19, 2016
Messages
536
Solutions
6
Reaction score
74
Somehow I cant find a manarune script for tfs 1.1... can someone give me a manarune script for tfs 1.1? xD ( 9.86 ) - How the manarune should work? Simple

It should add always 300.000 MANA and mlvl 10 needed xD
 
Solution
Doesnt work xD, error:
48d94374bc8698483158da8998cbe365.png

https://gyazo.com/48d94374bc8698483158da8998cbe365
Code:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    player:addMana(math.random(20000, 50000) * (player:getMagicLevel() * 10))
    player:getPosition():sendMagicEffect(CONST_ME_MAGIC_BLUE)
    return true
end
Looks it good atm? XDD
Code:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
doSendMagicEffect(topos, 14)
player:addMana(200000)
toPosition:sendMagicEffect(CONST_ME_POFF)
end
return true
end
end
 
function onUse(player, item, fromPosition, target, toPosition, isHotkey) doPlayerAddMana(cid,300000) and getPlayerMagLevel(cid,10) return true end

Does not work xD

function onUse(player, item, fromPosition, target, toPosition, isHotkey) player:addMana(math.random(20000, 50000) * (player:getMagicLevel() * 10)) player:getPosition():sendMagicEffect(CONST_ME_MAGIC_BLUE) return true end

works, thx xD.. other question: I tried the mr it seems like its working but for some reasons it doesnt show the heal ( yes I did put yes on EmoteSpells ) and the script sends somehow "Poof" effect for some reasons xD
 
Back
Top