Stat Training

From ADOM Wiki
Jump to: navigation, search

Formula

x = (Max(0,10-Learning)+10)*50  'x = 500 when Learning > 9
IF StatTrain>0 THEN:       // sort of, positive training is 5 times slower
 x = x + Stat*50 'x now = 1500 at stat = 20
ELSE
 x = x + Stat*10

(In other words, x = 500 + Max(0,((10 - Learning) * 50)) + (Stat * 50) )

IF Random(x)<Abs(StatTrain) AND
  Stat<99 AND
  (StatTrain<0 OR Stat<MaxStat)     // stop training up if at max potential
  THEN:
    Stat = Stat + Sign(StatTrain)          // You get +/- 1 stat point
    You get the corresponding message (Your muscles feel stronger etc.)
    StatTrain = Max(StatTrain-1000, 0)
       // note that due to this, negative training is reset
       // completely once it is applied

ELSE        // potential increasing
           // this will happen if training didn't occur for this stat

IF (Stat=MaxStat OR Random(10)=0) AND
  Random(750 + MaxStat*100) < Abs(StatTrain) AND
  MaxStat<99 AND
  StatTrain>0 THEN:
    Message "You feel good about your�%s potential."
    StatMax = StatMax+1
    StatTrain = Max(StatTrain-2000, 0)
END IF

StatTrain = Max(StatTrain-1000, 0)
 // 1000 stat points are removed anyway

Training Effects

Kicking Stairs Trains Strength by 20, Str / 2000 chance for stairs to collapse on you.
Plain Candy Trains toughness -5
Gnomish Candy Trains Toughness -50
Morgia Root trains toughness up to 25, 5d100+200; trains Willpower up to 25, 50d10. B/U/C DOESN'T MATTER.
Using Moss of Mareilon trains dex up to 25 (no higher than 5000 training), Cursed: -10d100, Blessed: 60d30+30, Uncursed: 10d100.
Cursed Carrot Juice Trains -6 Perception, Uncursed 1, Blessed 6.
Potion of Literacy trains Learning if you already have literacy: 20 if cursed, 100 if uncursed, 500 if blessed.
Toughness is trained 1d10 when you are cured of sickness?
Casting Knock (it has to do something) trains perception by 1.
Kicking down doors always/can train strength by 1.
If Str < 15, breaking webs trains str by 1.
Finding a secret door trains per by 1.
Managing to Cast spells or read a spellbook while confused/stunned trains willpower 1.
Casting Identify trains learning by 1.
disarming a trap trains perception & dex by 1.
sucessfully evading undiscovered traps in general trains mana 1.
catching a returning missle weapon trains dex 1. (dex / 20 chance to catch it)
evading door traps trains perception and/or dex by 1.
moving over a discovered pit trap trains dex by 1.
Using a pickaxe successfully on rock trains str by 1.
-train mana when using HP to cast spells, -1d500+500.  There is a 1/100 chance of this happening PER SpellCost (so if the spell costs 8, there are 8 1/100 checks to see if you get hit). 
Mana is trained by exactly the COST of the spell, even if book cast, when casting from PP. - this apparently also includes casting from a wand of wishing?
Mana is trained a lot when druid summons monsters.
every level up trains a stat by your level if it's not at potential max.  If str < 10, train by 100 at level up, if < 5 another 100.  Also with toughness.
also at level up, athletics trains appearance by skillamount / 2, and str, tou & dex by skillamount.  If < 10, train it by skillamount again (full, even for appearance) and again if < 5.
Successfully using Necromancy trains Mana by 2000 (but also gives -1Mana).



Being Burdened trains Strength 1 every turn? if strength is less than 15. (so up to 15)
Being Strained trains 1? a turn up to 16...? (possibly different between 12-15)
Strained! = 0-9: trains str 3, 10-13: trains str 2, 14-17: trains  str 1 (so up to 18)
Overburdened = 0-9: trains str 3, dex -2; 10-14: trains str 2, dex -2; 15-19: trains str 1, dex -2 (so up to 20)
Crushed = Trains To -2000, St -2000, Dx -2000

OfWeakness -Trains Str, OfSurrendering -Trains Will, OfFumbling -Trains Dex
Dull Rooms DO -Train Learning.

Training with Garth

GARTH:
Stat*    Cost     Training Ratio
00-15 -- 1000 --- 1000 --- 1
16-20 -- 2000 --- 500 ---- 4
21-25 -- 5000 --- 250 ---- 20
26-30 -- 7500 --- 150 ---- 50
31-35 -- 10000 -- 100 ---- 100
36+*  -- 1000 --- 1 ------ 1000

Add 1 gold to your total cost.
Add 1 to the stat for every 1000 or -500 exsisting training.
Add 1 to the stat for every time training is added (except the last check)


TRAIN:
1-10: 1001
11-14: 2001
15: 3001
16-18: 6001
19: 14001
20: 22001
21: 40001
22: 50001
23: 72501
24: 97501
25: 342501
26: 637501
27: 830001
28: 1022501
29: 1215001
30: 1407501
31: 1600001
32: 1740001
33: 1880001
34: 2020001
35: 2160001
36: 2300001
37: 2350001
38: 2400001
39: 2450001
40: 2500001
41: 2550001
42: 2600001
43: 2650001
44: 2700001
45: 2750001
46: 2800001
47: 2850001
48: 2900001
49: 2950001
50: 3000001
51: 3050001
52: 3100001
53: 3150001
54: 3200001
55: 3250001
56: 3300001
57: 3350001
58: 3400001
59: 3450001
60: 3500001
61: 3550001
62: 3600001
63: 3650001
64: 3700001
65: 3750001
66: 3800001
67: 3850001
68: 3900001
69: 3950001
70: 4000001
71: 4050001
72: 4100001
73: 4150001
74: 4200001
75: 4250001
76: 4300001
77: 4350001
78: 4400001
79: 4450001
80: 4500001
81: 4550001
82: 4600001
83: 4650001
84: 4700001
85: 4750001
86: 4800001
87: 4850001
88: 4900001
89: 4950001
90: 5000001
91: 5050001
92: 5100001
93: 5150001
94: 5200001
95: 5250001
96: 5300001
97: 5350001
98: 5400001


TRAIN AT MAX:
1-2: 1001
3-12: 2001
13: 3001
14: 4001
15: 7001
16: 10001
17: 18001
18: 31001
19: 51501
20: 94501
21: 462501
22: 807501
23: 1152501
24: 1497501
25: 1842501
26: 2187501
27: 2430001
28: 2672501
29: 2915001
30: 3157501
31: 3400001
32: 3590001
33: 3780001
34: 3970001
35: 4160001
36: 4350001
37: 4450001
38: 4550001
39: 4650001
40: 4750001
41: 4850001
42: 4950001
43: 5050001
44: 5150001
45: 5250001
46: 5350001
47: 5450001
48: 5550001
49: 5650001
50: 5750001
51: 5850001
52: 5950001
53: 6050001
54: 6150001
55: 6250001
56: 6350001
57: 6450001
58: 6550001
59: 6650001
60: 6750001
61: 6850001
62: 6950001
63: 7050001
64: 7150001
65: 7250001
66: 7350001
67: 7450001
68: 7550001
69: 7650001
70: 7750001
71: 7850001
72: 7950001
73: 8050001
74: 8150001
75: 8250001
76: 8350001
77: 8450001
78: 8550001
79: 8650001
80: 8750001
81: 8850001
82: 8950001
83: 9050001
84: 9150001
85: 9250001
86: 9350001
87: 9450001
88: 9550001
89: 9650001
90: 9750001
91: 9850001
92: 9950001
93: 10050001
94: 10150001
95: 10250001
96: 10350001
97: 10450001
98: 10550001