diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-07-30 22:46:18 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-07-30 22:46:18 -0300 |
commit | 424e410e601c67a87b190567ce8decfc0ee296f4 (patch) | |
tree | 781fa52f20ba83f306bb991278491fe3f44ee7b6 | |
parent | 1ab9b346a751799289cc842ec1caf9c49cebbac2 (diff) | |
download | serverdata-424e410e601c67a87b190567ce8decfc0ee296f4.tar.gz serverdata-424e410e601c67a87b190567ce8decfc0ee296f4.tar.bz2 serverdata-424e410e601c67a87b190567ce8decfc0ee296f4.tar.xz serverdata-424e410e601c67a87b190567ce8decfc0ee296f4.zip |
[skip ci] safeguard: Do not use Craftmaster's Day before Nivalis Liberation Day
-rw-r--r-- | npc/functions/event.txt | 2 | ||||
-rw-r--r-- | npc/functions/news.txt | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/npc/functions/event.txt b/npc/functions/event.txt index 3ba1bb786..e46041780 100644 --- a/npc/functions/event.txt +++ b/npc/functions/event.txt @@ -460,6 +460,8 @@ function script CraftmasterDay { // Event Check if ($EVENT$ != "Worker") return; + if ($GAME_STORYLINE < 2) + return; // Base chance is from 0.1% up to 2.5%, looping .@odds = 10 + (MONSTERS_KILLED % 240); diff --git a/npc/functions/news.txt b/npc/functions/news.txt index 8cda5ff2a..cd8d18baf 100644 --- a/npc/functions/news.txt +++ b/npc/functions/news.txt @@ -182,7 +182,8 @@ function script EventHelp { mes ""; mes l("Visit the special event map, kill low level bosses, collect %s,", getitemlink(Pearl)); mes l("exchange them, and have fun!"); - mesc l("* All monsters may also drop Blueprints during the event."); + if ($GAME_STORYLINE >= 2) + mesc l("* All monsters may also drop Blueprints during the event."); mes ""; mes l("Happy %s!", "@@https://en.wikipedia.org/wiki/International_Workers%27_Day|"+l("international worker day")+"@@"); mesc l("Location: Worker's Cave, access by Soul Menhir."), 3; |