Skip to content

Commit

Permalink
fix Ray of Enfeeblement to be recurrent on activation and turn start
Browse files Browse the repository at this point in the history
  • Loading branch information
ThyWoof committed Jan 18, 2024
1 parent 16d0c90 commit ae12827
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions SolastaUnfinishedBusiness/ChangelogHistory.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- fixed main action spells interaction with action switching allowing bonus spells to be cast
- fixed Roguish Slayer elimination feature not triggering on magical attacks
- fixed vanilla Cloud Kill and Incendiary Cloud spells not triggering on activation
- fixed vanilla Ray of Enfeeblement to be recurrent on activation and turn start

1.5.94.42:

Expand Down
5 changes: 5 additions & 0 deletions SolastaUnfinishedBusiness/Models/FixesContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,11 @@ private static void FixMinorSpellIssues()
InsectPlague.EffectDescription.EffectForms[0].hasSavingThrow = true;
InsectPlague.EffectDescription.EffectForms[0].savingThrowAffinity = EffectSavingThrowType.HalfDamage;

//BUGFIX: Ray of Enfeeblement should be recurrent on activation and turn start
RayOfEnfeeblement.EffectDescription.EffectForms[0].canSaveToCancel = true;
RayOfEnfeeblement.EffectDescription.recurrentEffect =
RecurrentEffect.OnActivation | RecurrentEffect.OnTurnStart;

//BUGFIX: Sorcerers should have Insect Plague at level 5
SpellListSorcerer.SpellsByLevel.FirstOrDefault(x => x.Level == 5)!.Spells.Add(InsectPlague);

Expand Down

0 comments on commit ae12827

Please sign in to comment.