I want to know where in code i can trace player's
incoming damage (with attacker)
incoming manadamage
incoming debuff landed
incoming heal occurence with actually healed amount
incoming mana recharge occurence with recharged amount
incoming buff landed
Thx for assitance.
Some hook placeholders
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- RmzVoid
- Posts: 35
- Joined: Fri Mar 10, 2006 1:40 pm
- Location: Russia
Some hook placeholders
Now modding L2J...
L2J server revision: 5522
L2J datapack revision: 9008
L2J server revision: 5522
L2J datapack revision: 9008
- VlLight
- L2j Veteran
- Posts: 577
- Joined: Fri Dec 14, 2007 11:58 am
- Location: Russia
Re: Some hook placeholders
For damage you can review logging system: just search sources for keyword "LOG_GAME_DAMAGE".
Also, you can check L2PcInstance.reduceCurrentHP() method
Heal, mana damage and mana recharge occurences can be checked in corresponding skillhandlers: Heal, HealPercent, Manadam, ManaHeal
Buff / debuff - L2Character.callSkill(), or CharEffectList.addEffectFromQueue()... I'm not sure
Also, you can check L2PcInstance.reduceCurrentHP() method
Heal, mana damage and mana recharge occurences can be checked in corresponding skillhandlers: Heal, HealPercent, Manadam, ManaHeal
Buff / debuff - L2Character.callSkill(), or CharEffectList.addEffectFromQueue()... I'm not sure