diff --git a/db/re/item_db_usable.yml b/db/re/item_db_usable.yml index 2b2f065cae..15b69ca905 100644 --- a/db/re/item_db_usable.yml +++ b/db/re/item_db_usable.yml @@ -45521,7 +45521,8 @@ Body: NoMail: true NoAuction: true Script: | - /* TODO */ + getgroupitem(IG_Squad_Prize1); + getgroupitem(IG_Squad_Prize2); - Id: 22568 AegisName: Nyd_Summon_Scroll Name: Nidhoggur Summon Scroll diff --git a/db/re/item_group_db.yml b/db/re/item_group_db.yml index 431231f4aa..696976ba83 100644 --- a/db/re/item_group_db.yml +++ b/db/re/item_group_db.yml @@ -17189,6 +17189,66 @@ Body: Rate: 1 - Item: Lush_Rose Rate: 1 + - Group: SQUAD_PRIZE1 + SubGroups: + - SubGroup: 1 + List: + - Item: Force3 + Rate: 83 + - Item: Intellect3 + Rate: 83 + - Item: Swiftness3 + Rate: 83 + - Item: Tough3 + Rate: 83 + - Item: Artful3 + Rate: 83 + - Item: Fortune3 + Rate: 83 + - Item: Force2 + Rate: 416 + - Item: Intellect2 + Rate: 416 + - Item: Swiftness2 + Rate: 416 + - Item: Tough2 + Rate: 416 + - Item: Artful2 + Rate: 416 + - Item: Fortune2 + Rate: 416 + - Item: Force1 + Rate: 1167 + - Item: Intellect1 + Rate: 1167 + - Item: Swiftness1 + Rate: 1167 + - Item: Tough1 + Rate: 1167 + - Item: Artful1 + Rate: 1167 + - Item: Fortune1 + Rate: 1167 + - Group: SQUAD_PRIZE2 + SubGroups: + - SubGroup: 1 + List: + - Item: Treasure_Box + Rate: 1 + - Item: Frost_Crystal + Rate: 4 + - Item: Yggdrasilberry + Rate: 10 + Amount: 3 + - Item: Seed_Of_Yggdrasil + Rate: 10 + Amount: 5 + - Item: White_Slim_Potion + Rate: 35 + Amount: 10 + - Item: Blue_Potion + Rate: 40 + Amount: 10 - Group: SGRADE_POCKET SubGroups: - SubGroup: 0 diff --git a/src/map/itemdb.hpp b/src/map/itemdb.hpp index 5148100464..690ea4c210 100644 --- a/src/map/itemdb.hpp +++ b/src/map/itemdb.hpp @@ -764,6 +764,8 @@ enum e_random_item_group { IG_HAPPY_BOX_J, IG_CLASS_SHADOW_CUBE, IG_SEALED_SCROLL, + IG_SQUAD_PRIZE1, + IG_SQUAD_PRIZE2, IG_MAX, }; diff --git a/src/map/script_constants.hpp b/src/map/script_constants.hpp index c65af31a84..4744602192 100644 --- a/src/map/script_constants.hpp +++ b/src/map/script_constants.hpp @@ -5506,6 +5506,8 @@ export_constant(IG_HAPPY_BOX_J); export_constant(IG_CLASS_SHADOW_CUBE); export_constant(IG_SEALED_SCROLL); + export_constant(IG_SQUAD_PRIZE1); + export_constant(IG_SQUAD_PRIZE2); /* unit stop walking */ export_constant(USW_NONE);