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

Condition rooted

Joined
Mar 14, 2020
Messages
139
Solutions
3
Reaction score
11
Last edited:
I'm trying to get this new contiditon: rooted from this commit: Rooted Condition (#2376) · opentibiabr/otservbr-global@6fbcef4 (https://github.com/opentibiabr/otservbr-global/commit/6fbcef420316fb4d73e668630636925c5008c495)

Its almost 100%, the message "You are rooted" is appearing and the icon too, but the player isn't getting rooted.

No error in distro.
No error when compiling.
Post automatically merged:

bump
You can always use to slow player by 100%
Lua:
local speed = Condition(CONDITION_HASTE)
speed:setParameter(CONDITION_PARAM_TICKS, 3000)
speed:setFormula(-1, 0, -1, 0)

:D
Check creature.h how is stopEventWalk writed in you sources and post it here
 
You can always use to slow player by 100%
Lua:
local speed = Condition(CONDITION_HASTE)
speed:setParameter(CONDITION_PARAM_TICKS, 3000)
speed:setFormula(-1, 0, -1, 0)

:D
Check creature.h how is stopEventWalk writed in you sources and post it here
Nice, this is my stopWalk in creature.h:

1616669886398.png

How can i do this if (getSpeed() <= 0 or getCondition(CONDITION_ROOT) ?

In my creature.cpp:

1616676141247.png

But ins't working. Even if i put the slow (the minimum speed is 5)
 
Last edited:
Back
Top