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

    • ElmoreLab Harbor - Eternal C1 x1: ✅ https://harbor.elmorelab.com ElmoreLab Harbor - Eternal C1 x1 - is an exclusive server of the Eternal C1 chronicles from the top project ElmoreLab Harbor.   A unique server of its kind, on which everyone will have maximum pleasure, such as oldschool players who dream of nostalgia and to feel the warmest and classic C1 chronicles, as well as experienced players who are tired of thousands unbalanced servers of late chronicles. Due to the professional corrections of the balance system and the HONEST gameplay system - on this server, EVERY player will feel like in their own, warm and cozy Harbor C1. Let's return to the origins of L2 - back to 2004 in C1! ❤️   ⭐ Server characteristics:   STRICTLY 1 window, NO BOXES Bans for RMT and bots/cheats No donations with benefits Unique and high-quality PTS-build from Master Toma Professional corrections and full class-balance Reworked economy and closed all abuses Improved animations and all aspects of the game Exclusive HD-client with high-quality textures Experienced administration and management Fixed all bugs, geodata, exploits and holes Maximum sociality due to the 1-box system Discovering, exploring and researching Big online International server Nostalgia and oldschool-feelings   Rates: x1 Server start: 14.02.2025   The server is at the final stages of development and preparation for release. Information on the server will be updated, soon the patchnotes and changes/edits will be posted. Don't miss the legendary and epic experience on the best server in the last 20 years! ❤️ Join our C1-forum with a lot of information about server and active discussions.   ⭐ Website: https://harbor.elmorelab.com   ✅ Forum: https://forum-harbor.elmorelab.com   💥 Telegram: https://t.me/l2harbor https://t.me/l2harbor_chat   ⚡ Discord: https://discord.gg/harborelmorelab
    • yeah ok, if you say what is fuctional 100% i can't say something different 😛  but if someone find hard to compile it or get vs and all that things i have here one more simple way here to put overlay in your own server or to change your window name with few money.
    • I've been using this for 2 years now with no issues from Discord. I don't use ogg.dll either. This one works with any l2.exe too; I don’t see any difference between them.
    • hmm.. ok i just see that, is different code first of all. My sources is totally different based in other way, with else libraries.  I have access to modify everything even to make the clock to stop show how many time users play in server. 1) so maybe keep some personal info more hide. 2) i dont use ogg.dll 3) i create it and give it ready + support to install it. Plus what is mine can working with what ever .exe you want not just l2 with same simple method. And i am sure if you try this source to compile it, after 3 hours discord will like shadowban your API too thats my source
  • Topics

×
×
  • Create New...