View Single Post
  #4  
Old 03-14-2005, 03:08 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default quest::addskill

quest::addskill

Explaination: Increases the players skill in the skill you choose by the amount you choose.

Full Command: quest::addskill(skill,value)

skill = See the list below for a list of possible skill numbers to use.

0 - 1H Blunt
1 - 1H Slashing
2 - 2H Blunt
3 - 2H Slashing
4 - Abjuration
5 - Alteration
6 - Apply Poison
7 - Archery
8 - Backstab
9 - Bind Wound
10 - Bash
11 - Block
12 - Brass Instruments
13 - Channeling
14 - Conjuration
15 - Defense
16 - Disarm
17 - Disarm Traps
18 - Divination
19 - Dodge
20 - Double Attack
21 - Dragon Punch
22 - Duel Wield
23 - Eagle Strike
24 - Evocation
25 - Feign Death
26 - Flying Kick
27 - Forage
28 - Hand To Hand
29 - Hide
30 - Kick
31 - Meditate
32 - Mend
33 - Offense
34 - Parry
35 - Pick Lock
36 - Piercing
37 - Riposte
38 - Round Kick
39 - Safe Fall
40 - Sense Heading
41 - Sing
42 - Sneak
43 - Specialize Abjure
44 - Specialize Alteration
45 - Specialize Conjuration
46 - Specialize Divinatation
47 - Specialize Evocation
48 - Pick Pockets
49 - Stringed Instruments
50 - Swimming
51 - Throwing
52 - Tiger Claw
53 - Tracking
54 - Wind Instruments
55 - Fishing
56 - Make Poison
57 - Tinkering
58 - Research
59 - Alchemy
60 - Baking
61 - Tailoring
62 - Sense Traps
63 - Blacksmithing
64 - Fletching
65 - Brewing
66 - Alcohol Tolerance
67 - Begging
68 - Jewelry Making
69 - Pottery
70 - Percussion Instruments
71 - Intimidation
72 - Berserking
73 - Taunt

value = the amount that you want to be added to the player skill.

Example:

# After hailing the NPC the playesr baking skill is increased by 5.

sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::addskill(60,5);
}
}
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com