Jump to content
  • 0

Buffs On Mobs/rb/grand Rb


rullezz

Question

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. :)

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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;
}
Link to comment
Share on other sites

  • 0

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;
Link to comment
Share on other sites

  • 0

 

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!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...