• 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 never ends if player stands over magic field

tiothiago

New Member
Joined
Jan 8, 2020
Messages
25
Reaction score
2
Hello guys, i have a problem: i want to make magic fields work as old tibia. In this case, old energy fields, for example, would hit 30 when stepped in plus 25 after 10s... after that the condition ends regardless if the player is still over the field. But in OtservBr and in TFS 1.4+ the condition that deals 25 afters 10s keeps being add to the player while he stands over thefield.... how do I change that? I've already tried to do this work in lua but there's way too many problems that turns out to be impossible... it has to be done in the .cpp files. Any ideas? Thanks in advance :)
 
Last edited:
Solution
was supposed to hit 25 once then end.
no, standing in energy u keep getting hit in old tibia. it never ends until u step out, that's when last 25 dmg comes. standing still in other elements the dmg does count down. but gl anyways if u wanna change it:)

It also happens with every magic field (poison, energy and fire).

Where exactly in .cpp files do I need to go to change that behavior?


1642790193785.png

It was supposed to hit 25 once then end.
1642790408266.png
 
was supposed to hit 25 once then end.
no, standing in energy u keep getting hit in old tibia. it never ends until u step out, that's when last 25 dmg comes. standing still in other elements the dmg does count down. but gl anyways if u wanna change it:)
 
Solution
Can you link a video ?

Attention to the player Grim Avatar (north) he will step once in the energy field taking 30 damage followed by 2 hits of 25 each 10s which means that the condition was renewed while he was standing over the energy.

Same thing for the players south, they keep getting hit by the fire field while standing over them. Player Death Su steps once in a fire field and get like 9x hits of 10, which is greater then the max 7x hits of 10 meaning that, again, the condition was renewed while he was standing over the fire field.

I dont know why I thought it was wrong to be that way, I remember I was playing Kingdom Swap and there it didnt followed what is in the video. I guess their system is wrong somehow.
 
Last edited:
@kay probably can confirm it.
no, standing in energy u keep getting hit in old tibia. it never ends until u step out, that's when last 25 dmg comes. standing still in other elements the dmg does count down. but gl anyways if u wanna change it:)
Correct, but other conditions (fire, poison) wouldn't end either, not just energy. Poison kept dealing 1 dmg as in the last tick, fire 10 and energy 25.
 
Back
Top