diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-04-08 08:44:07 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-04-08 08:44:07 -0300 |
commit | 1b6ef8f9b16448afcce73a2269f3cf0849b7eb2d (patch) | |
tree | d1141b19e2028b171a5c58f3709f3a5f7d25245e /npc/003-1 | |
parent | e8d2149b4b3c6780197933369f836315491d20bc (diff) | |
download | serverdata-1b6ef8f9b16448afcce73a2269f3cf0849b7eb2d.tar.gz serverdata-1b6ef8f9b16448afcce73a2269f3cf0849b7eb2d.tar.bz2 serverdata-1b6ef8f9b16448afcce73a2269f3cf0849b7eb2d.tar.xz serverdata-1b6ef8f9b16448afcce73a2269f3cf0849b7eb2d.zip |
The monster king now automatically sieges Tulimshar, and @toevent works when
that is set ^.^
This means a new degree in how events are handled
Diffstat (limited to 'npc/003-1')
-rw-r--r-- | npc/003-1/lieutenantdausen.txt | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/npc/003-1/lieutenantdausen.txt b/npc/003-1/lieutenantdausen.txt index 788cb993d..c578f6c2e 100644 --- a/npc/003-1/lieutenantdausen.txt +++ b/npc/003-1/lieutenantdausen.txt @@ -124,6 +124,19 @@ L_MKControl: l("Abort"), -; close; +OnMKSiege: + addmapmask "003-1", MASK_MATTACK; + addmapmask "004-1", MASK_MATTACK; + changemusic "003-1", any("mythica.ogg", "eric_matyas_ghouls.ogg", "misuse.ogg", "Arabesque.ogg"); + disablenpc("Mana Stone"); + $@SIEGE_TULIM=($@MK_AGGRO/30); // Each 30 aggro raises difficulty in 1 + pvpon("003-1"); + pvpon("004-1"); + announce(("##1WARNING! WARNING! Siege starting at Tulimshar!!"), bc_all); + areamonster("004-1", 0, 0, 79, 81, l("Black Scorpion"), BlackScorpion, 10, "Lieutenant Dausen::OnBlackScorpionDeath"); + initnpctimer; + end; + L_MKSmall: addmapmask "003-1", MASK_MATTACK; addmapmask "004-1", MASK_MATTACK; @@ -132,7 +145,7 @@ L_MKSmall: $@SIEGE_TULIM=0; // factor zero pvpon("003-1"); pvpon("004-1"); - announce(l("##1WARNING! WARNING! Siege starting at Tulimshar!!"), bc_all); + announce(("##1WARNING! WARNING! Siege starting at Tulimshar!!"), bc_all); areamonster("004-1", 0, 0, 79, 81, l("Black Scorpion"), BlackScorpion, 10, "Lieutenant Dausen::OnBlackScorpionDeath"); initnpctimer; close; @@ -145,7 +158,7 @@ L_MKMedium: $@SIEGE_TULIM=1; // factor one pvpon("003-1"); pvpon("004-1"); - announce(l("##1WARNING! WARNING! Siege starting at Tulimshar!!"), bc_all); + announce(("##1WARNING! WARNING! Siege starting at Tulimshar!!"), bc_all); areamonster("004-1", 0, 0, 79, 81, l("Black Scorpion"), BlackScorpion, 15, "Lieutenant Dausen::OnBlackScorpionDeath"); initnpctimer; close; @@ -158,7 +171,7 @@ L_MKHuge: $@SIEGE_TULIM=5; // factor five pvpon("003-1"); pvpon("004-1"); - announce(l("##1WARNING! WARNING! Siege starting at Tulimshar!!"), bc_all); + announce(("##1WARNING! WARNING! Siege starting at Tulimshar!!"), bc_all); areamonster("004-1", 0, 0, 79, 81, l("Black Scorpion"), BlackScorpion, 30, "Lieutenant Dausen::OnBlackScorpionDeath"); initnpctimer; close; @@ -345,6 +358,8 @@ OnTimer540000: end; OnTimer600000: + $@MK_SCENE=MK_NONE; + $@MK_AGGRO=$@MK_AGGRO/20; mapannounce("003-1", "##1The Monster King army is preparing to withdraw!", bc_map); end; @@ -353,7 +368,7 @@ OnTimer630000: removemapmask "004-1", MASK_MATTACK; changemusic "003-1", "bartk_adventure.ogg"; // Restore to default enablenpc("Mana Stone"); - $@SIEGE_TULIM$=0; + $@SIEGE_TULIM=0; killmonsterall("003-1", 0); killmonsterall("004-1", 0); pvpoff("003-1"); |