Peonso
Godly Member
- Joined
- Jan 14, 2008
- Messages
- 1,788
- Solutions
- 30
- Reaction score
- 1,592
I want to apply @Jo3Bingham fix to TFS poison bug (https://github.com/otland/forgottenserver/issues/1372#issuecomment-130429221), but since I'm not proficient in C++ I'm in doubt on how to handle it correctly.
Would that do the job? Adding this code at that line?
https://github.com/otland/forgotten...69cc5c941869fe5c2b27c903f/src/combat.cpp#L528
Would that do the job? Adding this code at that line?
https://github.com/otland/forgotten...69cc5c941869fe5c2b27c903f/src/combat.cpp#L528
Code:
if ((g_game.combatChangeHealth(caster, target, damage)) == 0) {
return false;
}