Fix spelling in PinkBeanBattle Script (#82)

This commit is contained in:
Alex-0000
2017-09-11 16:10:57 -04:00
committed by ronancpl
parent f387d589b2
commit 6abbc2947e
2 changed files with 18 additions and 18 deletions

20
.gitignore vendored
View File

@@ -2,15 +2,15 @@
.idea/ .idea/
# Netbeans project files # Netbeans project files
nbproject nbproject/
tools/MapleCouponInstaller/nbproject tools/MapleCouponInstaller/nbproject/
tools/MapleIdRetriever/nbproject tools/MapleIdRetriever/nbproject/
tools/MobBookIndexer/nbproject tools/MobBookIndexer/nbproject/
tools/MobBookUpdate/nbproject tools/MobBookUpdate/nbproject/
# build files # build files
build build/
tools/MapleCouponInstaller/build tools/MapleCouponInstaller/build/
tools/MapleIdRetriever/build tools/MapleIdRetriever/build/
tools/MobBookIndexer/build tools/MobBookIndexer/build/
tools/MobBookUpdate/build tools/MobBookUpdate/build/

View File

@@ -109,12 +109,12 @@ function scheduledTimeout(eim) {
function changedMap(eim, player, mapid) { function changedMap(eim, player, mapid) {
if (mapid < minMapId || mapid > maxMapId) { if (mapid < minMapId || mapid > maxMapId) {
if (eim.isEventTeamLackingNow(true, minPlayers, player)) { if (eim.isEventTeamLackingNow(true, minPlayers, player)) {
eim.dropMessage(5, "[Expedition] Either the leader has quitted the event or there is no longer the minimum number of members required to continue this event."); eim.dropMessage(5, "[Expedition] Either the leader has quit the expedition or there is no longer the minimum number of members required to continue this expedition.");
eim.unregisterPlayer(player); eim.unregisterPlayer(player);
end(eim); end(eim);
} }
else { else {
eim.dropMessage(5, "[Expedition] " + player.getName() + " has left the event."); eim.dropMessage(5, "[Expedition] " + player.getName() + " has left the expedition.");
eim.unregisterPlayer(player); eim.unregisterPlayer(player);
} }
} }
@@ -129,12 +129,12 @@ function playerDead(eim, player) {
eim.setIntProperty("fallenPlayers", count); eim.setIntProperty("fallenPlayers", count);
if(count == 5) { if(count == 5) {
eim.dropMessage(5, "[Expedition] Too much players have fallen, Pink Bean is now deemed undefeatable, the expedition is over."); eim.dropMessage(5, "[Expedition] Too many players have fallen, Pink Bean is now deemed undefeatable; the expedition is over.");
end(eim); end(eim);
} else if(count == 4) { } else if(count == 4) {
eim.dropMessage(5, "[Expedition] Pink Bean is glowing stronger than ever, last stand mode everyone!"); eim.dropMessage(5, "[Expedition] Pink Bean is growing stronger than ever, last stand mode everyone!");
} else if(count == 3) { } else if(count == 3) {
eim.dropMessage(5, "[Expedition] Casualty count is starting to get out of control. Take care folks."); eim.dropMessage(5, "[Expedition] Casualty count is starting to get out of control. Battle with care.");
} }
} }
@@ -144,12 +144,12 @@ function playerRevive(eim, player) {
function playerDisconnected(eim, player) { function playerDisconnected(eim, player) {
if (eim.isEventTeamLackingNow(true, minPlayers, player)) { if (eim.isEventTeamLackingNow(true, minPlayers, player)) {
eim.dropMessage(5, "[Expedition] Either the leader has quitted the event or there is no longer the minimum number of members required to continue this event."); eim.dropMessage(5, "[Expedition] Either the leader has quit the expedition or there is no longer the minimum number of members required to continue this expedition.");
eim.unregisterPlayer(player); eim.unregisterPlayer(player);
end(eim); end(eim);
} }
else { else {
eim.dropMessage(5, "[Expedition] " + player.getName() + " has left the event."); eim.dropMessage(5, "[Expedition] " + player.getName() + " has left the expedition.");
eim.unregisterPlayer(player); eim.unregisterPlayer(player);
} }
} }
@@ -235,7 +235,7 @@ function monsterKilled(mob, eim) {
mapObj.spawnItemDrop(dropper, dropper, itemObj, reactObj.getPosition(), true, true); mapObj.spawnItemDrop(dropper, dropper, itemObj, reactObj.getPosition(), true, true);
eim.dropMessage(6, "With the last of his guardians' fall, Pink Bean loses his invulnerability. The real fight starts now!"); eim.dropMessage(6, "With the last of its guardians fallen, Pink Bean loses its invulnerability. The real fight starts now!");
} else { } else {
stage++; stage++;
eim.setIntProperty("stage", stage); eim.setIntProperty("stage", stage);