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.


  • Posts

    • I buy Interface.u and compiler protocol 311 classic 
    • This document provides a structured and reproducible methodology for installing and running Lineage II on macOS using Lineage II through CrossOver.   The purpose of this guideline is to present a clear, technically sound procedure that allows macOS users to execute a Windows-native Lineage 2.   1. System Requirements 2.1 Hardware Mac with Intel or Apple Silicon (M1/M2/M3) Minimum 8 GB RAM (16 GB recommended)   2. Methodology 2.1 Installation of CrossOver Download CrossOver from the official CodeWeavers website. Install it via standard macOS installation procedure. Launch CrossOver and ensure it is updated to the latest build 2.2 Bottle Configuration In CrossOver terminology, a Bottle represents an isolated Windows environment. Click “Create a New Bottle.” Select: Windows 10 (recommended) Name the bottle: Lineage2 Wait for initialization to complete. Recommended Bottle Settings: Enable DXVK Enable High-Resolution Mode Install additional components if needed (you will be prompted): DirectX Visual C++ Redistributables (2015–2022) 2.3 Installing Lineage II Client Download the client: link In CrossOver: Open the Lineage2 bottle. Click Install Application → Select Installer. Choose the downloaded setup.exe. Follow standard Windows installation procedure.   In the end you will be able to utilize lineage 2 on MacOS  
    • L2 COVEN - ANIMATED BORDER   L2 LUNARIS - ANIMATED BORDER   L2 NOW - ANIMATED BORDER   L2 EUPHORIA - ANIMATED BORDER   L2 ECLIPSE - ANIMATED BANNERS     L2 NOOBWARS - ANIMATED BANNERS     L2 WARBORNE - COMMUNITY BOARD    
    • I ended up sorting a similar mess by working with a team that handled everything from discovery to launch and kept things super clear. Their business website design approach made it easy for me to get a site that actually fit my goals, plus I kept full ownership of everything. The long-term support and simple pricing structure saved me a ton of headaches down the road.
    • Online card acquiring for high-risk hosting projects We provide reliable payment processing for hosting platforms operating in high-risk sectors, including adult content and similar industries. Available payment methods: • Visa / Mastercard  • American Express (AMEX)  • Apple Pay / Google Pay We have strong experience processing payments from U.S. customers.  Fast onboarding with minimal docs.   https://laucharge.com/creditcard   Telegram: @Laucharge_Support  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..