Browse Source

Update item_db_etc.yml (#6527)

Fixed 1 bonus script that use number const to const name
Kanin Temsrisuk 3 years ago
parent
commit
8477be724f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      db/re/item_db_etc.yml

+ 1 - 1
db/re/item_db_etc.yml

@@ -39350,7 +39350,7 @@ Body:
     Script: |
       .@type = getiteminfo(getequipid(EQI_COMPOUND_ON), ITEMINFO_VIEW);
       .@r = getrefine();
-      if (.@type == 17 || .@type == 18 || .@type == 21) {
+      if (.@type == W_REVOLVER || .@type == W_RIFLE || .@type == W_GRENADE) {
          bonus bLongAtkRate,5+.@r+(.@r >= 10 ? 5 : 0);
       }
   - Id: 27150