summaryrefslogtreecommitdiff
path: root/db/re/item_db.conf
diff options
context:
space:
mode:
Diffstat (limited to 'db/re/item_db.conf')
-rw-r--r--db/re/item_db.conf30
1 files changed, 15 insertions, 15 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index a8d37ab0f..b6861a46f 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -38030,7 +38030,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;
}
@@ -43946,7 +43946,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 {
@@ -46922,7 +46922,7 @@ item_db: (
else bonus2 bHPLossRate,888,5000;
">
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 {
@@ -87615,7 +87615,7 @@ item_db: (
}
Script: <"
input @megaphone$;
- announce strcharinfo(0) + ": " + @megaphone$,bc_all,0xFF0000;
+ announce strcharinfo(PC_NAME) + ": " + @megaphone$,bc_all,0xFF0000;
end;
">
},
@@ -88044,7 +88044,7 @@ item_db: (
noauction: true
}
Script: <"
- if(strcharinfo(3)=="job3_rang02") {
+ if(strcharinfo(PC_MAP)=="job3_rang02") {
monster "this",-1,-1,"--ja--",1904,1,"";
}
">
@@ -89803,7 +89803,7 @@ item_db: (
Buy: 10
Weight: 10
Script: <"
- if (strcharinfo(3) == "job3_arch02") {
+ if (strcharinfo(PC_MAP) == "job3_arch02") {
mercenary_create VALKYRIE_A, 1800000;
}
">
@@ -89816,7 +89816,7 @@ item_db: (
Buy: 10
Weight: 10
Script: <"
- if (strcharinfo(3) == "job3_arch02") {
+ if (strcharinfo(PC_MAP) == "job3_arch02") {
mercenary_create VALKYRIE_B, 1800000;
}
">
@@ -89847,7 +89847,7 @@ item_db: (
noauction: true
}
Script: <"
- if(strcharinfo(3)=="job3_war02") {
+ if(strcharinfo(PC_MAP)=="job3_war02") {
itemskill WL_FROSTMISTY,5;
}
">
@@ -89868,7 +89868,7 @@ item_db: (
noauction: true
}
Script: <"
- if(strcharinfo(3)=="job3_war02") {
+ if(strcharinfo(PC_MAP)=="job3_war02") {
itemskill WL_CRIMSONROCK,5;
}
">
@@ -89889,7 +89889,7 @@ item_db: (
noauction: true
}
Script: <"
- if(strcharinfo(3)=="job3_war02") {
+ if(strcharinfo(PC_MAP)=="job3_war02") {
itemskill WL_CHAINLIGHTNING,5;
}
">
@@ -89910,7 +89910,7 @@ item_db: (
noauction: true
}
Script: <"
- if(strcharinfo(3)=="job3_war02") {
+ if(strcharinfo(PC_MAP)=="job3_war02") {
itemskill WL_EARTHSTRAIN,5;
}
">
@@ -89935,7 +89935,7 @@ item_db: (
sitting: true
}
Script: <"
- if(strcharinfo(3)=="job3_rune02") {
+ if(strcharinfo(PC_MAP)=="job3_rune02") {
itemskill RK_CRUSHSTRIKE,1;
}
">
@@ -89960,7 +89960,7 @@ item_db: (
sitting: true
}
Script: <"
- if(strcharinfo(3)=="job3_rune02") {
+ if(strcharinfo(PC_MAP)=="job3_rune02") {
itemskill RK_STORMBLAST,1;
}
">
@@ -89985,7 +89985,7 @@ item_db: (
sitting: true
}
Script: <"
- if(strcharinfo(3)=="job3_rune02") {
+ if(strcharinfo(PC_MAP)=="job3_rune02") {
itemskill RK_MILLENNIUMSHIELD,1;
}
">
@@ -95252,7 +95252,7 @@ item_db: (
nogstorage: true
}
Script: <"
- warp strcharinfo(3),0,0; /* NOTE: Temporary script until we get the correct information. */
+ warp strcharinfo(PC_MAP),0,0; /* NOTE: Temporary script until we get the correct information. */
">
},
{