summaryrefslogtreecommitdiff
path: root/doc/sample
diff options
context:
space:
mode:
authorjaBote <j@bot.e>2013-04-26 20:38:48 +0200
committerjaBote <j@bot.e>2013-04-26 20:38:48 +0200
commitb9431998463f5c072bdd38df18bbb6210c7e3297 (patch)
tree6314b7326692b263e53d6858d46fb6613d418ad9 /doc/sample
parent1f6360f2e157d8eb742a32baed4c5ec7c68c0ef1 (diff)
downloadhercules-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')
-rw-r--r--doc/sample/npc_test_skill.txt10
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;
}
}