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

Compiling Exhaustion of healing spells

Ashtar

ShadowRealm.online
Joined
May 1, 2009
Messages
312
Reaction score
102
Hello guys i would like my healing spells to work under the same exhaust than the attack spells like in tibi a7.60 (so people can spam healing and attack spells at time), i know is something on the game.cpp, is there anyway to edit this code in tfs 9.60?!
 
Its actually spells.cpp. Replacing this:
Code:
else if(player->hasCondition(CONDITION_EXHAUST, (isAggressive ? EXHAUST_SPELLGROUP_ATTACK : EXHAUST_SPELLGROUP_HEALING)))
with that:
Code:
else if(player->hasCondition(CONDITION_EXHAUST, EXHAUST_SPELLGROUP_ATTACK) || player->hasCondition(CONDITION_EXHAUST, EXHAUST_SPELLGROUP_HEALING))
should be enough
 
Back
Top