summaryrefslogtreecommitdiff
path: root/doc/sample/npc_test_skill.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-05 11:34:32 +0300
committerAndrei Karas <akaras@inbox.ru>2019-05-14 00:57:16 +0300
commit3f51713e4e8a1f5d1ad191d5355857b693b2a931 (patch)
tree1d822b545ad583135f31cf22be49e88beee3abab /doc/sample/npc_test_skill.txt
parent93239a58ba253b03d5aade35c47c144b24e129dd (diff)
downloadhercules-3f51713e4e8a1f5d1ad191d5355857b693b2a931.tar.gz
hercules-3f51713e4e8a1f5d1ad191d5355857b693b2a931.tar.bz2
hercules-3f51713e4e8a1f5d1ad191d5355857b693b2a931.tar.xz
hercules-3f51713e4e8a1f5d1ad191d5355857b693b2a931.zip
Remove conf dir.
Diffstat (limited to 'doc/sample/npc_test_skill.txt')
-rw-r--r--doc/sample/npc_test_skill.txt37
1 files changed, 0 insertions, 37 deletions
diff --git a/doc/sample/npc_test_skill.txt b/doc/sample/npc_test_skill.txt
deleted file mode 100644
index c26ed1b62..000000000
--- a/doc/sample/npc_test_skill.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-//===== Hercules Script =======================================
-//= Sample: Skill
-//===== By: ==================================================
-//= Hercules Dev Team
-//===== Current Version: =====================================
-//= 20131225
-//===== Description: =========================================
-//= Demonstrates the 'skill' command.
-//============================================================
-
-// skill <skill id>,<level>{,<flag>};
-// flag=0 Grants the skill permanently
-// flag=1 Grants the skill temporarily
-// flag=2 Level bonus, stackable
-// flag=3 Grants the skill permanently even after skill resets/job changes
-// If flag is undefined, it defaults to 1
-// View db/(pre-)re/skill_db.txt for skill IDs
-
-prontera,157,182,0 script Skills 4_F_KAFRA2,{
- mes "What skill would you like?";
- switch(select("First Aid:Play Dead:Heal:Sight:None")) {
- case 1:
- skill NV_FIRSTAID,1,0; // Permanently gives player level 1 First Aid
- close;
- case 2:
- skill NV_TRICKDEAD,1,0; // Permanently gives player level 1 Play Dead
- close;
- case 3:
- skill AL_HEAL,3,1; // Temporarily gives player level 3 Heal
- close;
- case 4:
- skill MG_SIGHT,1,3; // Permanently gives player level 1 Sight, even after skill resets/job changes
- close;
- case 5:
- close;
- }
-}