diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-09-24 14:00:07 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-09-24 14:00:07 -0300 |
commit | 5f016bfc703ccb139b80b6f82e966c9d5be670ec (patch) | |
tree | 5845fe95302361bee7cd8c8f49ab66e30f316c16 /npc/functions | |
parent | fd1fa65e17bef8c4c79264054a664d768bb870ab (diff) | |
download | serverdata-5f016bfc703ccb139b80b6f82e966c9d5be670ec.tar.gz serverdata-5f016bfc703ccb139b80b6f82e966c9d5be670ec.tar.bz2 serverdata-5f016bfc703ccb139b80b6f82e966c9d5be670ec.tar.xz serverdata-5f016bfc703ccb139b80b6f82e966c9d5be670ec.zip |
Boss Raid is now working. First event is scheduled to happen in late November.
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/aurora.txt | 5 | ||||
-rw-r--r-- | npc/functions/hub.txt | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/npc/functions/aurora.txt b/npc/functions/aurora.txt index 03e5ce195..fe8139dfc 100644 --- a/npc/functions/aurora.txt +++ b/npc/functions/aurora.txt @@ -449,8 +449,9 @@ function script FYE_Raid { // Never found a boss before, so assign some place for you if (.@id < 0) { - FYRAID_LV += 1; - .@id=array_push($FYRAID_OWNER, getcharid(3)); + FYRAID_LV = 1; + array_push($FYRAID_OWNER, getcharid(3)); + .@id = array_find($FYRAID_OWNER, getcharid(3)); } // Assign the boss stats diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 57bcd915a..2839a8d64 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -215,6 +215,10 @@ function script HUB_Logout { setq1 HurnscaldQuest_Sagratha, 3; setq3 HurnscaldQuest_Sagratha, 0; } + // Died or logged out during a Boss Raid event + if (compare(.@mapa$, "fyrb")) { + doevent "sBossRaid::OnDie"; + } // Died or logged out during Yeti King Fight if (getq(HurnscaldQuest_Celestia) > 1) setq HurnscaldQuest_Celestia, 1; |