Jump to content

Recommended Posts

Posted

SoulShots, sprintshots, B.Shots.. you cannot use them while  paralyzed.

 

Here is a diff file to fix it.

 

Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/SoulShots.java
===================================================================
--- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/SoulShots.java (revision 12)
+++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/SoulShots.java (revision 115)
@@ -24,4 +24,5 @@
import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance;
import net.sf.l2j.gameserver.network.SystemMessageId;
+import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;
import net.sf.l2j.gameserver.network.serverpackets.ExAutoSoulShot;
import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUser;
@@ -61,4 +62,10 @@
            if(!activeChar.getAutoSoulShot().containsKey(itemId))
                activeChar.sendPacket(new SystemMessage(SystemMessageId.CANNOT_USE_SOULSHOTS));
+			return;
+		}
+		if (activeChar.isParalyzed())
+		{
+			activeChar.sendMessage("You Cannot Use Soulshots While You Are Paralyzed!");
+			activeChar.sendPacket(new ActionFailed());
			return;
		}
Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/SpiritShot.java
===================================================================
--- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/SpiritShot.java (revision 12)
+++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/SpiritShot.java (revision 115)
@@ -24,4 +24,5 @@
import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance;
import net.sf.l2j.gameserver.network.SystemMessageId;
+import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;
import net.sf.l2j.gameserver.network.serverpackets.ExAutoSoulShot;
import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUser;
@@ -66,4 +67,11 @@
        if (weaponInst.getChargedSpiritshot() != L2ItemInstance.CHARGED_NONE) return;

+        if (activeChar.isParalyzed())
+        {
+        	activeChar.sendMessage("You Cannot Use Spirishots While You Are Paralyzed!");
+        	activeChar.sendPacket(new ActionFailed());
+        	return;
+        }
+        
        // Check for correct grade
        int weaponGrade = weaponItem.getCrystalType();
Index: /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/BlessedSpiritShot.java
===================================================================
--- /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/BlessedSpiritShot.java (revision 12)
+++ /trunk/Eclipse-Game/java/net/sf/l2j/gameserver/handler/itemhandlers/BlessedSpiritShot.java (revision 115)
@@ -24,4 +24,5 @@
import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance;
import net.sf.l2j.gameserver.network.SystemMessageId;
+import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;
import net.sf.l2j.gameserver.network.serverpackets.ExAutoSoulShot;
import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUser;
@@ -60,4 +61,10 @@
			activeChar.sendPacket(sm);
			sm = null;
+        	return;
+        }
+        if (activeChar.isParalyzed())
+        {
+        	activeChar.sendMessage("You Cannot Use Blessed Spirishots While You Are Paralyzed!");
+        	activeChar.sendPacket(new ActionFailed());
        	return;
        }

 

Credits: ŚyśţęmƒяәдҚς

Posted

thanx for leeching my code. and thanx for adding your credits instead of mine.

rly thanx!

 

( btw , dont forget to dekarma me for saying the truth huh. )

Posted

Huh ? i haven't leach anything. I have made this code i don't care about others. Tell me is so hard to do it. And if check it is not 100% The same

i mean the patch.. Jeezus ! NABS

 

Yes, you have added an almost useless return.

Don't try to lie, you've done it before.

And you did it with other codes too, me and intre gave the proofs.

 

But, oh god, what should we expect from a leecher.

Next time you'll try to leech, make sure that you won't leech anybody from here.

 

Goodbye.

Posted

Yes, you have added an almost useless return.

Don't try to lie, you've done it before.

And you did it with other codes too, me and intre gave the proofs.

 

But, oh god, what should we expect from a leecher.

Next time you'll try to leech, make sure that you won't leech anybody from here.

 

Goodbye.

This patch is from my Private Project, and i made it. I Have not idea if Hardcode had it too.

Posted

This patch is from my Private Project.

 

Well, what I see is Hardcode's codes, made in a diff file.

And hardcode was made before you start l2jint.

Posted

Well, what I see is Hardcode's codes, made in a diff file.

And hardcode was made before you start l2jint.

This is not from L2JInt. This is from my private project, i am working with a team is named L2JEclipse as you see in the patch. !

 

EDIT: Find one leech i did, check my shares 10000 times. If you see one leech from other forums / project ( If i really leeched, not if i made it by myself and is already somewhere else ( i don't care )). If i did, i will leave MxC by myself and i will share my acc.

Posted

This is not from L2JInt. This is from my private project, i am working with a team is named L2JEclipse as you see in the patch. !

 

I talked about int, since it was made before eclipse.. I suppose.

But still, HC is older.

 

Anyway, I won't stay here to discuss which project is older, I will just wait to see actions..

Posted

I talked about int, since it was made before eclipse.. I suppose.

But still, HC is older.

 

Anyway, I won't stay here to discuss which project is older, I will just wait to see actions..

pfff i don't care about Intrepid, who he think he is. . and who you think he is.

Posted

pfff i don't care about Intrepid, who he think he is. . and who you think he is.

 

he talk about l2jinterlude...your project not about me...learn to read fail

Guest
This topic is now closed to further replies.
×
×
  • Create New...