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

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Why not just query the database? No need for a server side mod if its not going too much into detail.
    • 08-19-2025 - OUR TOPIC IS RELEVANT! CONTACT US BY THE CONTACTS BELOW
    • I figured as much ahaha! But keep in mind that this is purely for personal enjoyment and non profitable. I'm even considering getting a big boy PC just to run this!   Anyway, I kinda made progress. Created a "ApiServer.java" file to expose some classes and added it to the "ServerPackets.java" file. Sadly now it's gonna be a pain in the arse to study all the classes...
    • Our project is looking for new suppliers and partners! — Snapchat accounts — Reddit accounts with karma — LinkedIn accounts with connections Message us in DM / support — we’ll discuss the terms! We are always open to other partnership offers as well. Our online store assortment: ➡Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, email accounts (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡Premium subscriptions: Telegram Premium, Twitter Premium X, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡Additional services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPN (Outline, WireGuard, others), VDS/RDP servers 10% - 20% Discount OR $1 BONUS for your registration If you want to receive a $1 BONUS for your registration OR a 10% - 20% DISCOUNT on your first purchase, you can leave a comment: "SEND ME BONUS, MY USERNAME IS..." You can also use a promo code for your first purchase in all our stores: "SOCNET" (15% discount!) SMM Panel services: Use our SMM Panel for boosting Facebook, Instagram, Telegram, Spotify, Soundcloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, Reddit, website traffic, TikTok, Trust Pilot, Apple Music, Tripadvisor, Snapchat, and other digital products. Get $1 for your first SMM Panel trial launch: Just create a ticket with the subject “Get Trial Bonus” on our website (Support) ➡Go to SMM Panel (clickable) or via support in the bot Our key products: ➡Online Store: Click ➡Telegram Shop Bot: Click ➡SMM Panel: Click Payment: bank cards · cryptocurrency · other popular methods Regular customers receive additional discounts and promo codes! Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n ➡ Discord: socnet_support ➡ Discord Server: https://discord.gg/y9AStFFsrh ➡ ✉ Email: solomonbog@socnet.store Through these contacts you can also: — consult about wholesale purchases — establish a partnership (current partners: https://socnet.bgng.io/partners ) — become our supplier SocNet — digital goods and premium subscriptions 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