diff options
author | jaBote <j@bot.e> | 2013-04-26 20:38:48 +0200 |
---|---|---|
committer | jaBote <j@bot.e> | 2013-04-26 20:38:48 +0200 |
commit | b9431998463f5c072bdd38df18bbb6210c7e3297 (patch) | |
tree | 6314b7326692b263e53d6858d46fb6613d418ad9 /doc/sample/npc_test_skill.txt | |
parent | 1f6360f2e157d8eb742a32baed4c5ec7c68c0ef1 (diff) | |
download | hercules-b9431998463f5c072bdd38df18bbb6210c7e3297.tar.gz hercules-b9431998463f5c072bdd38df18bbb6210c7e3297.tar.bz2 hercules-b9431998463f5c072bdd38df18bbb6210c7e3297.tar.xz hercules-b9431998463f5c072bdd38df18bbb6210c7e3297.zip |
Some minor changes:
* Removed some forgotten references to rAthena.
* Updated script_commands.txt for an upcoming script command modification by @shennetsind.
* Corrected a typo in is_upper script command example.
* Updated doc/sample/npc_test_skill.txt to reflect the type 3 flag.
Signed-off-by: jaBote <j@bot.e>
Diffstat (limited to 'doc/sample/npc_test_skill.txt')
-rw-r--r-- | doc/sample/npc_test_skill.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/sample/npc_test_skill.txt b/doc/sample/npc_test_skill.txt index 1168014ea..cc6de3bbc 100644 --- a/doc/sample/npc_test_skill.txt +++ b/doc/sample/npc_test_skill.txt @@ -1,9 +1,9 @@ //===== Hercules Script ======================================= //= Sample: Skill //===== By: ================================================== -//= rAthena Dev Team +//= Hercules Dev Team //===== Current Version: ===================================== -//= 20121003 +//= 20130426 //===== Description: ========================================= //= Demonstrates the 'skill' command. //============================================================ @@ -12,12 +12,13 @@ // 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 116,{ mes "What skill would you like?"; - switch(select("First Aid:Play Dead:Heal:None")) { + switch(select("First Aid:Play Dead:Heal:Sight:None")) { case 1: skill 142,1,0; // Permanently gives player level 1 First Aid close; @@ -28,6 +29,9 @@ prontera,157,182,0 script Skills 116,{ skill 28,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 + close; + case 5: close; } } |