Experimental Character/Client Closure + Morph & Crash skills patch
Player Trade is now enabled inside PQ & events. Refactored minigame code, now using enums rather than strings for logistics. Fixed Transformations not applying stat buffs properly. Warrior's Crash skills now acts accordingly with their description (rather than applying all combined debuffs). Added a server flag for Crash skills, to apply mob immunity debuffs as well. Fixed Shark Wave not stacking charges. Dragon Roar now properly stuns the mobs (stun effect won't show up, though). Refactored empty method on MapleCharacter, now freeing more resources. [EXPERIMENTAL] Upon lifetime's end of the object, empty function will be called alongside MapleClient's clear, should issues arise from that, it's TBD.
This commit is contained in:
48
src/constants/CharsetConstants.java
Normal file
48
src/constants/CharsetConstants.java
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
package constants;
|
||||
|
||||
/*
|
||||
* Courtesy of GabrielSin (gabrielsin@playellin.net)
|
||||
* Ellin
|
||||
* MapleStory Server
|
||||
* CharsetConstants
|
||||
*/
|
||||
|
||||
public class CharsetConstants {
|
||||
|
||||
public static MapleLanguageType MAPLE_TYPE = MapleLanguageType.LANGUAGE_PT_BR;
|
||||
|
||||
public enum MapleLanguageType {
|
||||
LANGUAGE_PT_BR(1, "ISO-8859-1"),
|
||||
LANGUAGE_US(2, "US-ASCII");
|
||||
final byte type;
|
||||
final String ascii;
|
||||
|
||||
private MapleLanguageType(int type, String ascii) {
|
||||
this.type = (byte) type;
|
||||
this.ascii = ascii;
|
||||
}
|
||||
|
||||
public String getAscii() {
|
||||
return ascii;
|
||||
}
|
||||
|
||||
public byte getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public static MapleLanguageType getByType(byte type) {
|
||||
for (MapleLanguageType l : MapleLanguageType.values()) {
|
||||
if (l.getType() == type) {
|
||||
return l;
|
||||
}
|
||||
}
|
||||
return LANGUAGE_PT_BR;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -140,6 +140,7 @@ public class ServerConstants {
|
||||
|
||||
//Other Skills Configuration
|
||||
public static final boolean USE_FAST_REUSE_HERO_WILL = true;//Greatly reduce cooldown on Hero's Will.
|
||||
public static final boolean USE_ANTI_IMMUNITY_CRASH = true; //Crash skills additionally removes the mob's invincibility buffs.
|
||||
|
||||
//Character Configuration
|
||||
public static final boolean USE_ADD_SLOTS_BY_LEVEL = true; //Slots are added each 20 levels.
|
||||
|
||||
@@ -38,4 +38,5 @@ public class ThunderBreaker {
|
||||
public static final int TRANSFORMATION = 15111002;
|
||||
public static final int SPEED_INFUSION = 15111005;
|
||||
public static final int SPARK = 15111006;
|
||||
public static final int SHARK_WAVE = 15111007;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user