summaryrefslogtreecommitdiff
path: root/npc/functions/mkbot.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-18 01:11:56 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-18 01:11:56 -0300
commit6ddb573269bc7b0af11bbada28d769eb04ce7bad (patch)
treec19b81ff39ecf5ffee7aa00595d1190babce1679 /npc/functions/mkbot.txt
parentfe9ddbaa6acea3854f6da32b4aa47276a5fb1620 (diff)
downloadserverdata-6ddb573269bc7b0af11bbada28d769eb04ce7bad.tar.gz
serverdata-6ddb573269bc7b0af11bbada28d769eb04ce7bad.tar.bz2
serverdata-6ddb573269bc7b0af11bbada28d769eb04ce7bad.tar.xz
serverdata-6ddb573269bc7b0af11bbada28d769eb04ce7bad.zip
Fires Of Steam, Final Showdown - Initial Version
Diffstat (limited to 'npc/functions/mkbot.txt')
-rw-r--r--npc/functions/mkbot.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/npc/functions/mkbot.txt b/npc/functions/mkbot.txt
index 7fc290a24..4f1037488 100644
--- a/npc/functions/mkbot.txt
+++ b/npc/functions/mkbot.txt
@@ -16,7 +16,7 @@
// 2 - The Monster King is currently sieging towns at random
// 3 - The Monster King is preparing to perfom the Rite and Lightbringer seeks
// a wielder
-// 4 - The Rite is in progress. Players must walk to MK evil lair and fight.
+// 4 - The Rite is CONCLUDED. Players must walk to MK evil lair and fight.
// 5 - The Monster King is dead. Or something. Depends on players.
//
// $MK_TEMPVAR meaning depends on GAME STORYLINE
@@ -104,7 +104,7 @@ OnTimer90000:
// The Monster King will not move anymore because story
if ($GAME_STORYLINE == 0 ||
- $GAME_STORYLINE == 4) {
+ $GAME_STORYLINE == 5) {
if (.mp$ != "boss")
unitwarp($@MK, "boss", 45, 45);
initnpctimer;
@@ -163,12 +163,12 @@ OnTimer90000:
// Siege events (req. 300 aggro, 3 users, and 70% chances to begin)
if ($@MK_AGGRO >= ($GAME_STORYLINE == 2 ? 300 : 900) && .users >= 3 && rand2(0,100) < 70 &&
- is_between(1, 3, $GAME_STORYLINE) && $@MK_THROTTLE < gettimetick(2)){
+ is_between(1, 4, $GAME_STORYLINE) && $@MK_THROTTLE < gettimetick(2)){
// Delta handles the compulsory wait time between waves.
// 6 hours normally, 24 hours if the army is in disarray.
.@delta=6;
$@SIEGE_ABORTED = false;
- if ($GAME_STORYLINE == 3)
+ if ($GAME_STORYLINE >= 3)
.@delta=24;
// Tulimshar
if (compare(.mp$, "003-")) {
@@ -203,7 +203,7 @@ OnTimer90000:
// If a player is nearby while the Monster King prepares, event may happen
// Minimum 60 Aggro
if (.nearby > 1 && $@MK_AGGRO >= 80 &&
- ($GAME_STORYLINE == 1 || ($GAME_STORYLINE == 3 && $@MK_THROTTLE >= gettimetick(2)) )){
+ ($GAME_STORYLINE == 1 || ($GAME_STORYLINE >= 3 && $@MK_THROTTLE >= gettimetick(2)) )){
// We should decide event kind, but that's NYI
announce ("Monster King: I smell humans! Humans must die!"), bc_map|bc_npc;
@@ -242,6 +242,8 @@ OnTimer90000:
// Apply the changes
$GAME_STORYLINE=3;
$MK_TEMPVAR=0; // In past, we forced 1 month wait. Now we have KW mechs...
+ $MANA_BLVL-=10; // Set level to 20~30
+ $MANA_JLVL-=5; // Set job level to 15
}
// We're done, restart loop timer