Heal.java gone - help?
Posted: Thu Jun 18, 2009 8:17 am
Hello everyone,
I've been using this fix that someone contributed here on the forums
But now since Heal.java is gone, what should I do? Is there any way I could make this work, I need that heals skill won't heal raidbosses and grandbosses...
Thanks.
I've been using this fix that someone contributed here on the forums
Code: Select all
Index: java/net/sf/l2j/gameserver/handler/skillhandlers/Heal.java===================================================================--- java/net/sf/l2j/gameserver/handler/skillhandlers/Heal.java (revision 2123)+++ java/net/sf/l2j/gameserver/handler/skillhandlers/Heal.java (working copy)@@ -25,6 +25,7 @@ import net.sf.l2j.gameserver.model.actor.instance.L2DoorInstance; import net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;+import net.sf.l2j.gameserver.model.actor.instance.L2RaidBossInstance; import net.sf.l2j.gameserver.network.SystemMessageId; import net.sf.l2j.gameserver.serverpackets.StatusUpdate; import net.sf.l2j.gameserver.serverpackets.SystemMessage;@@ -142,6 +143,8 @@ // Healer proficiency (since CT1) hp *= activeChar.calcStat(Stats.HEAL_PROFICIENCY, 100, null, null) / 100; + if(target.isRaid())+ hp = 0; target.setCurrentHp(hp + target.getCurrentHp()); target.setLastHealAmount((int)hp); StatusUpdate su = new StatusUpdate(target.getObjectId());
Thanks.