1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
//===== Hercules Script =======================================
//= Sample: Skill
//===== By: ==================================================
//= Hercules Dev Team
//===== Current Version: =====================================
//= 20130426
//===== Description: =========================================
//= Demonstrates the 'skill' command.
//============================================================
// skill <skill id>,<level>{,<flag>};
// 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:Sight:None")) {
case 1:
skill 142,1,0; // Permanently gives player level 1 First Aid
close;
case 2:
skill 143,1,0; // Permanently gives player level 1 Play Dead
close;
case 3:
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;
}
}
|