Skip to content

[Help] Pi w/o healers

Featured Replies

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 :>

Προσπάθησα και έκανα να μην μπορούν να κάνουν 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)

 

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

  • Author

wreos re man thx kapios na klisi to topic

Locked.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.