diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-03-06 10:13:30 +0100 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-03-06 10:37:22 +0100 |
commit | f90e54575306dc6391fc3348311626942fb3e111 (patch) | |
tree | 3131e1df4e18f2477882bcbe2341ae040206af12 /src/map/script.c | |
parent | 18cc2f2956470bfb50be7eaf1231f3f5529bc2c0 (diff) | |
download | hercules-f90e54575306dc6391fc3348311626942fb3e111.tar.gz hercules-f90e54575306dc6391fc3348311626942fb3e111.tar.bz2 hercules-f90e54575306dc6391fc3348311626942fb3e111.tar.xz hercules-f90e54575306dc6391fc3348311626942fb3e111.zip |
Rename ISF_IGNORECONDITIONS to ISF_CHECKCONDITIONS
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index 5714e5370..5a8907a87 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -11008,7 +11008,7 @@ static BUILDIN(itemskill) int flag = script_hasdata(st, 4) ? script_getnum(st, 4) : ISF_NONE; - sd->state.itemskill_no_conditions = ((flag & ISF_IGNORECONDITIONS) == ISF_IGNORECONDITIONS) ? 1 : 0; // Unset in pc_itemskill_clear(). + sd->state.itemskill_no_conditions = ((flag & ISF_CHECKCONDITIONS) == ISF_CHECKCONDITIONS) ? 1 : 0; // Unset in pc_itemskill_clear(). if (sd->state.itemskill_no_conditions == 0) { if (skill->check_condition_castbegin(sd, sd->skillitem, sd->skillitemlv) == 0 @@ -27860,7 +27860,7 @@ static void script_hardcoded_constants(void) script->constdb_comment("itemskill option flags"); script->set_constant("ISF_NONE", ISF_NONE, false, false); - script->set_constant("ISF_IGNORECONDITIONS", ISF_IGNORECONDITIONS, false, false); + script->set_constant("ISF_CHECKCONDITIONS", ISF_CHECKCONDITIONS, false, false); script->set_constant("ISF_INSTANTCAST", ISF_INSTANTCAST, false, false); script->set_constant("ISF_CASTONSELF", ISF_CASTONSELF, false, false); |