Jump to content
  • 0

[HELP] Mana Potions


Question

8 answers to this question

Recommended Posts

  • 0
Posted

I do not have that XML file and I am running Gracia Final. However the potions are working. How can the potions be working when I don't have the XML file?

 

Also, in my config files I do not have an option to remove Raid Curse. How do I remove the Raid Curse if it is not in any of my config file?

  • 0
Posted

I do not have that XML file and I am running Gracia Final. However the potions are working. How can the potions be working when I don't have the XML file?

- Maybe its because..You didn't search properly ? ^^

Besides a part of it is Core Side.

About the Raid Curse you have to remove it from the Source I guess.Find L2RaidBoss Istance

  • 0
Posted
package com.l2jfree.gameserver.model.actor.instance;

import com.l2jfree.gameserver.instancemanager.RaidBossSpawnManager;
import com.l2jfree.gameserver.model.L2Boss;
import com.l2jfree.gameserver.model.L2Character;
import com.l2jfree.gameserver.templates.chars.L2NpcTemplate;

/**
* This class manages all RaidBoss. 
* In a group mob, there are one master called RaidBoss and several slaves called Minions.
* 
* @version $Revision: 1.20.4.6 $ $Date: 2005/04/06 16:13:39 $
*/
public final class L2RaidBossInstance extends L2Boss
{
    /**
     * Constructor of L2RaidBossInstance (use L2Character and L2NpcInstance constructor).<BR><BR>
     *  
     * <B><U> Actions</U> :</B><BR><BR>
     * <li>Call the L2Character constructor to set the _template of the L2RaidBossInstance (copy skills from template to object and link _calculators to NPC_STD_CALCULATOR) </li>
     * <li>Set the name of the L2RaidBossInstance</li>
     * <li>Create a RandomAnimation Task that will be launched after the calculated delay if the server allow it </li><BR><BR>
     * 
     * @param objectId Identifier of the object to initialized
     * @param L2NpcTemplate Template to apply to the NPC
     */
    public L2RaidBossInstance(int objectId, L2NpcTemplate template)
    {
        super(objectId, template);
    }

    @Override
    public boolean doDie(L2Character killer)
    {
        if (!super.doDie(killer))
            return false;

        RaidBossSpawnManager.getInstance().updateStatus(this, true);
        return true;
    }

    @Override
    public void onSpawn()
    {
        setIsRaid(true);
        super.onSpawn();
    }
}

That is my L2RaidBoss Instances file. I see nothing here about Raid Curse.

  • 0
Posted

Then it should be on L2PcInstance onAction;

Edit your post and remove all that, you're just occupying a LOT of space which is annoying, please remove it ^^

  • 0
Posted

if u r using gracia then make new .xml file and name it 9000-9099.xml. if u have it open it with an xml editor and add this

 

<?xml version="1.0" encoding="UTF-8"?>

<list>

<skill id="9007" levels="1" name="Custom Mana Drug">

  <set name="itemConsumeId" val="726"/>

  <set name="itemConsumeCount" val="1"/>

  <set name="buffDuration" val="15000"/>

  <set name="isPotion" val="true"/>

  <set name="magicLvl" val="1"/>

  <set name="operateType" val="OP_ACTIVE"/>

  <set name="skillType" val="MPHOT"/>

  <set name="target" val="TARGET_SELF"/>

  <cond msgId="113" addName="1">

    <player flyMounted="False"/>

  </cond>

  <for>

    <effect count="3" name="ManaHealOverTime" time="5" val="1.5" stackOrder="1.5" stackType="mp_recover"/>

  </for>

</skill>

<skill id="9008" levels="1" name="Custom Mana Potion">

  <set name="itemConsumeId" val="728"/>

  <set name="itemConsumeCount" val="1"/>

  <set name="isPotion" val="true"/>

  <set name="magicLvl" val="1"/>

  <set name="operateType" val="OP_ACTIVE"/>

  <set name="power" val="500"/>        ----------> this is where u put how much to recharge(now is 500)

  <set name="skillType" val="MANAHEAL"/>

  <set name="target" val="TARGET_SELF"/>

  <cond msgId="113" addName="1">

    <player flyMounted="False"/>

  </cond>

</skill>

</list>

 

and about raid curse u dont need to remove it.u get the curse cuz u r 8 level or more higher than him...

go to \GameServer\config\NPC and find this lines (this is for gracia final.....nut is the same for other clients i think ;)  )

 

# Disable Raid Curse if raid more than 8 levels lower.

# Caution: drop will be reduced or even absent if DeepBlue drop rules enabled.

# Default: False

DisableRaidCurse = false  -------> change this to true

 

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


  • Posts

    • OpenCV bot working for all l2 clients... but need special set for each server
    • Use l2tower for free, or try adrenaline. @Alex K.
    • 🎁 Double the Impact, Half the Cost! from 25/10/2025 until 25/12/2025 Buy or Renew your Donation Panel now and save 50% because supporting others should reward you too. 💡 Use code BLACKFRIDAY at checkout! https://hopzone.eu/store/product/26-donate-panel-v5/   About Donate Panel v5 PAYMENT IN EASY 5 STEPS Login with your character name. Select the donation service (Paypal Stripe Payeer MercadoPago 🆕). Select the amount of payment. Pay. 😎 Automatically recieve the reward ingame (and yes) while he is online! 🤯 PAYMENT METHODS Paypal Stripe accepts credit cards, debit cards, ACH transfers, Apple Pay, Google Pay, Microsoft Pay, and various local payment methods from around the world. Payeer accepts BTC, LTC, ETH, DASH, BCH, USD, EUR, RUB wallets MercadoPago accepts ARS, BRL, CLP, MXN, COP, PEN, UYU. PROTECTION Full SSL website (can be forced by htaccess) XSS Protection just in case. Remove vulnerability headers in htaccess level Session Validation COOKIE, POST, GET global inputs are sanitized SQL Injection protection Query String protetion Prepared statements of PDO driver (no sql injection there) Google Invisible Captcha v3 (NEW) Last but not least security through obscurity SEO & PUBLIC MANAGEMENT SEO Friendly urls (in htaccess level) Google Analytics and GTAG Code ready. Terms of use ready to go Refund policy ready to go Contact All the TERMS text are showing config dynamic item images/text with server's name and more OPTIMIZATION AND SPEED Zip Content (faster load) Memory save (unloading global vars) Using CDN’s for bootstrap Scripts are loaded in footer Images are soft to max 10kb Small and smart organized code style FUNCTIONALITIES Multilanguage (4 languages so far) EN ES NL EL (Easy to add more) Payment methods Paypal, Stripe, Payeer and MercadoPago After payment or cancel the user is redirected back to “Thank you” page. TECHNOLOGIES Bootstrap 5x CSS PHP 5.6+ (for l2off) and PHP 7.4+ (for java) Extensions for php: MySQL (L2Java), pdo_dblib(L2OFF), pdo_sqlsrv(L2OFF), mssql_connect (L2OFF) and PDO Drivers that support MariaDB, MySQL, MsSQL. SYSTEMS Stripe and MercadoPago supports sandbox and live. Detailed and seperated Logs (ERROR, DEVELOPER, INFO, WARNING, PAYMENT) for website and Rest APIs. Detailed Log in database for Payments and services used. Google Analytics (You know when players are in the panel and if they pay) Google Captcha V3 Dynamic Icons to show according your Donate Item ID Multiple servers L2OFF or L2JAVA servers can be added together as server network     BE AWARE: Leaked versions of old v2 panels (year 2018 with bugs) are still out sold by scammers without support or knowledge of the files.
    • I work with Kenrix and he is a  next level coder. Hugely Recommended.
    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • 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