diff options
author | thatakkarin <thatakkarin@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-09-01 11:15:26 +0000 |
---|---|---|
committer | thatakkarin <thatakkarin@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-09-01 11:15:26 +0000 |
commit | bffeea2b80bb28a8e5687d56f75d738121176c4e (patch) | |
tree | 619ad47e112e6441cd3f6b68e76fd4f6304fdd4e /doc/sample/npc_test_skill.txt | |
parent | 6de70cf88cbd8413f6a691524cf60f7f5b337281 (diff) | |
download | hercules-bffeea2b80bb28a8e5687d56f75d738121176c4e.tar.gz hercules-bffeea2b80bb28a8e5687d56f75d738121176c4e.tar.bz2 hercules-bffeea2b80bb28a8e5687d56f75d738121176c4e.tar.xz hercules-bffeea2b80bb28a8e5687d56f75d738121176c4e.zip |
Converted sample Function and Skill scripts into plain English. More to follow.
Also, Akkarin's first commit!
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16730 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/sample/npc_test_skill.txt')
-rw-r--r-- | doc/sample/npc_test_skill.txt | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/doc/sample/npc_test_skill.txt b/doc/sample/npc_test_skill.txt index 55864a117..8d7d88dfe 100644 --- a/doc/sample/npc_test_skill.txt +++ b/doc/sample/npc_test_skill.txt @@ -1,19 +1,24 @@ -// スキル所得テスト +// Giving skills to characters via an NPC -// skill スキルID ,スキルLV [,フラグ]; -// フラグは省略可能、省略時は1。 -// フラグ=1でカードなどの一時的な所得、 -// フラグ=2でクエストなどによる恒久的な所得(skill_tree.txtに依存) +// skill <skill id>,<level>{,<flag>}; +// flag=0 Grants the skill permanently +// flag=1 Grants the skill temporarily +// flag=2 Level bonus, stackable +// If flag is undefined, it defaults to 1 +// View db/(pre-)re/skill_db.txt for skill IDs -prontera,157,182,0 script スキル所得テスト 116,{ - mes "スキル所得テスト"; - menu "応急処置所得",L_GETSKILL142,"死んだ振り所得",L_GETSKILL143,"やめる",L_YAME; +prontera,157,182,0 script Skills 116,{ + mes "What skill would you like?"; + menu "First Aid",L_GETSKILL142,"Play Dead",L_GETSKILL143,"Heal",L_GETSKILL28,"None",L_YAME; L_GETSKILL142: - skill 142,1,0; + skill 142,1,0; // Permanently gives player level 1 First Aid close; L_GETSKILL143: - skill 143,1,0; + skill 143,1,0; // Permanently gives player level 1 Play Dead + close; +L_GETSKILL28: + skill 28,3,1; // Temporarily gives player level 3 Heal close; L_YAME: close; -}
\ No newline at end of file +} |