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.



×
×
  • Create New...