Maker-oriented commit

Implemented the multiple features of the Maker skill (equip disassembly, leftover merging into monster crystal and item crafting).
Updated the DB with the Maker data featured on the WZ.
Added a new table for the strenghtening reagents gain data (compiled with the MapleSkillMakerReagentIndexer).
Fixed quests that improves the Maker skill level and some other Maker-related quests.
This commit is contained in:
ronancpl
2017-11-24 14:00:48 -02:00
parent 4dd2764776
commit 3b30244239
87 changed files with 8424 additions and 18509 deletions

View File

@@ -5887,14 +5887,23 @@ public class MaplePacketCreator {
return mplew.getPacket();
}
public static byte[] showMakerEffect() {
public static byte[] showMakerEffect(boolean makerSucceeded) {
final MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
mplew.writeShort(SendOpcode.SHOW_ITEM_GAIN_INCHAT.getValue());
mplew.write(16);
mplew.writeInt(0);
mplew.writeInt(makerSucceeded ? 0 : 1);
return mplew.getPacket();
}
public static byte[] showForeignMakerEffect(int cid, boolean makerSucceeded) {
final MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
mplew.writeShort(SendOpcode.SHOW_FOREIGN_EFFECT.getValue());
mplew.writeInt(cid);
mplew.write(16);
mplew.writeInt(makerSucceeded ? 0 : 1);
return mplew.getPacket();
}
public static byte[] showForeignEffect(int effect) {
return showForeignEffect(-1, effect);
}

View File

@@ -66,7 +66,7 @@ public enum MonitoredLockType {
MAP_OBJS(37),
MAP_FACTORY(38),
MAP_ITEM(39),
MAP_BOUNDS(41),
MAP_BOUNDS(40),
MINIDUNGEON(41),
REACTOR(42);