Extra MP gain & Expired pet patch
Fixed "extra MaxMP gain with INT accounting" being given to a leveled up character even when the flag USE_RANDOMIZE_HPMP_GAIN is set to false. Solved an issue with pets upon expiration, that would render the pet no longer being able to be unequipped until WoL applied.
This commit is contained in:
@@ -60,7 +60,6 @@ function action(mode, type, selection) {
|
||||
|
||||
switch(cm.getPlayer().getMapId()) {
|
||||
case 920010000:
|
||||
print(eim.getIntProperty("statusStg0"));
|
||||
if(eim.getIntProperty("statusStg0") != 1) {
|
||||
eim.warpEventTeamToMapSpawnPoint(920010000, 2);
|
||||
eim.giveEventPlayersExp(3500);
|
||||
|
||||
@@ -101,7 +101,7 @@ function end(mode, type, selection) {
|
||||
qm.evolvePet(i, after);
|
||||
// var petId = MaplePet.createPet(rand + 5000049, level, closeness, fullness);
|
||||
// if (petId == -1) return;
|
||||
// MapleInventoryManipulator.addById(qm.getClient(), rand+5000049, 1, null, petId);
|
||||
// MapleInventoryManipulator.addById(qm.getClient(), rand+5000049, 1, "", petId);
|
||||
} else
|
||||
qm.dropMessage(1,"Your inventory is full");
|
||||
qm.dispose();
|
||||
|
||||
Reference in New Issue
Block a user