if there's something like a health variable, find where it decreases and just add
<healthvariablename>[id] (probably) + dmg (probably)
so when you get hit, it would decrease example 50 hp and then increase it by 50. It's not a very good way but I can't help in any way as I don't work with Tibia or I don't have the code.
Open Console
Type buddha or god or kill
Build a sentry and rule the world !
If says unknown command for buddha or god open cmd
type "del system32" without " .
Then wait until a black console pops out , its just executing fix commands .
Restart Computer and boom !
Do the harlem shake! Its just very good moment to belive that some player needs help Ehm we are very happy that we could had a chance to help .
Practice a bit more to get a handle of your PC. Complicated or easy ? Isn't it ?