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

Spells exhaust reset after death

zapo

Member
Joined
Nov 10, 2020
Messages
129
Solutions
3
Reaction score
11
Spells exhaust reset after death.
When I die, all spell cooldowns reset.
I use otservbr.
 
remove condition cleanup in death function, after remove this you keep poison, fire energy etc status after death, you can check every single condition and remove only what you want


or here

 
remove condition cleanup in death function, after remove this you keep poison, fire energy etc status after death, you can check every single condition and remove only what you want


or here

You are right, will you help me find what exactly to remove so that the spell cooldowns do not remove only
Post automatically merged:

I have something like this but not work
Lua:
if (it != "CONDITION_SPELLCOOLDOWN"){
                condition->endCondition(this);
                onEndCondition(condition->getType());
                delete condition;
                }
 
Last edited:
Back
Top