From 8477be724ff36e036a7a2a7d73ca77a4542af5ce Mon Sep 17 00:00:00 2001 From: Kanin Temsrisuk Date: Mon, 17 Jan 2022 22:55:58 +0700 Subject: [PATCH] Update item_db_etc.yml (#6527) Fixed 1 bonus script that use number const to const name --- db/re/item_db_etc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/re/item_db_etc.yml b/db/re/item_db_etc.yml index b4013b48bc..1d9a340858 100644 --- a/db/re/item_db_etc.yml +++ b/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