summaryrefslogtreecommitdiff
path: root/doc/sample
diff options
context:
space:
mode:
authorshennetsind <notind@gmail.com>2013-05-04 08:46:28 -0700
committershennetsind <notind@gmail.com>2013-05-04 08:46:28 -0700
commitbedb124ca9876de6baa90dbf013fec54786bf760 (patch)
tree4af5e8e4fb38ca45ca1408d494c33bf0b5ee5ef8 /doc/sample
parentc70868dd525a69d84cd53ac905291f1738eded55 (diff)
parent1e5e8f5f42abb2cd42ad7ecf8e07439b8a1c570b (diff)
downloadhercules-bedb124ca9876de6baa90dbf013fec54786bf760.tar.gz
hercules-bedb124ca9876de6baa90dbf013fec54786bf760.tar.bz2
hercules-bedb124ca9876de6baa90dbf013fec54786bf760.tar.xz
hercules-bedb124ca9876de6baa90dbf013fec54786bf760.zip
Merge pull request #23 from jaBote/master
Some minor changes. I'll be committing a script.c change to reflect these documentation changes within the next few minutes.
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;
}
}