Jump to content
  • 0

Buffs On Mobs/rb/grand Rb


Question

Posted

hello, i using acis and yesterday i check raidbosses and i fucked up them with buffs :P and they become "terminator" :P so...any solution to don't allow players buff mobs and rb?

As i remmember i can do it with code, but i don't found anything and don't have enough knowledge. :)

5 answers to this question

Recommended Posts

  • 0
Posted

L2Character.java

 

find this

public void doCast(final L2Skill skill)

 

and after this

final L2Character activeChar = this;
 
use this
if(activeChar instanceof L2PcInstance && (target instanceof L2RaidBossInstance || target instanceof L2GrandBossInstance || target instanceof L2MonsterInstance) && (skill.getSkillType() == SkillType.BUFF))
{
sendPacket(ActionFailed.STATIC_PACKET);
return;
}
  • 0
Posted

You can add a check inside handler.skillshandlers.Continuous.java in case BUFF.

 

Like this.. (You can put and RB/Grand Boss).

 

else if (target instanceof L2MonsterInstance)
continue;
  • 0
Posted

 

You can add a check inside handler.skillshandlers.Continuous.java in case BUFF.

 

Like this.. (You can put and RB/Grand Boss).

else if (target instanceof L2MonsterInstance)
continue;

 

Thnx Vaggo it's work now perfect!

Guest
This topic is now closed to further replies.


×
×
  • Create New...