• 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!

MoveEvent Training Square

Well, on my old Server Mystic Spirit 0.2.5 it worked.
But on my new Server: TFS 0.3.6pl1 it doesn't work....
Mabye a command isn't working in the newer version and must be changed with another?
Please look

EDIT:
Have it. Thanks very nice :)
 
Last edited:
yea

change
PHP:
doPlayerAddSpentMana(p.cid, manaspent)
doTargetCombatMana(0, p.cid, -manaspent, -manaspent, CONST_ME_NONE)

to
PHP:
if getPlayerMana(p.cid) == getPlayerMaxMana(p.cid) then
    doPlayerAddSpentMana(p.cid, manaspent)
    doTargetCombatMana(0, p.cid, -manaspent, -manaspent, CONST_ME_NONE)
end

Dont work for me :/

But i dont know why but only add one space and work full.

At:
end
manaspent = getPlayerMana(p.cid)
doPlayerAddSpentMana(p.cid, manaspent)
doTargetCombatMana(0, p.cid, -manaspent, -manaspent, CONST_ME_NONE)

Only add space like this:
end

manaspent = getPlayerMana(p.cid)
doPlayerAddSpentMana(p.cid, manaspent)
doTargetCombatMana(0, p.cid, -manaspent, -manaspent, CONST_ME_NONE)

It rlly work, sorry for my bad english.
 
Last edited:
Back
Top