- Joined
- Jun 17, 2008
- Messages
- 46
- Reaction score
- 0
In MapleStatEffect.java Find
Replace it with
What this does is basically disable the hp healing effect on a certain map.
Code:
if (hpchange != 0) {
if (hpchange < 0 && (-hpchange) > applyto.getHp()) {
return false;
}
applyto.setHp(applyto.getHp() + hpchange);
hpmpupdate.add(new Pair<MapleStat, Integer>(MapleStat.HP, Integer.valueOf(applyto.getHp())));
}
Replace it with
Code:
if (applyto.getMapId() != yourpvpmapid) {
if (hpchange != 0) {
if (hpchange < 0 && (-hpchange) > applyto.getHp()) {
return false;
}
applyto.setHp(applyto.getHp() + hpchange);
hpmpupdate.add(new Pair<MapleStat, Integer>(MapleStat.HP, Integer.valueOf(applyto.getHp())));
}
}
What this does is basically disable the hp healing effect on a certain map.