• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua Players and monsters move too fast

Can you tell me where is the file I can change monsters base speed and attack damage? Or maybe there is a code part to change those values globally (for all monsters eg. -10% dmg). I think not many people test monsters speed and damage on lvl 8 with default eq. Most servers have high exp rate. For players with higher lvl difference of monsters dmg and speed is almost unnoticable. I'm not sure it's true but in my opinion real tibia monsters has different speed and dmg values.
 
Last edited:
changing them globally would either be an onHealthChange and return damage*0.90 and secondarydamage * 0.90 or in sources
you'd have to change each individual monster xml file for base speed, unless you want to bother using a globalevent or adding an onSpawn creature event and change base speed when it spawns every time
but you should test it with a clean datapack to make sure it's not a source bug (it shouldn't be)
 
Thanks for your answer Xeraphus.

Where I can find "onHealthChange"?

I'm not sure but maybe it's purposely made change to make gameplay more dynamic. As I said it's not a huge difference but on low level you don't feel like you play real tibia .2-3 rotworms can smash you easily and it's almost impossible to keep distance from them! They used to be one of the slowest monsters in game.

I checked pure tfs data and in my opinion there is the same problem.
 
Last edited:
I'm not sure I understand this correctly. I should change damage value in creatureevent.cpp. Then shall I compile tfs again or its not necessary, and every monsters damage will be changed?
Could you show me how this part of c++ code should looks like to reduce monsters damage? I would be very grateful if you help me with this.
 
Back
Top