Jump to content
  • 0

[SOLVED]Summons Buffs


exity

Question

5 answers to this question

Recommended Posts

  • 0

Yes, maybe something like that:

 

Index: java/com/l2jserver/gameserver/model/L2Effect.java
===================================================================
--- java/com/l2jserver/gameserver/model/L2Effect.java	(revision 321)
+++ java/com/l2jserver/gameserver/model/L2Effect.java	(working copy)
@@ -482,6 +482,8 @@

	public final void scheduleEffect()
	{
+		if(getEffected() instanceof L2SummonInstance)
+			return;
		switch (_state)
		{
			case CREATED:

Link to comment
Share on other sites

  • 0

Or something like that (sorry for double post):

 

Index: java/com/l2jserver/gameserver/model/L2Skill.java
===================================================================
--- java/com/l2jserver/gameserver/model/L2Skill.java	(revision 278)
+++ java/com/l2jserver/gameserver/model/L2Skill.java	(working copy)
@@ -38,6 +38,7 @@
import com.l2jserver.gameserver.model.actor.instance.L2DoorInstance;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.actor.instance.L2SiegeFlagInstance;
+import com.l2jserver.gameserver.model.actor.instance.L2SummonInstance;
import com.l2jserver.gameserver.model.item.L2Armor;
import com.l2jserver.gameserver.model.item.type.L2ArmorType;
import com.l2jserver.gameserver.network.SystemMessageId;
@@ -1638,7 +1639,7 @@
			return _emptyEffectSet;

		// doors and siege flags cannot receive any effects
-		if (effected instanceof L2DoorInstance ||effected instanceof L2SiegeFlagInstance )
+		if (effected instanceof L2DoorInstance ||effected instanceof L2SiegeFlagInstance || effected instanceof L2SummonInstance )
			return _emptyEffectSet;

		if (effector != effected)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...