L2JMobius

The Kamael HP Potion gives 0 HP/CP

AnsS · 1 · 5214

Offline AnsS

  • Heir
  • **
    • Posts: 37
Hi all,

The standard HP potion adding 0 HP/CP - ID: 91912

It uses the following skill:
Code: [Select]
<skill id="50151" level="1" /> <!-- HP Potion -->
Skill:

Code: [Select]
<effects>
<effect name="HpCpHeal">
<amount>50</amount>
<mode>DIFF</mode>
</effect>
</effects>

I have checked the effect handler (HpCpHeal.java), its reading power, not amount parameter.
Code: [Select]
public HpCpHeal(StatSet params)
{
    _power = params.getDouble("power", 0);
}

So the fix is change amount to power.