Jump to content
  • 0

[Mana]-[Skills]


Question

Posted

hi guys i made server and i have 2 problem

1)Mana potion dont work...can any1 help me?

2)self buff problem it keep over 1 hour what i must do to fix it?>

6 answers to this question

Recommended Posts

  • 0
Posted

1. edit potions.java into net.sf.l2j/com.l2jfree/gameserver.handler.itemhandlers.Potions;

 

and add mana pots .. (check how the other skills are and u will find how) or check if there is a config to enable it from gs configs

 

2. i dont understand what you  mean , be more specific ...

 

// plus you are in wrong section , you should post into dev help section

  • 0
Posted

1 like mafia said u must set it has true (if i dont have bad memory)

 

+ if u want to change the cuantity of mana potion restore:

 

Go to Gameserver/Data/stats/skills

 

and open with notepad the

 

2000-2099.xml File

 

Find Somewhere This

Code:

 

<skill id="2005" levels="1" name="Pollen">

  <set name="power" val="200.0"/>

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

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

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

  <set name="castRange" val="-1"/>

  <set name="effectRange" val="-1"/>

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

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

 

Change From 200.0 To The value u want

 

Save It , //reload skills

 

 

2 To change to buff time (if that is what u mind)

You have to find the buffs (skills) ID...Then you must go: server\gameserver\data\stats\skills

and find the skills that you want by their IDs...The you can change their duration at the following lines:

 

<effect count="1" name="Buff" time="30" val="0">

      <sub order="0x40" stat="maxMp" val="#Tab-maxMp"/>

    </effect>

 

At the yellow one you must put the time that you want in minutes

 

bb

 

  • 0
Posted

Well , About The Mana Pots

 

It Depends From The Pack.. F.E

 

There is a Config In L2JFree CT1.5 +

 

Packs That Says Allow Mana Pots =

 

You Just Set It To True..

 

Nothing More...

 

No Java No xml.. ;)

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