diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-05-18 21:57:03 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-05-18 21:57:03 -0300 |
commit | 4c79160f1a80007599ae49075f617b79e7fddfa2 (patch) | |
tree | 7f37a9b865efbcc0d77b2c4c15ffc30aeba85c5e | |
parent | 3eb6f0e54a153d34c70423ce60bd34321149443e (diff) | |
download | serverdata-4c79160f1a80007599ae49075f617b79e7fddfa2.tar.gz serverdata-4c79160f1a80007599ae49075f617b79e7fddfa2.tar.bz2 serverdata-4c79160f1a80007599ae49075f617b79e7fddfa2.tar.xz serverdata-4c79160f1a80007599ae49075f617b79e7fddfa2.zip |
Sorry, I got excited. Add Violet Eggshell Hat, so ML has two unique eggshells
-rw-r--r-- | db/re/item_db.conf | 20 | ||||
-rw-r--r-- | npc/001-4/lilica.txt | 10 |
2 files changed, 25 insertions, 5 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 01ed3ea16..b393d0f69 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -11553,6 +11553,26 @@ item_db: ( bonus bDef2, 2; "> }, +{ + Id: 3034 + AegisName: "VioletEggshellHat" + Name: "Violet Eggshell Hat" + Type: "IT_ARMOR" + Buy: 16000 + Sell: 3000 + Weight: 460 + Def: 5 + Loc: "EQP_HEAD_TOP" + EquipLv: 21 + Refine: false + Script: <" + bonus bMaxHP,17; + if ($EVENT$ == "Easter") { + bonus bDef,10; + } + bonus bDef2, 2; + "> +}, // Neck Armor { diff --git a/npc/001-4/lilica.txt b/npc/001-4/lilica.txt index 92fea4aef..95ccb15eb 100644 --- a/npc/001-4/lilica.txt +++ b/npc/001-4/lilica.txt @@ -53,8 +53,8 @@ L_Leader: close; L_Quest: - setarray .@Seasonal, EggshellHat, YellowEggshellHat, RedEggshellHat, GreenEggshellHat, CyanEggshellHat, OrangeEggshellHat, BlueEggshellHat; - .@Hat=.@Seasonal[gettime(7)%7]; // Magically choose the hat from the array + setarray .@Seasonal, EggshellHat, VioletEggshellHat, YellowEggshellHat, RedEggshellHat, GreenEggshellHat, CyanEggshellHat, OrangeEggshellHat, BlueEggshellHat; + .@Hat=.@Seasonal[gettime(7)%8]; // Magically choose the hat from the array mesn; mesq l("Good choice! This year we're having a @@!", getitemlink(.@Hat)); next; @@ -262,9 +262,9 @@ OnPayFunds: OnInit: tradertype(NST_CUSTOM); - setarray .@Seasonal, EggshellHat, EggshellHat, GreenEggshellHat, OrangeEggshellHat, BlueEggshellHat, EggshellHat; - .Hat=.@Seasonal[(gettime(7)+1)%6]; // Magically choose the hat from the array - .PrevHat=.@Seasonal[(gettime(7)-1)%6]; // Magically choose the hat from the array + setarray .@Seasonal, EggshellHat, VioletEggshellHat, YellowEggshellHat, RedEggshellHat, GreenEggshellHat, CyanEggshellHat, OrangeEggshellHat, BlueEggshellHat; + .Hat=.@Seasonal[(gettime(7)+1)%8]; // Magically choose the hat from the array + .PrevHat=.@Seasonal[(gettime(7)-1)%8]; // Magically choose the hat from the array // Seasonal item sellitem .Hat,200; |