Jump to content
  • 0

[Help] Pi w/o healers


Question

Posted

kalispera se olous psaxno gia ena code pou dn epitrepi na kanoun teleport i bishop k genika i healers sto primival isle to eixa di se enan server auto kai m arese iparxi kanena etimo paromio code ? an nai post edw thx :>

3 answers to this question

Recommended Posts

  • 0
Posted

Προσπάθησα και έκανα να μην μπορούν να κάνουν heal γενικά σε pvp zone.

 

### Eclipse Workspace Patch 1.0
#P aCis_gameserver
Index: java/net/sf/l2j/gameserver/handler/skillhandlers/Heal.java
===================================================================
--- java/net/sf/l2j/gameserver/handler/skillhandlers/Heal.java	(revision 5)
+++ java/net/sf/l2j/gameserver/handler/skillhandlers/Heal.java	(working copy)
@@ -39,6 +39,8 @@
		L2SkillType.HEAL_STATIC
	};

+	public static final byte ZONE_PVP = 0;

	@Override
	public void useSkill(L2Character activeChar, L2Skill skill, L2Object[] targets)
	{
@@ -98,7 +100,7 @@
				continue;

			final L2Character target = ((L2Character) obj);
-			if (target.isDead() || target.isInvul())
+			if (target.isDead() || target.isInvul() || target.isInsideZone(ZONE_PVP))
				continue;

			if (target instanceof L2DoorInstance || target instanceof L2SiegeFlagInstance)

 

Ελπίζω να σε βοήθησα!

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..