summaryrefslogtreecommitdiff
path: root/npc/magic/study.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-25 05:41:24 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-25 05:41:24 -0300
commitd16c6ac5483976be78a37b06da7a061f790a374f (patch)
tree007861b164026bb9ba52299e35ae1ecbcc481c0e /npc/magic/study.txt
parent4d41a58f181bef85e7626f97861935735eb14f67 (diff)
downloadserverdata-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.txt19
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;
+}
+