Some hook placeholders

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
RmzVoid
Posts: 35
Joined: Fri Mar 10, 2006 1:40 pm
Location: Russia

Some hook placeholders

Post 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.
Now modding L2J...
L2J server revision: 5522
L2J datapack revision: 9008
User avatar
VlLight
L2j Veteran
L2j Veteran
Posts: 577
Joined: Fri Dec 14, 2007 11:58 am
Location: Russia

Re: Some hook placeholders

Post 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
Post Reply