elnelson
Lunaria World Dev
i looked this post: Monster - Training Dummy with DPS calculation (https://otland.net/threads/training-dummy-with-dps-calculation.263659/) and would see a nice addition if someone could help me build this script, to be honest i donot have an idea how to calculate this.
The main idea is to check how many damage (or heal) has be done in the last second (for example with a trainer or a boss).
Since TFS 0.4 doesnt have :
I was thinking if it was possible to be done via storages, i dunno, like using:
to save the damage done as a storage value in the last second and then show an animatedtext with the DPS (?)
Hope you guys could help me doing this
The main idea is to check how many damage (or heal) has be done in the last second (for example with a trainer or a boss).
Since TFS 0.4 doesnt have :
Lua:
function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)
Code:
function onStatsChange(cid, attacker, type, combat, value)
Hope you guys could help me doing this