diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-10 03:00:20 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-10 03:00:20 -0300 |
commit | ba1e827b6b4c17c35a163e6b55be8c122de632b8 (patch) | |
tree | 819f93d0ffee3697e336471710afb9681f0b8d86 /db/pre-re | |
parent | 6e7f3113c0faad9edd4367d100ba9dd77e8d3130 (diff) | |
download | serverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.tar.gz serverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.tar.bz2 serverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.tar.xz serverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.zip |
Add several convenience functions. Fix some bugs regarding misuse of readparam()
Diffstat (limited to 'db/pre-re')
-rw-r--r-- | db/pre-re/item_db.conf | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf index 9c31d7a7..d4b46dd2 100644 --- a/db/pre-re/item_db.conf +++ b/db/pre-re/item_db.conf @@ -874,7 +874,7 @@ item_db: ( BindOnEquip: false Subtype: "W_2HSTAFF" OnEquipScript: <" - set @bStat, Int; + set @bStat, readparam(bInt); set @minbStatVal, 60; callfunc "RequireStat"; "> @@ -900,7 +900,7 @@ item_db: ( BindOnEquip: false Subtype: "W_STAFF" OnEquipScript: <" - set @bStat, Int; + set @bStat, readparam(bInt); set @minbStatVal, 5; callfunc "RequireStat"; "> @@ -973,7 +973,7 @@ item_db: ( BindOnEquip: false Subtype: "W_BOW" OnEquipScript: <" - set @bStat, Dex; + set @bStat, readparam(bDex); set @minbStatVal, 80; callfunc "RequireStat"; bonus2 bHPDrainRate, 100, -2; @@ -6251,10 +6251,10 @@ item_db: ( BindOnEquip: false Delay: 0 OnEquipScript: <" - set @bStat, Int; + set @bStat, readparam(bInt); set @minbStatVal, 70; callfunc "RequireStat"; - set @bStat, Vit; + set @bStat, readparam(bVit); set @minbStatVal, 40; callfunc "RequireStat"; bonus bSpeedAddRate, -15; @@ -10923,13 +10923,13 @@ item_db: ( BindOnEquip: false Delay: 0 OnEquipScript: <" - set @bStat, Str; + set @bStat, readparam(bStr); set @minbStatVal, 70; callfunc "RequireStat"; - set @bStat, Vit; + set @bStat, readparam(bVit); set @minbStatVal, 50; callfunc "RequireStat"; - set @bStat, Luk; + set @bStat, readparam(bLuk); set @minbStatVal, 50; callfunc "RequireStat"; bonus bAtkRange, -10; |