diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-25 05:41:24 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-25 05:41:24 -0300 |
commit | d16c6ac5483976be78a37b06da7a061f790a374f (patch) | |
tree | 007861b164026bb9ba52299e35ae1ecbcc481c0e /npc/magic/study.txt | |
parent | 4d41a58f181bef85e7626f97861935735eb14f67 (diff) | |
download | serverdata-d16c6ac5483976be78a37b06da7a061f790a374f.tar.gz serverdata-d16c6ac5483976be78a37b06da7a061f790a374f.tar.bz2 serverdata-d16c6ac5483976be78a37b06da7a061f790a374f.tar.xz serverdata-d16c6ac5483976be78a37b06da7a061f790a374f.zip |
Prepare a new skill: TMW2_STUDY
Diffstat (limited to 'npc/magic/study.txt')
-rw-r--r-- | npc/magic/study.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/npc/magic/study.txt b/npc/magic/study.txt new file mode 100644 index 000000000..3176643ef --- /dev/null +++ b/npc/magic/study.txt @@ -0,0 +1,19 @@ +// TMW2 script +// Author: Jesusalva <admin@tmw2.org> +// +// Magic Script: TMW2_STUDY +// +// Skill to study a target monster +// Will report the monster exact current stats, and is part of research + +function script SK_study { + .@mobGD=getarg(0); + if (getunittype(.@mobGD) != UNITTYPE_MOB) { + dispbottom l("This skill can only be used on monsters!"); + } + .@mobID=getunitdata(.@mobGD, UDT_CLASS); + // getmonsterinfo(.@mobID, ) + // getunitdata(.@mobGD, ) + return; +} + |