Warding stacking problem

If you find a bug please report it here

Warding stacking problem

Postby Chazar » Wed Dec 19, 2012 10:47 pm

Individual warding and group warding does not seem to stack:

A yeti with 30 personal warding and a L1 ranger with 10 group warding attacked a neutral wolf, which in V0.9 has 16 ambush again (beware neutral ambushers) :twisted: The battle info displayed a limit of 11 for the wolf to ambush. The rules for warding were outlined by piranha.

Now 100-(30+10) would be 60% and 0.6*0.16= would be 9.6 -> 9
(since everywhere else, warbarons seems to truncate instead of rounding).

Otherwise 100-30 = 70 and 0.7*0.16 = 11.2 -> 11

So I deduce that group warding does not stack with individual warding. Is this a bug, or is it a feature?! If it is a feature, it would be inconsistent with they way other bonuses are stacking (or used to stack in V0.8).

PS: I actually just tested it. Attacking with a yeti on its own also displayed the wolf's ambush at 11, so it does not stack.
Chazar
 
Posts: 670
Joined: Tue Feb 28, 2012 7:51 pm

Re: Warding stacking problem

Postby piranha » Thu Dec 20, 2012 6:03 am

Thats a bug. Will check.
User avatar
piranha
Site Admin
 
Posts: 1188
Joined: Fri Feb 12, 2010 9:44 pm

Re: Warding stacking problem

Postby piranha » Thu Dec 20, 2012 6:57 am

Works now, thanks for reporting.
User avatar
piranha
Site Admin
 
Posts: 1188
Joined: Fri Feb 12, 2010 9:44 pm

Re: Warding stacking problem

Postby KGB » Thu Jan 17, 2013 5:20 pm

Piranha,

There seems to be another bug here now with Warding.

Game 35430 (look)

Last turn (turn 26) my opponent attacked my stack containing a L1 Ranger with his L1 Assassin. On the battle screen it shows his Group Ambush value at 7 which makes sense given my 10% Warding from the Ranger. However when you mouse over the individual units it shows as 5. When you click the 'i' button for more details you can in fact see the game was rolling the Ambush roll against 5. So the display is good but the internal calculations being used aren't right.

KGB
KGB
 
Posts: 3030
Joined: Tue Feb 16, 2010 12:06 am

Re: Warding stacking problem

Postby Chazar » Thu Jan 17, 2013 5:30 pm

Sounds like the ranger's personal warding of 20 also being treated as group warding now?! Or was she at the front?

Personal warding is not shown at all: if a L1 Ranger attacks an Orc, the orc is shown to have +5 Ambush, but in reality the die roll is made against 4 (as it should be due to her personal warding). However, the mouseover on the ranger does not show her personal warding. I would suggest that the ambush value displayed ought to be updated for the front line troop, as done for anti-air.
Chazar
 
Posts: 670
Joined: Tue Feb 28, 2012 7:51 pm

Re: Warding stacking problem

Postby KGB » Thu Jan 17, 2013 5:52 pm

Chazar,

The Ranger was last (and the only survivor). I too thought it might be her personal warding when I saw the mouse over being only 5. That's why I checked all the battle rolls and they were all against a 5 when only the one against a Ranger should have been 5. My guess is that when Piranha fixed the bug you reported he ended up creating this one by stacking her personal warding to the group warding for all units instead of just the Ranger.

I agree her personal warding needs to be displayed in the mouse over.

KGB
KGB
 
Posts: 3030
Joined: Tue Feb 16, 2010 12:06 am

Re: Warding stacking problem

Postby piranha » Sat Jan 19, 2013 11:55 am

I've taken a look at warding today. It's a complicated thing to draw in battle so it makes full sense.
I started by showing group ward and individual ward on mouse over stack, on detailed stats popup. I also fixed a bug under hero that showed individual ward instead of group ward under equipment.

Here is the thing with battle.

Lets say a level 1 assassin + 1 scout attacks a level 1 ranger + 1 scout.

The ranger will have 10 + 30 = 40 ward. The scout will have 10 ward.

The scout on the ranger side have 10 ward which will reduce the enemy scouts ambush by 8 * 0.9 = 7.2 (rounded to 7), the rangers scout loses and faces the ranger. The ranger have 40 ward which reduces the scouts ambush by 8 * 0.6 = 4.8 (rounded to 5). Now lets say the ranger kills the scout and faces the assassin.
The assassin now have 28 * 0.6 = 16.8 (rounded to 17).
This is what happens if you look at the battle result info.

The problem is that the scout will have 7 ambush in one fight and 5 ambush in the next fight. So which one should you display on the mouse over?

I want to change the mouse over so that it shows full ambush and then ward under (similar how negate is shown) with the final ambush result at the end. But since the ward can differ during the battle depending on the enemy unit it's impossible to show a correct number there.
Any suggestions are welcome to make it more clear.
Same problem existed with leadership anti air and negate hero before we changed to group anti air that can't be countered.
User avatar
piranha
Site Admin
 
Posts: 1188
Joined: Fri Feb 12, 2010 9:44 pm

Re: Warding stacking problem

Postby KGB » Sat Jan 19, 2013 5:25 pm

Piranha,

There is only 1 ambush roll. So in the example you showed the scout should have 7 since it doesn't get a 2nd ambush roll when facing the Ranger. Thus you only need to show the roll it got when it first entered into combat. This should make the display easier than Anti-Air which carries over if you face multiple units.

In the bug I reported (35430 - Look), it was the first 2 units that entered battle that told me something was wrong. My opponents Elemental only got 5 ambush instead of 7. It wasn't a mouse over display issue either because the Elemental died immediately without facing more units and I saw the same 5 in the detailed combat rolls. You can go take a look at that game. It's now finished but it's still in my list of games on my account and turn 26 when he attacked me is still there in the battle report.

KGB
KGB
 
Posts: 3030
Joined: Tue Feb 16, 2010 12:06 am


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 23 guests

cron
Not able to open ./cache/data_global.php