diff options
author | Haru <haru@dotalux.com> | 2013-12-26 01:34:12 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-12-30 16:08:20 +0100 |
commit | 21fa0901dc8723627c6970aa6eff97bc27e36533 (patch) | |
tree | 8890d4191c1ea44af96b6e51d8e149b1e885f043 /doc/sample/npc_test_skill.txt | |
parent | a9156de759bc444a5f7256b86f6c4bac6a1ab47d (diff) | |
download | hercules-21fa0901dc8723627c6970aa6eff97bc27e36533.tar.gz hercules-21fa0901dc8723627c6970aa6eff97bc27e36533.tar.bz2 hercules-21fa0901dc8723627c6970aa6eff97bc27e36533.tar.xz hercules-21fa0901dc8723627c6970aa6eff97bc27e36533.zip |
Modernized syntax and fixed errors in the sample scripts
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc/sample/npc_test_skill.txt')
-rw-r--r-- | doc/sample/npc_test_skill.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/sample/npc_test_skill.txt b/doc/sample/npc_test_skill.txt index cc6de3bbc..c26ed1b62 100644 --- a/doc/sample/npc_test_skill.txt +++ b/doc/sample/npc_test_skill.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= Hercules Dev Team //===== Current Version: ===================================== -//= 20130426 +//= 20131225 //===== Description: ========================================= //= Demonstrates the 'skill' command. //============================================================ @@ -16,20 +16,20 @@ // If flag is undefined, it defaults to 1 // View db/(pre-)re/skill_db.txt for skill IDs -prontera,157,182,0 script Skills 116,{ +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 142,1,0; // Permanently gives player level 1 First Aid + skill NV_FIRSTAID,1,0; // Permanently gives player level 1 First Aid close; case 2: - skill 143,1,0; // Permanently gives player level 1 Play Dead + skill NV_TRICKDEAD,1,0; // Permanently gives player level 1 Play Dead close; case 3: - skill 28,3,1; // Temporarily gives player level 3 Heal + skill AL_HEAL,3,1; // Temporarily gives player level 3 Heal close; case 4: - skill 10,1,3; // Permanently gives player level 1 Sight, even after skill resets/job changes + skill MG_SIGHT,1,3; // Permanently gives player level 1 Sight, even after skill resets/job changes close; case 5: close; |