-
- Downloads
Apply spells immediately on cast
This fixes a crash when BattleController would pick a unit to target using EphemeralAllegiance, and then that unit would move before the spell was applied. AdrenalineShot was correspondingly changed to apply on turnsSinceCast = 1, and extended with 1 turn duration, to keep the past behavior. EphemeralAllegiance was also extended with 1 duration because it's not much help the first turn, since the caster presumably has used their action points. Closes #64
parent
64e9e0d6
No related branches found
No related tags found
Showing
- core/src/se/battlegoo/battlegoose/controllers/BattleController.kt 4 additions, 2 deletions.../se/battlegoo/battlegoose/controllers/BattleController.kt
- core/src/se/battlegoo/battlegoose/models/spells/AdrenalineShotActiveSpell.kt 7 additions, 5 deletions...oo/battlegoose/models/spells/AdrenalineShotActiveSpell.kt
- core/src/se/battlegoo/battlegoose/models/spells/AdrenalineShotSpell.kt 1 addition, 1 deletion...attlegoo/battlegoose/models/spells/AdrenalineShotSpell.kt
- core/src/se/battlegoo/battlegoose/models/spells/EphemeralAllegianceSpell.kt 2 additions, 1 deletion...goo/battlegoose/models/spells/EphemeralAllegianceSpell.kt
- core/test/se/battlegoo/battlegoose/SpellTest.kt 6 additions, 1 deletioncore/test/se/battlegoo/battlegoose/SpellTest.kt
Please register or sign in to comment