summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-11-02 21:48:10 -0300
committerJesusaves <cpntb1@ymail.com>2020-11-02 21:48:10 -0300
commit1f3f9fffc7d9ce7b8e9f3dae7a34132d1ce5395c (patch)
tree3601a6fab2724c62decb6b4e6e94bc76bf8cc82a /world/map/npc
parenta18dea93021fbde5cd5a98a23baac9f5b23b5878 (diff)
downloadserverdata-1f3f9fffc7d9ce7b8e9f3dae7a34132d1ce5395c.tar.gz
serverdata-1f3f9fffc7d9ce7b8e9f3dae7a34132d1ce5395c.tar.bz2
serverdata-1f3f9fffc7d9ce7b8e9f3dae7a34132d1ce5395c.tar.xz
serverdata-1f3f9fffc7d9ce7b8e9f3dae7a34132d1ce5395c.zip
*turns off lights* Halloween 2020 and Doomsday 5: The Final Showdown are over.
That's all for now, folks! :D
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/099-5/boss.txt45
-rw-r--r--world/map/npc/magic/level2-arrow-hail.txt2
2 files changed, 31 insertions, 16 deletions
diff --git a/world/map/npc/099-5/boss.txt b/world/map/npc/099-5/boss.txt
index 4556b898..96b7cb93 100644
--- a/world/map/npc/099-5/boss.txt
+++ b/world/map/npc/099-5/boss.txt
@@ -83,10 +83,18 @@
// 1024 - DEFCON
// NOTE: Personal score overflows at 214,000 points
-099-5|mapflag|nosave|099-3,72,74
-099-5|mapflag|resave|099-3,72,74
-099-4|mapflag|nosave|099-3,72,74
-099-4|mapflag|resave|099-3,72,74
+099-5|mapflag|nosave|009-1,52,40
+099-5|mapflag|resave|009-1,52,40
+099-4|mapflag|nosave|009-1,52,40
+099-4|mapflag|resave|009-1,52,40
+
+// Additional mapflags
+099-3|mapflag|nosave|099-7,75,36
+099-3|mapflag|resave|099-7,75,36
+099-2|mapflag|nosave|099-7,75,36
+099-2|mapflag|resave|099-7,75,36
+099-1|mapflag|nosave|099-7,75,36
+099-1|mapflag|resave|099-7,75,36
099-5,0,0,0|script|#TMWFinalExam|32767
{
@@ -128,8 +136,8 @@ OnMTChallenge:
set BOSS_POINTS, BOSS_POINTS + 5;
message strcharinfo(0), "This battle experience distribution is different, and death is final. Be careful!";
// Give everyone some participation points simply for continued survival
- set @dd5_score, 1000;
- set $@DD5_PTS, $@DD5_PTS+1000;
+ set @dd5_score, 1200;
+ set $@DD5_PTS, $@DD5_PTS+1200;
end;
// FIXME not working for some reason
@@ -249,7 +257,7 @@ OnMTFourthFall:
end;
OnFourthFall:
- debugmes "FOURTH FALL";
+ //debugmes "FOURTH FALL";
// High Damage
if (sc_check(sc_raiseattackspeed0))
@@ -434,7 +442,7 @@ OnPrologue4:
mapannounce "099-4", "Zax De'Kagen : Catch me if you can!" , 0;
npctalk "Zax De'Kagen#0", "Catch me if you can!";
set $@DD5_STATUS, 3;
- set $@DD5_HP, 20000;
+ set $@DD5_HP, 20000+(getmapusers("099-5")*100);
set $@DD5_PRIMARY, 5+getmapusers("099-5");
set $@DD5_SUPPORT, 3+getmapusers("099-4");
set $@DD5_TOTALPC, $@DD5_PRIMARY+$@DD5_SUPPORT;
@@ -528,10 +536,14 @@ OnWarmedUp5:
OnWarmedUp6:
set $@DD5_STATUS, 5;
- set $@DD5_HP, 40000;
+ set $@DD5_HP, 40000+(getmapusers("099-5")*100);
set $@DD5_PRIMARY, 1+getmapusers("099-5")*15/10;
set $@DD5_SUPPORT, 1+getmapusers("099-4")*15/10;
set $@DD5_TOTALPC, $@DD5_PRIMARY+$@DD5_SUPPORT;
+ // Spawn second wave
+ areamonster "099-5", 20, 20, 75, 75, "", $@DD5MB_AVERAGE[rand(getarraysize($@DD5MB_AVERAGE))], $@DD5_PRIMARY, "#TMWFinalExam::OnKillAverage";
+ areamonster "099-4", 20, 20, 75, 75, "", $@DD5MB_AVERAGE[rand(getarraysize($@DD5MB_AVERAGE))], $@DD5_SUPPORT, "#TMWFinalExam::OnKillAverage";
+ // Begin timers
initnpctimer;
donpcevent "Xakelbael the Dark#0::OnEnable";
areatimer 0, "099-5", 20, 20, 75, 75, 10, "#TMWFinalExam::OnMTMusicOn";
@@ -612,11 +624,14 @@ OnShowdown5:
OnShowdown6:
set $@DD5_STATUS, 7;
- set $@DD5_HP, 115000;
- set $@DD5_PRIMARY, 3+getmapusers("099-5")*2;
- set $@DD5_SUPPORT, 3+getmapusers("099-4")*2;
- set $@DD5_TOTALPC, $@DD5_PRIMARY+$@DD5_SUPPORT;
+ set $@DD5_HP, 115000+(getmapusers("099-5")*100);
+ set $@DD5_PRIMARY, 3+getmapusers("099-5")*15/10;
+ set $@DD5_SUPPORT, 3+getmapusers("099-4")*15/10;
+ set $@DD5_TOTALPC, $@DD5_PRIMARY+$@DD5_SUPPORT-2;
+ areamonster "099-5", 20, 20, 75, 75, "", $@DD5MB_AVERAGE[rand(getarraysize($@DD5MB_WEAK))], $@DD5_PRIMARY, "#TMWFinalExam::OnKillWeak";
initnpctimer;
+ set $@DD5_DEFCON, rand(4, 8);
+ areatimer 0, "099-5", 20, 20, 75, 75, 10, "#TMWFinalExam::OnMTBlissOblivion";
donpcevent "Zax De'Kagen#0::OnFinal";
end;
@@ -1016,7 +1031,7 @@ OnKillStrong:
///////////////////////////////////////////////////////////
// Core
OnInit:
- setarray $@DD5MB_WEAK, 1155, 1156, 1155, 1156, 1155, 1156, 1157, 1158;
+ setarray $@DD5MB_WEAK, 1155, 1156, 1155, 1156, 1155, 1156, 1158;
setarray $@DD5MB_AVERAGE, 1159, 1160, 1159, 1160, 1159, 1160, 1157, 1158;
setarray $@DD5MB_STRONG, 1152, 1153, 1154, 1152, 1153, 1154, 1152, 1153, 1154;
setarray $@DD5MB_BOSSLV, 1146, 1147, 1140, 1141, 1143, 1149, 1148, 1140;
@@ -1462,7 +1477,7 @@ OnPrompt:
mes "";
mes "Server Name: ##BThe Mana World##b";
mes "Server Address: ##Bserver.themanaworld.org##b";
- mes "Server Port: ##B6969##b";
+ mes "Server Port: ##BXXXX##b";
mes "Server Type: ##BEvol2##b";
mes "Server Description: ##BMain Server for The Mana World##b";
mes "";
diff --git a/world/map/npc/magic/level2-arrow-hail.txt b/world/map/npc/magic/level2-arrow-hail.txt
index b1e713d0..24866b1c 100644
--- a/world/map/npc/magic/level2-arrow-hail.txt
+++ b/world/map/npc/magic/level2-arrow-hail.txt
@@ -9,7 +9,7 @@ OnCast:
if (getskilllv(SKILL_MAGIC) < .level) end;
if (Sp < 25) end;
explode .@map_ext[0], getmap(), "-";
- if (.@map_ext[1] != 1) end; // XXX this is fugly, in the future let's use MF_OUTSIDE to detect if a map is "outside" or "inside"
+ if (.@map_ext[1] != 1 && getmap() != "099-5") end; // XXX this is fugly, in the future let's use MF_OUTSIDE to detect if a map is "outside" or "inside"
if (getmapflag(getmap(), MF_TOWN)) end;
if (countitem("Arrow") >= 20 && countitem("SulphurPowder") >= 1) delitem "Arrow", 20;
elif (countitem("IronArrow") >= 20 && countitem("SulphurPowder") >= 1) delitem "IronArrow", 20;