diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-03-06 10:19:59 +0100 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-03-06 10:37:22 +0100 |
commit | b20c47e05692f077f83bae42bb4dfca989ed7393 (patch) | |
tree | 7d7dd611084d102ccef929d372ef2b089d66c673 /src/map/script.c | |
parent | 6ae08c67adafd126b6046c8e38388ddd126b6766 (diff) | |
download | hercules-b20c47e05692f077f83bae42bb4dfca989ed7393.tar.gz hercules-b20c47e05692f077f83bae42bb4dfca989ed7393.tar.bz2 hercules-b20c47e05692f077f83bae42bb4dfca989ed7393.tar.xz hercules-b20c47e05692f077f83bae42bb4dfca989ed7393.zip |
Change validation of itemskill_check_conditions according to new name
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index fe5502aa7..a3c976b73 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -11010,7 +11010,7 @@ static BUILDIN(itemskill) sd->state.itemskill_check_conditions = ((flag & ISF_CHECKCONDITIONS) == ISF_CHECKCONDITIONS) ? 1 : 0; // Unset in pc_itemskill_clear(). - if (sd->state.itemskill_check_conditions == 0) { + if (sd->state.itemskill_check_conditions == 1) { if (skill->check_condition_castbegin(sd, sd->skillitem, sd->skillitemlv) == 0 || skill->check_condition_castend(sd, sd->skillitem, sd->skillitemlv) == 0) { pc->itemskill_clear(sd); |