How to make custom pk protection
Posted: Wed Sep 02, 2009 11:14 pm
So i tried to create something like this : If a player gets karma in a X zone he will be punished with a paralyze..
Well i got all ,files etc,but i can't resolve getKarma(); function ;/
Any suggestions?
Here's what i got till now :
in l2arenazone.java
any ideas?
thanks :]
Well i got all ,files etc,but i can't resolve getKarma(); function ;/
Any suggestions?
Here's what i got till now :
in l2arenazone.java
Code: Select all
@Override protected void onEnter(L2Character character) { character.setInsideZone(L2Character.ZONE_PVP, true); if (getKarma() > 0) { punishments blabla }
thanks :]