Page 1 of 1

Some hook placeholders

Posted: Thu Nov 15, 2012 6:03 am
by RmzVoid
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.

Re: Some hook placeholders

Posted: Thu Nov 15, 2012 8:23 am
by VlLight
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