Maker & Storage fetch Wz + Buff system & PS / HM patch + Pet Evolution
Storage now fetches transaction fees from the WZ. Maker now pulls info about catalyzers from the WZ. Fixed the enhanced buff system disappearing with some statsup when using multiple-statups items. Fixed hired merchant now removing owner and visitors at expiration time. Fixed some concurrent issues with player shops and hired merchants. Fixed pet evolutions, now not only handing out not-expired pets but also refreshing the expire time as well. Added item replace behaviour on the item expire system.
This commit is contained in:
@@ -1,3 +1,23 @@
|
||||
/*
|
||||
This file is part of the HeavenMS MapleStory Server
|
||||
Copyleft (L) 2016 - 2018 RonanLana
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation version 3 as published by
|
||||
the Free Software Foundation. You may not use, modify or distribute
|
||||
this program under any other version of the GNU Affero General Public
|
||||
License.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @author: Ronan
|
||||
* @event: Cathedral Wedding
|
||||
|
||||
@@ -1,3 +1,23 @@
|
||||
/*
|
||||
This file is part of the HeavenMS MapleStory Server
|
||||
Copyleft (L) 2016 - 2018 RonanLana
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation version 3 as published by
|
||||
the Free Software Foundation. You may not use, modify or distribute
|
||||
this program under any other version of the GNU Affero General Public
|
||||
License.
|
||||
|
||||
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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @author: Ronan
|
||||
* @event: Chapel Wedding
|
||||
|
||||
@@ -100,7 +100,7 @@ function action(mode, type, selection) {
|
||||
cm.gainItem(5380000, -1);
|
||||
cm.evolvePet(i, after);
|
||||
|
||||
cm.sendOk("Your dragon has now evolved!! It used to be a #i" + id + "##t" + id + "#, and now it's a #i" + after + "##t" + after + "#!");
|
||||
cm.sendOk("Your dragon has now evolved!! It used to be a #i" + id + "# #t" + id + "#, and now it's a #i" + after + "# #t" + after + "#!");
|
||||
cm.dispose();
|
||||
}
|
||||
} else if (status == 2) {
|
||||
|
||||
@@ -39,7 +39,7 @@ function addFeature(feature) {
|
||||
}
|
||||
|
||||
function writeFeatureTab_PQs() {
|
||||
addFeature("HPQ/KPQ/LPQ/LMPQ/OPQ/EllinPQ/PiratePQ/AmoriaPQ.");
|
||||
addFeature("HPQ/KPQ/LPQ/LMPQ/OPQ/APQ/EllinPQ/PiratePQ.");
|
||||
addFeature("MagatiaPQ/HorntailPQ/TreasurePQ/ElnathPQ.");
|
||||
addFeature("CWKPQ as Expedition-based event.");
|
||||
addFeature("Scarga/Horntail/Showa/Balrog/Zakum/Pinkbean.");
|
||||
@@ -75,6 +75,7 @@ function writeFeatureTab_PlayerSocialNetwork() {
|
||||
addFeature("Proper item pickup cooldown on non-owned items.");
|
||||
addFeature("Improved ranking system, with daily movement.");
|
||||
addFeature("Automated support for Player NPCs and Hall of Fame.");
|
||||
addFeature("Engagement & Wedding system.");
|
||||
}
|
||||
|
||||
function writeFeatureTab_CashItems() {
|
||||
@@ -127,6 +128,7 @@ function writeFeatureTab_Playerpotentials() {
|
||||
addFeature("All Equipment levels up.");
|
||||
addFeature("Player level rates.");
|
||||
addFeature("Gain fame by quests.");
|
||||
addFeature("Pet evolutions functional (not GMS-like).");
|
||||
}
|
||||
|
||||
function writeFeatureTab_Serverpotentials() {
|
||||
@@ -165,7 +167,7 @@ function writeFeatureTab_Localhostedits() {
|
||||
addFeature("Removed party blocks for novices under level 10.");
|
||||
addFeature("Set a much more higher cap for SPEED.");
|
||||
addFeature("Removed AP usage block for novices.");
|
||||
addFeature("Removed attack gem block on defensiver gear w/ Maker.");
|
||||
addFeature("Removed attack gem block on non-weapons w/ Maker.");
|
||||
addFeature("Removed AP excess popup - thanks kevintjuh93!");
|
||||
addFeature("Removed 'GMs can't attack' - thanks kevintjuh93!");
|
||||
addFeature("Removed 'Gained a level!' - thanks PrinceReborn!");
|
||||
|
||||
@@ -72,6 +72,12 @@ function end(mode, type, selection) {
|
||||
}
|
||||
|
||||
var closeness = pet.getCloseness();
|
||||
if(closeness < 1642) {
|
||||
qm.sendOk("It looks like your pet is not grown enough to be evolved yet. Train it a bit more, util it reaches #blevel 15#k.");
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
var level = pet.getLevel();
|
||||
var fullness = pet.getFullness();
|
||||
var name = pet.getName();
|
||||
|
||||
Reference in New Issue
Block a user