summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-01-20 10:30:03 +0100
committerHaru <haru@dotalux.com>2020-02-09 23:46:56 +0100
commita67dddb0c21be9c6ceeb174db023d3b9db4a9db9 (patch)
tree670ad532f64967f2c6ace1ba678c4e6f57a4c1d2 /src/map/script.h
parent38a504a04a2c864938ef3e105d0ce22332ff0b7a (diff)
downloadhercules-a67dddb0c21be9c6ceeb174db023d3b9db4a9db9.tar.gz
hercules-a67dddb0c21be9c6ceeb174db023d3b9db4a9db9.tar.bz2
hercules-a67dddb0c21be9c6ceeb174db023d3b9db4a9db9.tar.xz
hercules-a67dddb0c21be9c6ceeb174db023d3b9db4a9db9.zip
Added a new option flag to itemskill() script command to be able to forcefully cast skill on on invoking character.
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 8167a9efd..857d22c61 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -571,6 +571,7 @@ enum itemskill_flag {
ISF_NONE = 0x00,
ISF_IGNORECONDITIONS = 0x01, // Ignore skill conditions and don't consume them.
ISF_INSTANTCAST = 0x02, // Cast skill instantaneously.
+ ISF_CASTONSELF = 0x04, // Forcefully cast skill on invoking character without showing the target selection cursor.
};
/**