Browse Source

Updated item db (#7553)

* Added several items from bRO in item database
Pokye 2 years ago
parent
commit
8f1450b178
4 changed files with 268 additions and 0 deletions
  1. 60 0
      db/re/item_db_usable.yml
  2. 196 0
      db/re/item_group_db.yml
  3. 6 0
      src/map/itemdb.hpp
  4. 6 0
      src/map/script_constants.hpp

+ 60 - 0
db/re/item_db_usable.yml

@@ -61917,6 +61917,66 @@ Body:
       NoAuction: true
     Script: |
       getgroupitem(IG_KR_B_SPECIAL03);
+  - Id: 100537
+    AegisName: Class_Shadow_WP_Cube
+    Name: Class Weapon Shadow Cube
+    Type: Usable
+    Weight: 10
+    Flags:
+      BuyingStore: true
+      Container: true
+    Script: |
+      getgroupitem(IG_CLASS_SHADOW_WP_CUBE);
+  - Id: 100538
+    AegisName: Class_Shadow_AM_Cube
+    Name: Class Armor Shadow Cube
+    Type: Usable
+    Weight: 10
+    Flags:
+      BuyingStore: true
+      Container: true
+    Script: |
+      getgroupitem(IG_CLASS_SHADOW_AM_CUBE);
+  - Id: 100539
+    AegisName: Class_Shadow_SU_Cube
+    Name: Class Shoes Shadow Cube
+    Type: Usable
+    Weight: 10
+    Flags:
+      BuyingStore: true
+      Container: true
+    Script: |
+      getgroupitem(IG_CLASS_SHADOW_SU_CUBE);
+  - Id: 100540
+    AegisName: Class_Shadow_SD_Cube
+    Name: Class Shield Shadow Cube
+    Type: Usable
+    Weight: 10
+    Flags:
+      BuyingStore: true
+      Container: true
+    Script: |
+      getgroupitem(IG_CLASS_SHADOW_SD_CUBE);
+  - Id: 100541
+    AegisName: Class_Shadow_PD_Cube
+    Name: Class Pendant Shadow Cube
+    Type: Usable
+    Weight: 10
+    Flags:
+      BuyingStore: true
+      Container: true
+    Script: |
+      getgroupitem(IG_CLASS_SHADOW_PD_CUBE);
+  - Id: 100542
+    AegisName: Class_Shadow_EA_Cube
+    Name: Class Earring Shadow Cube
+    Type: Usable
+    Weight: 10
+    Flags:
+      BuyingStore: true
+      Container: true
+    Script: |
+      getgroupitem(IG_CLASS_SHADOW_EA_CUBE);
   - Id: 100547
     AegisName: BioWeapon_Helm_Box
     Name: Biological Lab Helmet Box

+ 196 - 0
db/re/item_group_db.yml

@@ -48996,3 +48996,199 @@ Body:
           - Item: Giant_Fly_Wing
           - Item: E_Giant_Fly_Wing
           - Item: F_Giant_Fly_Wing
+  - Group: CLASS_SHADOW_WP_CUBE
+    SubGroups:
+      - SubGroup: 1
+        List:
+          - Item: S_SuperNovice_Weapon
+            Rate: 526
+          - Item: S_Gunslinger_Weapon
+            Rate: 526
+          - Item: S_Taekwon_Weapon
+            Rate: 526
+          - Item: S_Ninja_Weapon
+            Rate: 526
+          - Item: S_DoramMagical_Weapon
+            Rate: 526
+          - Item: S_DoramPhysical_Weapon
+            Rate: 526
+          - Item: S_Runeknight_Weapon
+            Rate: 526
+          - Item: S_Royalguard_Weapon
+            Rate: 526
+          - Item: S_Mechanic_weapon
+            Rate: 526
+          - Item: S_Genetic_Weapon
+            Rate: 526
+          - Item: S_Archbishop_Weapon
+            Rate: 526
+          - Item: S_Sura_weapon
+            Rate: 526
+          - Item: S_Guillotine_Weapon
+            Rate: 526
+          - Item: S_Shadowchaser_Weapon
+            Rate: 527
+          - Item: S_Warlock_Weapon
+            Rate: 527
+          - Item: S_Sorcerer_Weapon
+            Rate: 527
+          - Item: S_Ranger_Weapon
+            Rate: 527
+          - Item: S_Minstrel_Weapon
+            Rate: 527
+          - Item: S_Wanderer_Weapon
+            Rate: 527
+  - Group: CLASS_SHADOW_AM_CUBE
+    SubGroups:
+      - SubGroup: 1
+        List:
+          - Item: S_Knight_Armor
+            Rate: 555
+          - Item: S_Crusader_Armor
+            Rate: 555
+          - Item: S_Blacksmith_Armor
+            Rate: 555
+          - Item: S_Alchemist_Armor
+            Rate: 555
+          - Item: S_Priest_Armor
+            Rate: 555
+          - Item: S_Monk_Armor
+            Rate: 555
+          - Item: S_Assassin_Armor
+            Rate: 555
+          - Item: S_Rogue_Armor
+            Rate: 555
+          - Item: S_Wizard_Armor
+            Rate: 555
+          - Item: S_Sage_Armor
+            Rate: 555
+          - Item: S_Hunter_Armor
+            Rate: 555
+          - Item: S_Bard_Armor
+            Rate: 555
+          - Item: S_Dancer_Armor
+            Rate: 555
+          - Item: S_Rebellion_Armor
+            Rate: 555
+          - Item: S_Kagerou_Armor
+            Rate: 555
+          - Item: S_DoramMagical_Armor
+            Rate: 555
+          - Item: S_Oboro_Armor
+            Rate: 560
+          - Item: S_DoramPhysical_Armor
+            Rate: 560
+  - Group: CLASS_SHADOW_SU_CUBE
+    SubGroups:
+      - SubGroup: 1
+        List:
+          - Item: S_Knight_Shoes
+            Rate: 555
+          - Item: S_Crusader_Shoes
+            Rate: 555
+          - Item: S_Blacksmith_Shoes
+            Rate: 555
+          - Item: S_Alchemist_Shoes
+            Rate: 555
+          - Item: S_Priest_Shoes
+            Rate: 555
+          - Item: S_Monk_Shoes
+            Rate: 555
+          - Item: S_Assassin_Shoes
+            Rate: 555
+          - Item: S_Rogue_Shoes
+            Rate: 555
+          - Item: S_Wizard_Shoes
+            Rate: 555
+          - Item: S_Sage_Shoes
+            Rate: 555
+          - Item: S_Hunter_Shoes
+            Rate: 555
+          - Item: S_Bard_Shoes
+            Rate: 555
+          - Item: S_Kagerou_Shoes
+            Rate: 555
+          - Item: S_Oboro_Shoes
+            Rate: 555
+          - Item: S_DoramPhysical_Shoes
+            Rate: 555
+          - Item: S_DoramMagical_Shoes
+            Rate: 555
+          - Item: S_Dancer_Shoes
+            Rate: 560
+          - Item: S_Rebellion_Shoes
+            Rate: 560
+  - Group: CLASS_SHADOW_SD_CUBE
+    SubGroups:
+      - SubGroup: 1
+        List:
+          - Item: S_Runeknight_Shield
+            Rate: 526
+          - Item: S_Royalguard_Shield
+            Rate: 526
+          - Item: S_Mechanic_Shield
+            Rate: 526
+          - Item: S_Genetic_Shield
+            Rate: 526
+          - Item: S_Archbishop_Shield
+            Rate: 526
+          - Item: S_Sura_Shield
+            Rate: 526
+          - Item: S_Guillotine_Shield
+            Rate: 526
+          - Item: S_Shadowchaser_Shield
+            Rate: 526
+          - Item: S_Warlock_Shield
+            Rate: 526
+          - Item: S_Sorcerer_Shield
+            Rate: 526
+          - Item: S_Ranger_Shield
+            Rate: 526
+          - Item: S_Minstrel_Shield
+            Rate: 526
+          - Item: S_Wanderer_Shield
+            Rate: 526
+          - Item: S_Ninja_Shield
+            Rate: 527
+          - Item: S_Taekwon_Shield
+            Rate: 527
+          - Item: S_DoramPhysical_Shield
+            Rate: 527
+          - Item: S_DoramMagical_Shield
+            Rate: 527
+          - Item: S_SuperNovice_Shield
+            Rate: 527
+          - Item: S_Gunslinger_Shield
+            Rate: 527
+  - Group: CLASS_SHADOW_PD_CUBE
+    SubGroups:
+      - SubGroup: 1
+        List:
+          - Item: S_Thief_Pendant
+            Rate: 1666
+          - Item: S_Archer_Pendant
+            Rate: 1666
+          - Item: S_Swordman_Pendant
+            Rate: 1667
+          - Item: S_Merchant_Pendant
+            Rate: 1667
+          - Item: S_Acolyte_Pendant
+            Rate: 1667
+          - Item: S_Magician_Pendant
+            Rate: 1667
+  - Group: CLASS_SHADOW_EA_CUBE
+    SubGroups:
+      - SubGroup: 1
+        List:
+          - Item: S_Merchant_earring
+            Rate: 1666
+          - Item: S_Acolyte_earring
+            Rate: 1666
+          - Item: S_Swordman_earring
+            Rate: 1667
+          - Item: S_Magician_earring
+            Rate: 1667
+          - Item: S_Thief_earring
+            Rate: 1667
+          - Item: S_Archer_earring
+            Rate: 1667

+ 6 - 0
src/map/itemdb.hpp

@@ -1826,6 +1826,12 @@ enum e_random_item_group {
 	IG_MF_NOTELEPORT,
 	IG_MF_NORETURN,
 	IG_GIANT_FLY_WING,
+	IG_CLASS_SHADOW_WP_CUBE,
+	IG_CLASS_SHADOW_AM_CUBE,
+	IG_CLASS_SHADOW_SU_CUBE,
+	IG_CLASS_SHADOW_SD_CUBE,
+	IG_CLASS_SHADOW_PD_CUBE,
+	IG_CLASS_SHADOW_EA_CUBE,
 
 	IG_MAX,
 };

+ 6 - 0
src/map/script_constants.hpp

@@ -6740,6 +6740,12 @@
 	export_constant(IG_MF_NOTELEPORT);
 	export_constant(IG_MF_NORETURN);
 	export_constant(IG_GIANT_FLY_WING);
+	export_constant(IG_CLASS_SHADOW_WP_CUBE);
+	export_constant(IG_CLASS_SHADOW_AM_CUBE);
+	export_constant(IG_CLASS_SHADOW_SU_CUBE);
+	export_constant(IG_CLASS_SHADOW_SD_CUBE);
+	export_constant(IG_CLASS_SHADOW_PD_CUBE);
+	export_constant(IG_CLASS_SHADOW_EA_CUBE);
 
 	/* unit stop walking */
 	export_constant(USW_NONE);