Jump to content

Recommended Posts

Posted

Hello Ladies.i was at sea and come today to home. so i will continue my shares :P . so this is Mirage And Angelic Icon Skills Restriction for Paladin and TH.

If Character is Paladin or TH and equiped with bow these skills will dissapear.and effects will reload.Similarly you can restrict on tyrants and etc.

So Let's Start.

First Go here and Open

 

net.sf.l2j.gameserver.clientpackets.UseItem.java

 

Add to imports

 

import net.sf.l2j.gameserver.templates.L2WeaponType;

 

Find:

                {
                    if (activeChar._inEventCTF && activeChar._haveFlagCTF)
                    	activeChar.sendMessage("This item can not be equipped when you have the flag.");
                	return;
                }

 

Add after

 

				if (item.isEquipable() && item.getItemType() == L2WeaponType.BOW && activeChar.getClassId().getId() == 90)
			{
			int skill_id = 406;
				activeChar.stopSkillEffects(skill_id);
				activeChar.updateAbnormalEffect();
				activeChar.updateEffectIcons();
			}

			if (item.isEquipable() && item.getItemType() == L2WeaponType.BOW && activeChar.getClassId().getId() == 93)
			{
			int skill_id = 445;
				activeChar.stopSkillEffects(skill_id);
				activeChar.updateAbnormalEffect();
				activeChar.updateEffectIcons();
			}

 

Finish :) hope i help to someone

Posted

why do you want to stop it? it will not work anyway with bow

	<for>
		<effect name="Buff" time="60" val="0" stackOrder="#stackOrder" stackType="icon_buff">
			<mul order="0x30" stat="debuffVuln" val="0.6" />
			<mul order="0x30" stat="pDef" val="1.5" />
			<mul order="0x30" stat="mDef" val="1.5" />
			<add order="0x40" stat="accCombat" val="6">
				<using kind="Sword,Big Sword,Blunt,Big Blunt" />
			</add>
			<add order="0x40" stat="runSpd" val="#runSpd" />
			<mul order="0x30" stat="pAtkSpd" val="#pAtkSpd">
				<using kind="Sword,Big Sword,Blunt,Big Blunt" />
			</mul>
			<add order="0x40" stat="rCrit" val="#rCrit">
				<using kind="Sword,Big Sword" />
			</add>
			<mul order="0x30" stat="cAtk" val="#cAtk">
				<using kind="Blunt,Big Blunt" />
			</mul>
			<mul order="0x30" stat="cancelVuln" val="0.6" />
			<mul order="0x30" stat="gainHp" val="0.2" />
		</effect>
	</for>

Posted

why do you want to stop it? it will not work anyway with bow

	<for>
		<effect name="Buff" time="60" val="0" stackOrder="#stackOrder" stackType="icon_buff">
			<mul order="0x30" stat="debuffVuln" val="0.6" />
			<mul order="0x30" stat="pDef" val="1.5" />
			<mul order="0x30" stat="mDef" val="1.5" />
			<add order="0x40" stat="accCombat" val="6">
				<using kind="Sword,Big Sword,Blunt,Big Blunt" />
			</add>
			<add order="0x40" stat="runSpd" val="#runSpd" />
			<mul order="0x30" stat="pAtkSpd" val="#pAtkSpd">
				<using kind="Sword,Big Sword,Blunt,Big Blunt" />
			</mul>
			<add order="0x40" stat="rCrit" val="#rCrit">
				<using kind="Sword,Big Sword" />
			</add>
			<mul order="0x30" stat="cAtk" val="#cAtk">
				<using kind="Blunt,Big Blunt" />
			</mul>
			<mul order="0x30" stat="cancelVuln" val="0.6" />
			<mul order="0x30" stat="gainHp" val="0.2" />
		</effect>
	</for>

imagine he got karma for this..
  • 2 weeks later...
  • 4 weeks later...
Posted

GeoSky - double post... to this restriction i can say this: "its usefull and why? when you set this to dp side bonus as p.def, m.def stay with bow ;)"...

Posted

GeoSky - double post... to this restriction i can say this: "its usefull and why? when you set this to dp side bonus as p.def, m.def stay with bow ;)"...

LOOL Look Post Date Man. And I test it And Work On Interlude Server.  I make Is On My Server Und ALL It's OK ;)
Posted
Sky" post="1389199" timestamp="1285144379"]

LOOL Look Post Date Man. And I test it And Work On Interlude Server.  I make Is On My Server Und ALL It's OK ;)

 

See forum rules, why you dont edit your old post?? :D

  • 3 weeks later...
  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock