summaryrefslogtreecommitdiff
path: root/db/pre-re/item_db.conf
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2016-08-29 17:40:13 +0100
committerhemagx <ibrahem.h.basyone@gmail.com>2016-09-02 04:56:00 +0200
commit0f1d0507eb95cf07ce7eb66d89ad9853938612e6 (patch)
tree57780b1ecc7c5ae125be1c89406f8db1e00a581b /db/pre-re/item_db.conf
parent0f1d03f505fdc03533122db8ba19fa55f64f11b7 (diff)
downloadhercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.gz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.bz2
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.xz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.zip
change *strcharinfo to use constants
Diffstat (limited to 'db/pre-re/item_db.conf')
-rw-r--r--db/pre-re/item_db.conf26
1 files changed, 13 insertions, 13 deletions
diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf
index b61f1ec0e..1ba177d18 100644
--- a/db/pre-re/item_db.conf
+++ b/db/pre-re/item_db.conf
@@ -30625,7 +30625,7 @@ item_db: (
noauction: true
}
Script: <"
- if(strcharinfo(3)=="job3_arch02") {
+ if(strcharinfo(PC_MAP)=="job3_arch02") {
bonus2 bAddDefClass,1761,50;
bonus2 bAddDefClass,1762,50;
}
@@ -34064,7 +34064,7 @@ item_db: (
bonus2 bHPLossRate,666,10000;
">
OnUnequipScript: <"
- if((Hp <= 999) && !getmapflag(strcharinfo(3),mf_pvp) && !getmapflag(strcharinfo(3),mf_pvp_noparty) && !getmapflag(strcharinfo(3),mf_pvp_noguild)) {
+ if((Hp <= 999) && !getmapflag(strcharinfo(PC_MAP),mf_pvp) && !getmapflag(strcharinfo(PC_MAP),mf_pvp_noparty) && !getmapflag(strcharinfo(PC_MAP),mf_pvp_noguild)) {
heal (1-Hp),0;
}
else {
@@ -70176,7 +70176,7 @@ item_db: (
}
Script: <"
input @megaphone$;
- announce strcharinfo(0) + ": " + @megaphone$,bc_all,0xFF0000;
+ announce strcharinfo(PC_NAME) + ": " + @megaphone$,bc_all,0xFF0000;
end;
">
},
@@ -70590,7 +70590,7 @@ item_db: (
noauction: true
}
Script: <"
- if(strcharinfo(3)=="job3_rang02") {
+ if(strcharinfo(PC_MAP)=="job3_rang02") {
monster "this",-1,-1,"--ja--",1904,1,"";
}
@@ -72394,7 +72394,7 @@ item_db: (
Buy: 10
Weight: 10
Script: <"
- if (strcharinfo(3) == "job3_arch02") {
+ if (strcharinfo(PC_MAP) == "job3_arch02") {
mercenary_create VALKYRIE_A, 1800000;
}
@@ -72408,7 +72408,7 @@ item_db: (
Buy: 10
Weight: 10
Script: <"
- if (strcharinfo(3) == "job3_arch02") {
+ if (strcharinfo(PC_MAP) == "job3_arch02") {
mercenary_create VALKYRIE_B, 1800000;
}
@@ -72440,7 +72440,7 @@ item_db: (
noauction: true
}
Script: <"
- //if(strcharinfo(3)=="job3_war02") {
+ //if(strcharinfo(PC_MAP)=="job3_war02") {
// itemskill WL_FROSTMISTY,5;
//}
">
@@ -72461,7 +72461,7 @@ item_db: (
noauction: true
}
Script: <"
- //if(strcharinfo(3)=="job3_war02") {
+ //if(strcharinfo(PC_MAP)=="job3_war02") {
// itemskill WL_CRIMSONROCK,5;
//}
">
@@ -72482,7 +72482,7 @@ item_db: (
noauction: true
}
Script: <"
- //if(strcharinfo(3)=="job3_war02") {
+ //if(strcharinfo(PC_MAP)=="job3_war02") {
// itemskill WL_CHAINLIGHTNING,5;
//}
">
@@ -72503,7 +72503,7 @@ item_db: (
noauction: true
}
Script: <"
- //if(strcharinfo(3)=="job3_war02") {
+ //if(strcharinfo(PC_MAP)=="job3_war02") {
// itemskill WL_EARTHSTRAIN,5;
//}
">
@@ -72528,7 +72528,7 @@ item_db: (
sitting: true
}
Script: <"
- //if(strcharinfo(3)=="job3_rune02") {
+ //if(strcharinfo(PC_MAP)=="job3_rune02") {
// itemskill RK_CRUSHSTRIKE,1;
//}
">
@@ -72553,7 +72553,7 @@ item_db: (
sitting: true
}
Script: <"
- //if(strcharinfo(3)=="job3_rune02") {
+ //if(strcharinfo(PC_MAP)=="job3_rune02") {
// itemskill RK_STORMBLAST,1;
//}
">
@@ -72578,7 +72578,7 @@ item_db: (
sitting: true
}
Script: <"
- //if(strcharinfo(3)=="job3_rune02") {
+ //if(strcharinfo(PC_MAP)=="job3_rune02") {
// itemskill RK_MILLENNIUMSHIELD,1;
//}
">