Jump to content
  • 0

[HELP] Mana Potions


Janza46

Question

8 answers to this question

Recommended Posts

  • 0

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?

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0
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.

Link to comment
Share on other sites

  • 0

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

 

Link to comment
Share on other sites

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

    • Hello if anyone is looking for interlude server with free bot, no P2W and uniques features I can recommend freshly opened https://l2romans.com/features/, great server for chilling and having fun with friends casually. Everyone is welcomed
    • So excited to announce 3x Telegram Premium (6 months)   Join our official TG and participate to win!   Asocks.com - trusted proxy service providing mobile and residential proxies with a single price of $3 per 1GB   A huge locations pool and high speed will help complete all tasks    
    • Well, sorry not sorry for resurrecting old topic, but I believe it's ultimately stupid to implement license checks like Vilmis did 🙂   private static String url = "jdbc:mysql://185.80.128.233/" + getData("Zm9ydW1fZGI="); private static String username = getData("bXJjb3B5cmlnaHQ="); private static String password = getData("Y29weXJpZ2h0XzEyMw=="); con = GlobalDB.getInstance().getConnection(); PreparedStatement statement; statement = con.prepareStatement("SELECT field_6 from core_pfields_content WHERE member_id = ?"); statement.setInt(1, Config.FORUM_USER_ID); ResultSet rset = statement.executeQuery();   This awesome way of coding things leaves us with base64-encoded credentials and DB exposed and accessible globally 😉 Btw he checks his licensing data from some plugin generated table his forum uses. Vilmis took action and ensured that mrcopyright user would have only needed accesses and rights for this operation. But he forgot to ensure that his INFORMATION_SCHEMA database would not be exposed and readable... That leads us to fully readable server variables like version used (10.1.26-MariaDB-0+deb9u1 - pretty ancient DB and OS, I'd assume). From here you can go south and do some kinky stuff, if you want and have knowledge for that. But who cares, right?   Ooh, table core_pfields_content field_6 is IP address which is checked by FORUM_USER_ID. Yep, you can query all IP addresses there (124 of them right now) and also do whatever you want with them! 🙂  The most fun part? Files source has been shared what, more than 2 years ago?  Vilmis still uses very same credentials and never changed it after sources exposure - who cares. Although, "sources" may be way too strong word here. If anyone still use paid Orion versions, I'd suggest packing your shit and leaving immediately, or at least fix this incompetent fool caused problems. It's obvious Vilmis don't care or maybe doesn't even know from the first place how to solve this problem (hint hint - tiny PHP Rest API microservice which would do absolutely the same but without exposing sensitive data?). By doing that, he exposes his infrastructure and YOUR data, and he does that for more than 2 years now 🙂 Developer of century!    
    • rename the l2.bin into l2.exe
  • Topics

×
×
  • Create New...