1 //===== rAthena Script =======================================
3 //===== By: ==================================================
5 //===== Last Updated: ========================================
7 //===== Description: =========================================
8 //= Demonstrates the 'skill' command.
9 //============================================================
11 // skill <skill id>,<level>{,<flag>};
12 // flag=0 Grants the skill permanently
13 // flag=1 Grants the skill temporarily
14 // flag=2 Level bonus, stackable
15 // If flag is undefined, it defaults to 1
16 // View db/(pre-)re/skill_db.txt for skill IDs
18 prontera,157,182,0 script Skills 116,{
19 mes "What skill would you like?";
21 switch(select("First Aid:Play Dead:Heal:None")) {
23 skill "NV_FIRSTAID",1,0; // Permanently gives player level 1 First Aid
26 skill "NV_TRICKDEAD",1,0; // Permanently gives player level 1 Play Dead
29 skill "AL_HEAL",3,1; // Temporarily gives player level 3 Heal