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

TFS 1.X+ TFS 1.5 Nekiro Downgrade Creature Spells Not Killing Creature Bug

iNux

Intermediate OT User
Joined
Jan 19, 2019
Messages
214
Reaction score
111
Hello,

While working on implementing various old real Tibia functions into Nekiro Downgrade TFS 1.5 GitHub - nekiro/TFS-1.5-Downgrades at 8.0 (https://github.com/nekiro/TFS-1.5-Downgrades/tree/8.0), I stumbled upon a critical issue affecting gameplay. I discovered that creatures that cast spells, such as dragons casting GFBs or fire waves, are not causing damage to the creatures around them. Could someone refer me to the function that handles this?



The Issue, TFS 1.5 Nekiro Downgrade:



Real Tibia Behaviour:

 
Solution
Solution
Check Combat::canDoCombat

These conditions seems kid of odd to me, check this on runtime with debugger (maybe in newer versions things have different behavior, can't tell)


Thank you so much. I managed to solve the issue by simply removing that condition. Currently, I'm attempting to locate the function responsible for managing experience gain. I want to implement an experience gain effect similar to what you see in the RealOTS video.

In Real Tibia, when a creature kills another creature (excluding summons), the killer creature should receive experience points
 
Back
Top