Jump to content

Recommended Posts

Posted

geia sas ...nomizw pos 8a to xriastoun polla atoma ego to exo testari kai douleuei apsoga, einai eukolo kai apotelesmatiko

 

Loipon pate sto com.l2jserver.gameserver.model.Elementals.java ;

 

An 8elete gia paradigma na valete (p.x limit 80 ) 8a to kanete etsi

 

/*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
* 
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
* 
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.gameserver.model;

import com.l2jserver.Config;
import com.l2jserver.gameserver.model.actor.L2Character;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.skills.Stats;
import com.l2jserver.gameserver.skills.funcs.FuncAdd;
import com.l2jserver.gameserver.skills.funcs.LambdaConst;

public final class Elementals
{
private ElementalStatBoni _boni = null;
public final static byte NONE = -1;
public final static byte FIRE = 0;
public final static byte WATER = 1;
public final static byte WIND = 2;
public final static byte EARTH = 3;
public final static byte HOLY = 4;
public final static byte DARK = 5;

public final static int ENCHANT_CHANCE = Config.ENCHANT_CHANCE_ELEMENT;

public final static int FIRST_WEAPON_BONUS = 20;
public final static int NEXT_WEAPON_BONUS = 5;
public final static int ARMOR_BONUS = 6;

public final static int[] WEAPON_VALUES =
{
	0,  // Level 1
	25, // Level 2
	75, // Level 3
+		80, // Level 4
+		80, // Level 5
+		80, // Level 6
+		80, // Level 7
+		80, // Level 8
+		80, // Level 9
+		80, // Level 10
+		80, // Level 11
+		80, // Level 12
+		80, // Level 13
	Integer.MAX_VALUE  // TODO: Higher stones
};

public final static int[] ARMOR_VALUES =
{
	0,  // Level 1
	12, // Level 2
	30, // Level 3
	60, // Level 4
+		80, // Level 5
+		80, // Level 6
+		80, // Level 7
+		80, // Level 8
+		80, // Level 9
+		80, // Level 10
+		80, // Level 11
+		80, // Level 12
+		80, // Level 13
	Integer.MAX_VALUE  // TODO: Higher stones
};

 

Credit ME

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Tool that allows you to download the Lineage 2 game client directly from the official publisher CDNs. It fetches the CDN's file list and downloads every patch file, decompresses it (LZMA / Zip) and writes the finished client to disk — and can resume or repair an existing installation instead of starting over. It runs several client downloads at once through a batch queue, so you can prepare multiple regions or versions in a single session.   Supported: NCSoft CDNs (TW / KR / JP / NA) and  4game CDNs(RU / EU)   Download: https://drive.google.com/file/d/11SDcNASqO2GKOBT79LFu7mqvSRSJZvBS
    • https://l2avokado.com/ Hello everyone,   After some time of development, we've decided to open L2Avokado to the public in its current development stage. We're looking for players who enjoy Interlude and would like to help shape the project before its official release.   This isn't a "launch" announcement. Instead, we're inviting the community to log in, explore the server, test the systems we've built, and provide honest feedback. Whether it's bug reports, balance suggestions, progression ideas, or quality-of-life improvements, we'd love to hear them.   Our goal has always been to create an Interlude server that feels familiar while offering a fresh progression experience. We've intentionally avoided custom weapons, armor, and client modifications. Instead, we've focused on redesigning progression through reworked hunting grounds, quests, crafting, and gameplay systems while remaining compatible with a clean Interlude client.   At this stage, the core progression path has been implemented, including the main hunting grounds, quests, custom systems, and events. However, as the project is still under active development, there will inevitably be bugs, balance issues, and areas that require further polishing.   This is exactly why we'd like your help.   We're looking for players who are willing to: Test gameplay and progression. Report bugs and exploits. Suggest balance improvements. Share ideas for new features or quality-of-life changes. Help us build a server that the community genuinely enjoys playing.   The Client and System downloads are already available on our website, so you can jump straight into the game. We're also working on a dedicated launcher that will simplify installation and future updates.   If you're interested in helping develop a unique Interlude project and want your feedback to genuinely influence the direction of the server, we'd love to have you with us.   We look forward to seeing you in-game and hearing your thoughts on Discord. https://l2avokado.com/
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..