Turn Off Buff After Unequip...

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
urbanhack
Posts: 32
Joined: Mon Sep 07, 2009 9:25 pm

Turn Off Buff After Unequip...

Post by urbanhack »

hello guys.. i have a problem...
maybe some1 can help me because i search but.. i cant resolve....
anyway...
some skills requiere some specific weapon for use... for example
tyrant totems.. requiere fists, dual fists, rapid shot, rapid fire requiere bow weapons...
then... the problem is:
when u disarm/unequip weapon that skill dont remove from buff bar (need turn off skill after unequip)
can u understand me? sorry for my bad english.

[Class skills buffs should remove after unequipping weapon. For example Tyrant class buffs totems (Bear totem, Rabbit etc) should be removed after unequiping fists, rapid shot from HE too]

how i can fix it?
some idea?
some link to trac/time line?
tx for read
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Turn Off Buff After Unequip...

Post by MELERIX »

nope, in retail they are not removed if you unequip the weapon :P

but effect (the stats) is only applied if you have the right weapon ;)
GunsNRoses
Posts: 9
Joined: Tue Jun 09, 2009 7:32 am

Re: Turn Off Buff After Unequip...

Post by GunsNRoses »

Unbanhack think this for Interlude.

Try this, but I dont test it:

Code: Select all

 // remove effects which doesn't match weapon type (but not party buffs)                if (item.getItem().getType2() == L2Item.TYPE2_WEAPON)                checkIfWeaponIsAllowed();  
Last edited by GunsNRoses on Fri Oct 23, 2009 2:46 pm, edited 1 time in total.
urbanhack
Posts: 32
Joined: Mon Sep 07, 2009 9:25 pm

Re: Turn Off Buff After Unequip...

Post by urbanhack »

MELERIX wrote:nope, in retail they are not removed if you unequip the weapon :P

but effect (the stats) is only applied if you have the right weapon ;)
ok for replye ;)

but.. for example.. vengance Skill.. need a shield for use, then... u put the shield, use the skill, remove shield.. and can still using this skill

of course: Interlude
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Turn Off Buff After Unequip...

Post by MELERIX »

urbanhack wrote:ok for replye ;)

but.. for example.. vengance Skill.. need a shield for use, then... u put the shield, use the skill, remove shield.. and can still using this skill

of course: Interlude
Yes, coz the shield is only required to cast the skill only.
urbanhack
Posts: 32
Joined: Mon Sep 07, 2009 9:25 pm

Re: Turn Off Buff After Unequip...

Post by urbanhack »

but.. if i use ultimate defence.. then equip a bow... i can hit whit a bow + UD...
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Turn Off Buff After Unequip...

Post by MELERIX »

yes, you can attack with UD ;)

here is two pictures of Vengeance

Vengeance + Shield
Image

Vengeance without Shield
Image

As you see in the pictures, same stats with & without shield, the shield is only requiered to cast the skill.
urbanhack
Posts: 32
Joined: Mon Sep 07, 2009 9:25 pm

Re: Turn Off Buff After Unequip...

Post by urbanhack »

ok, its true.
tx for help me ;)
Post Reply