Update item_db_etc.yml (#6527)

Fixed 1 bonus script that use number const to const name
This commit is contained in:
Kanin Temsrisuk 2022-01-17 22:55:58 +07:00 committed by GitHub
parent 1b16a3074d
commit 8477be724f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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