Skip to content

Commit

Permalink
Lightning creature spell provides less XP (#3510)
Browse files Browse the repository at this point in the history
Puts it inline with other abilities.
Also some cosmetic code changes by walter.

---------

Co-authored-by: Loobinex <[email protected]>
Co-authored-by: walter253 <[email protected]>
  • Loading branch information
3 people authored Oct 7, 2024
1 parent 3433621 commit 8fc6033
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion config/fxdata/magic.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ DamageType = Magical
HitType = 2
Speed = 256
MaxRange = 5120
BaseExperienceGain = 256
BaseExperienceGain = 32
DestroyOnHit = 0
TargetHitstopTurns = 6
Lighting = 10 52 0
Expand Down
16 changes: 8 additions & 8 deletions src/config_magic.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,32 +41,32 @@ enum SpellKinds {
SplK_FireBomb,
SplK_Freeze,
SplK_Armour,
SplK_Lightning,
SplK_Lightning, // 5
SplK_Rebound,
SplK_Heal,
SplK_PoisonCloud,
SplK_Invisibility,
SplK_Teleport,//[10]
SplK_Teleport, // 10
SplK_Speed,
SplK_Slow,
SplK_Drain,
SplK_Fear,
SplK_Missile,//[15]
SplK_Missile, // 15
SplK_NavigMissile,
SplK_FlameBreath,
SplK_Wind,
SplK_Light,
SplK_Fly,//[20]
SplK_Fly, // 20
SplK_Sight,
SplK_Grenade,
SplK_Hailstorm,
SplK_WordOfPower,//[24]
SplK_CrazyGas,
SplK_WordOfPower,
SplK_CrazyGas, // 25
SplK_Disease,
SplK_Chicken,
SplK_TimeBomb,//[28]
SplK_TimeBomb,
SplK_Lizard,
Splk_SummonFamiliar,
Splk_SummonFamiliar, // 30
Splk_SummonCreature,
};

Expand Down
7 changes: 5 additions & 2 deletions src/thing_shots.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,14 @@ enum ShotModels {
ShM_Disease,
ShM_Chicken,
ShM_TimeBomb,
ShM_TrapLightning, // 29
ShM_WordOfPower,
ShM_TrapLightning,
ShM_WordOfPower, // 30
ShM_TrapWordOfPower,
ShM_TrapTNT = 32,
ShM_RangedHeal = 33,
ShM_RangedSpeed = 34,
ShM_RangedArmour = 35,
ShM_RangedRebound = 36,
};

enum ShotFireLogics {
Expand Down

0 comments on commit 8fc6033

Please sign in to comment.