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

New Vocation Ninja

Nice :) About the first spell, do you always end up on the square you cast the spell? Otherwise you might be able to travel through walls with it if there are monsters on the other side? :p
Well actually, i have not thougt about it. But maybe something onSight function would fix it.

You return to your oldPos.
 
Last edited:
Player may disappear between trees and can run above roofs :D
 
Maybe, but you are fcking Ninja :p
local config = {
fromPosition = {x = 995, y = 1004, z = 7}, -- top left cornor of the ground
toPosition = {x = 1006, y = 1008, z = 7}, -- bottom right cornor of the ground
}

local fromp, top = config.fromPosition, config.toPosition

function onThink(interval, lastExecution, thinkInterval)

for x = fromp.x, top.x do
for y = fromp.y, top.y do
for z = fromp.z, top.z do
areapos = {x = x, y = y, z = z, stackpos = 253}
getPlayers = getThingfromPos(areapos)
for _, name in ipairs(getOnlinePlayers()) do
local cid = getPlayerByName(name)
if isPlayer(getPlayers.uid) then
if(getPlayerVocation(cid) == 2) then --- Number of vocation
doSendMagicEffect(getPlayerPosition(cid), 63)
doSendMagicEffect(getPlayerPosition(cid), 61)
doSendMagicEffect(getPlayerPosition(cid), 2)
doSendAnimatedText(getPlayerPosition(cid), "Ninja!", TEXTCOLOR_RED)
doChangeSpeed(cid, 1000) --- Speed
end
end
end
end
end
end
return true
end
<globalevent name="ninja" interval="1" event="script" value="ninja.lua"/>
this may help but the problem when player leave place his speed still [1000]
 
Last edited:
New attack

nEKfQCG5.gif
 
Hehe :P Any other spell ideas?
 
New sneak up attack, You go invisible for couple seconds. When you select a target, then you jump behind the target(If not enough of room, you will jump on the target and teleport back to your old position) and deal bonus damage!

C9kyGonr.gif
 
Haha I love everything so far, no great idea myself yet except that invisible could be without the shimmer to make the character truly invis on the screen, not from battlelogg etc. Im having trouble myself making it for the normal invisible spell. ^^

One idea could be to create a copy of the ninja so you either are 2 for a small period of time or to get invis/teleport away a few squares to survive a hard situation.

Kind Regards,
Eldin.

PS: I will hang myself if I can't get the hands on the Ninja and the spells once you are done.
 
Haha I love everything so far, no great idea myself yet except that invisible could be without the shimmer to make the character truly invis on the screen, not from battlelogg etc. Im having trouble myself making it for the normal invisible spell. ^^

One idea could be to create a copy of the ninja so you either are 2 for a small period of time or to get invis/teleport away a few squares to survive a hard situation.

Kind Regards,
Eldin.

PS: I will hang myself if I can't get the hands on the Ninja and the spells once you are done.
The ghost mode use outfit 0, which cause the shimmer effect. But the only way is to create new outfit in the dat and make it nothing. I think i had it like that on my pokemon server :P But if you ask me, it shall not matter. Since they cannot see you, you're the only one who see that and also GM's.
 
But everyone see the shimmer on you on their screen aswell? :)

Possible to make the shimmer bring an effect once each 60 sec instead of frequently?
Its however awesome :D

Kind Regards,
Eldin.
 
Back
Top