From b9431998463f5c072bdd38df18bbb6210c7e3297 Mon Sep 17 00:00:00 2001 From: jaBote Date: Fri, 26 Apr 2013 20:38:48 +0200 Subject: 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 --- doc/sample/npc_test_skill.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'doc/sample') 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; } } -- cgit v1.2.3-60-g2f50