Skip to content

Commit

Permalink
Lvl10 creatures cast better spells than lvl9 creatures (#3554)
Browse files Browse the repository at this point in the history
- in DK1 due to lvl10 spell bug, they had wildly inappropriate values
- KeeperFX fixed that (long ago) by having all lvl10 creatures use lvl9 spells
- This change will make lvl10 creatures better compared to lvl9 creatures, similar to how lvl9 is better than lvl8
- Also significantly changed heal values for the power and creature, making it grow %35 per level (like creature health).

---------

Co-authored-by: Loobinex <[email protected]>
  • Loading branch information
walt253 and Loobinex authored Nov 17, 2024
1 parent 81df89f commit 68fad32
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 16 deletions.
28 changes: 14 additions & 14 deletions config/fxdata/magic.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1579,7 +1579,7 @@ PointerSprites = 136
PanelTabIndex = 3
SoundSamples = 828
SoundPlayed = 51
Power = 576 640 704 768 832 896 960 1024 1088 1088
Power = 576 640 704 768 832 896 960 1024 1088 1152
Cost = 50 60 70 80 90 100 110 120 130
Castability = ANYWHERE UNREVEALED
Artifact = SPELLBOOK_SOE
Expand All @@ -1599,7 +1599,7 @@ PanelTabIndex = 6
SoundSamples = 826
; 870, 84 or 871, and 872 are alternatives fanfares.
SoundPlayed = 83
Power = 10 15 20 25 30 35 40 45 50 50
Power = 10 15 20 25 30 35 40 45 50 55
Cost = 1 2 3 4 5 6 7 8 9
Duration = 1
Castability = ALL_GROUND
Expand All @@ -1619,7 +1619,7 @@ PointerSprites = 120
PanelTabIndex = 9
SoundSamples = 837
SoundPlayed = 927
Power = 0 5 6 7 8 9 10 11 12 12
Power = 0 5 6 7 8 9 10 11 12 13
Cost = 1000 1200 1400 1600 1800 2000 2200 2400 2600
Duration = 100
Castability = ALL_GROUND REVEALED_TEMP
Expand All @@ -1639,8 +1639,8 @@ PointerSprites = 104
PanelTabIndex = 10
SoundSamples = 829
SoundPlayed = 37
Power = 80 120 160 210 280 360 480 680 950 950
Cost = 300 400 500 600 700 800 900 1000 1200
Power = 200 270 350 420 490 560 630 700 770 830
Cost = 300 400 500 600 700 800 900 1000 1100
Duration = 16
Castability = ALL_GROUND OWNED_CRTRS ALLIED_CRTRS BOUND_CRTRS CUSTODY_CRTRS
Artifact = SPELLBOOK_HEAL
Expand Down Expand Up @@ -1679,7 +1679,7 @@ PointerSprites = 88
PanelTabIndex = 11
SoundSamples = 833
SoundPlayed = 55
Power = 3 4 5 7 9 12 14 16 30 30
Power = 3 4 5 7 9 12 14 16 30 36
Cost = 600 1200 1300 1700 1800 2000 2200 2400 3000
Cooldown = 20
Castability = ALL_GROUND REVEALED_TEMP NEEDS_DELAY
Expand All @@ -1700,7 +1700,7 @@ PanelTabIndex = 4
SoundSamples = 838
; 938 is an alternative power speed sound.
SoundPlayed = 38
Power = 300 400 500 600 700 800 900 1000 1100 1100
Power = 300 400 500 600 700 800 900 1000 1100 1200
Cost = 100 200 300 400 500 600 700 800 900
Castability = ALL_GROUND OWNED_CRTRS ALLIED_CRTRS BOUND_CRTRS CUSTODY_CRTRS
Artifact = SPELLBOOK_SPDC
Expand All @@ -1720,7 +1720,7 @@ PointerSprites = 112
PanelTabIndex = 12
SoundSamples = 825
SoundPlayed = 153
Power = 300 400 500 600 700 800 900 1000 1100 1100
Power = 300 400 500 600 700 800 900 1000 1100 1200
Cost = 100 200 300 400 500 600 700 800 900
Castability = ALL_GROUND OWNED_CRTRS ALLIED_CRTRS BOUND_CRTRS
Artifact = SPELLBOOK_PROT
Expand All @@ -1740,7 +1740,7 @@ PointerSprites = 48
PanelTabIndex = 7
SoundSamples = 832
SoundPlayed = 154
Power = 300 400 500 600 700 800 900 1000 1100 1100
Power = 300 400 500 600 700 800 900 1000 1100 1200
Cost = 100 200 300 400 500 600 700 800 900
Castability = ALL_GROUND OWNED_CRTRS ALLIED_CRTRS BOUND_CRTRS
Artifact = SPELLBOOK_CONCL
Expand All @@ -1760,7 +1760,7 @@ PointerSprites = 64
PanelTabIndex = 14
SoundSamples = 835
SoundPlayed = 59
Power = 300 400 500 600 700 800 900 1000 1100 1100
Power = 300 400 500 600 700 800 900 1000 1100 1200
Cost = 7000 7200 7400 7600 7800 8000 8200 8400 9000
Castability = OWNED_GROUND ALLIED_GROUND ENEMY_CRTRS CUSTODY_CRTRS
Artifact = SPELLBOOK_DISEASE
Expand All @@ -1780,7 +1780,7 @@ PointerSprites = 56
PanelTabIndex = 13
SoundSamples = 827
SoundPlayed = 109
Power = 300 350 400 450 500 550 600 650 1000 1000
Power = 300 350 400 450 500 550 600 650 1000 1100
Cost = 1200 1300 1400 1500 1600 1700 1800 1900 3000
Duration = 10
Castability = OWNED_GROUND ALLIED_GROUND ENEMY_CRTRS CUSTODY_CRTRS
Expand All @@ -1801,7 +1801,7 @@ PointerSprites = 72
PanelTabIndex = 16
SoundSamples = 839
SoundPlayed = 73
Power = 0 1 2 3 4 5 6 7 8 8
Power = 0 1 2 3 4 5 6 7 8 9
Cost = 10000 12000 14000 16000 18000 20000 22000 24000 26000
Castability = ALL_TALL CLAIMABLE
Artifact = SPELLBOOK_DWAL
Expand All @@ -1820,7 +1820,7 @@ PointerSprites = 182
PanelTabIndex = 18
SoundSamples = 0
SoundPlayed = 0
Power = 40 60 80 100 120 140 160 180 200 200
Power = 40 60 80 100 120 140 160 180 200 220
Cost = 2000 2100 2200 2300 2400 2500 2600 2700 2800
Cooldown = 30
Castability = ALL_GROUND ONLY_DIGGERS OWNED_CRTRS BOUND_CRTRS NEEDS_DELAY
Expand Down Expand Up @@ -2027,7 +2027,7 @@ PointerSprites = 336
PanelTabIndex = 19
SoundSamples = 0
SoundPlayed = 923
Power = 576 640 704 768 832 896 960 1024 1088 1088
Power = 576 640 704 768 832 896 960 1024 1088 1152
Cost = 100 200 300 400 500 600 700 800 900
Castability = ALL_GROUND OWNED_CRTRS ALLIED_CRTRS BOUND_CRTRS
Artifact = SPELLBOOK_VSN
Expand Down
52 changes: 50 additions & 2 deletions levels/classic_cfgs/magic.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
[shot4]
Name = SHOT_LIGHTNING
BaseExperienceGain = 256
Properties = REBOUND_IMMUNE WIND_IMMUNE

[shot12]
Name = SHOT_DRAIN
Expand All @@ -15,6 +14,55 @@ Name = SHOT_ARROW
Damage = 30
Properties =

[power5]
Name = POWER_SIGHT
Power = 576 640 704 768 832 896 960 1024 1088 1088

[power6]
Name = POWER_CALL_TO_ARMS
Power = 10 15 20 25 30 35 40 45 50 50

[power7]
Name = POWER_CAVE_IN
Power = 0 5 6 7 8 9 10 11 12 12

[power8]
Name = POWER_HEAL_CREATURE
Power = 80 120 160 210 260 360 480 680 950
Power = 80 120 160 210 260 360 480 680 950 950
Cost = 300 400 500 600 700 800 900 1000 1200

[power10]
Name = POWER_LIGHTNING
Power = 3 4 5 7 9 12 14 16 30 30

[power11]
Name = POWER_SPEED
Power = 300 400 500 600 700 800 900 1000 1100 1100

[power12]
Name = POWER_PROTECT
Power = 300 400 500 600 700 800 900 1000 1100 1100

[power13]
Name = POWER_CONCEAL
Power = 300 400 500 600 700 800 900 1000 1100 1100

[power14]
Name = POWER_DISEASE
Power = 300 400 500 600 700 800 900 1000 1100 1100

[power15]
Name = POWER_CHICKEN
Power = 300 350 400 450 500 550 600 650 1000 1000

[power16]
Name = POWER_DESTROY_WALLS
Power = 0 1 2 3 4 5 6 7 8 8

[power17]
Name = POWER_TIME_BOMB
Power = 40 60 80 100 120 140 160 180 200 200

[power27]
Name = POWER_VISION
Power = 576 640 704 768 832 896 960 1024 1088 1088

0 comments on commit 68fad32

Please sign in to comment.