# \[Not a bug\] Shahbanu Vespera magic miscalc

**URL:** https://community.gemsofwar.com/t/not-a-bug-shahbanu-vespera-magic-miscalc/82332
**Category:** Bug Reports
**Created:** [November 25, 2023, 5:57pm UTC](https://community.gemsofwar.com/t/not-a-bug-shahbanu-vespera-magic-miscalc/82332 "2023-11-25T17:57:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Rosenkreuz1979](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/rosenkreuz1979/32/61425_2.png) [@Rosenkreuz1979](https://community.gemsofwar.com/u/Rosenkreuz1979)
#### Post date: [November 25, 2023, 5:57pm UTC](https://community.gemsofwar.com/t/not-a-bug-shahbanu-vespera-magic-miscalc/82332/1 "2023-11-25T17:57:50Z")

</div>

**Platform, device version and operating system:**  
PS5

**Screenshot or image:**

 ![001](https://us1.discourse-cdn.com/flex019/uploads/gemsofwar/original/3X/7/a/7a1be2cd004d3e1bc3b2a5a989c28f818af0c50a.jpeg)  
 ![18c079881ab41-screenshotUrl](https://us1.discourse-cdn.com/flex019/uploads/gemsofwar/original/3X/5/1/513e90ebee04722ab06bcff2e5a9d36c6efd0d73.jpeg)  
 ![18c0798bab675-screenshotUrl](https://us1.discourse-cdn.com/flex019/uploads/gemsofwar/original/3X/7/e/7eff9d713108ac183038b8106654dc7ff6276b72.jpeg)

**What you were expecting to happen, and what actually happened:**  
The “Three wishes” spell tells: Adds X magic to the random parameter of a troop. In the example there is a sequence of adding the Magic parameter, which does not match to the description:

Gives 95 to a random parameter \> 95+95=190, not 142  
Gives 142 to a random parameter \> 142+142= 284, not 213

Either you have some difficulties with math classes or there is a bug in calculations

**How often does this happen? When did it begin happening?**  
All the time

**Steps to make it happen again**  
Add Shahbanu to the team and try applying spell to herself multiple times, checking which parameter was increased

---

<div class="post-metadata">

### Author: ![Voq](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/voq/32/54089_2.png) [@Voq](https://community.gemsofwar.com/u/Voq)
#### Post date: [November 25, 2023, 6:12pm UTC](https://community.gemsofwar.com/t/not-a-bug-shahbanu-vespera-magic-miscalc/82332/2 "2023-11-25T18:12:06Z")

</div>

It’s not immediately apparent from the spell card, but her spell is:

> Give **[(Magic / 2) + 1]** to a random Skill on an Ally. Create 9 Gems of their Mana Color. Then repeat 2 more times for random Allies.

---

<div class="post-metadata">

### Author: ![Jerry\_the\_skunk](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/jerry_the_skunk/32/53897_2.png) [@Jerry\_the\_skunk](https://community.gemsofwar.com/u/Jerry_the_skunk)
#### Post date: [November 25, 2023, 7:41pm UTC](https://community.gemsofwar.com/t/not-a-bug-shahbanu-vespera-magic-miscalc/82332/3 "2023-11-25T19:41:35Z")

</div>

As said above, the math works correctly. If you look at the magic value, it goes up by the right amount. 188 + 95 = 283 ; 283 + 142 = 425.  
It is just, that only half the magic value is applied to the spell variable, which maxes out at 501 (with 1000 magic).

---

<div class="post-metadata">

### Author: ![Stratelier](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@Stratelier](https://community.gemsofwar.com/u/Stratelier)
#### Post date: [November 25, 2023, 11:42pm UTC](https://community.gemsofwar.com/t/not-a-bug-shahbanu-vespera-magic-miscalc/82332/4 "2023-11-25T23:42:11Z")

</div>

Correct, not all spells have a 1:1 correlation between the Magic stat and actual spell effect but since most spells do it’s easy to overlook it when you have a spell that does not.
