summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/constants.conf9
-rw-r--r--db/pre-re/item_db.conf16
2 files changed, 14 insertions, 11 deletions
diff --git a/db/constants.conf b/db/constants.conf
index f73ee858..a339559a 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -5216,10 +5216,11 @@ more than one separator can be used in a row (so 12_3___456 is illegal).
comment__: "Language constants"
LANG_EN: 0
- LANG_FR: 1
- LANG_ES: 2
+ LANG_PTBR: 1
+ LANG_FR: 2
LANG_DE: 3
- MAX_LANG: 3
+ LANG_ES: 4
+ MAX_LANG: 4
comment__: "Daily Constants"
DAILY_LOWLEVEL: 0
@@ -5634,6 +5635,7 @@ more than one separator can be used in a row (so 12_3___456 is illegal).
AMMO_BOW:1
AMMO_SLING:2
AMMO_WAND:3
+
// tmw npcs
NPC45:45
NPC100:100
@@ -5814,6 +5816,7 @@ more than one separator can be used in a row (so 12_3___456 is illegal).
NPC384:384
NPC385:385
NPC386:386
+ NPC393:393
NPC394:394
NPC395:395
NPC400:400
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;