Skip to content
Snippets Groups Projects
Commit d4426459 authored by Zealar's avatar Zealar
Browse files

Fix Rune of Crystal refresh penalty.

Reported by: @Affinity90
parent 5047cba5
No related branches found
No related tags found
No related merge requests found
......@@ -52,12 +52,18 @@ public final class CrystalGradeModify extends AbstractEffect
if (player != null)
{
player.setExpertisePenaltyBonus(0);
player.refreshExpertisePenalty();
}
}
@Override
public void onStart(BuffInfo info)
{
info.getEffected().getActingPlayer().setExpertisePenaltyBonus(_grade);
final L2PcInstance player = info.getEffected().getActingPlayer();
if (player != null)
{
player.setExpertisePenaltyBonus(_grade);
player.refreshExpertisePenalty();
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment