View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0008921 | Valley 1 | Bug - Gameplay | Jul 13, 2012 1:59 pm | Jul 17, 2012 4:37 pm | |
Reporter | Ulrox | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 1.200 (Post-Launch Series 2) | ||||
Fixed in Version | 1.201 | ||||
Summary | 0008921: Dispatch mission survival rate does not handle negative numbers properly. | ||||
Description | Example numbers for a resource dispatch: 224 mood : 87% survival 151 mood : 40% survival 108 mood : 20% survival 95 mood : 16% survival 2 mood : 0% survival -20 mood : 1% survival -111 mood : 21% survival -182 mood : 68% survival -240 mood : 100% survival -820 mood : 100% survival | ||||
Tags | No tags attached. | ||||
Internal Weight | Fix Before Major Release | ||||
|
|
|
Absolute value! (It may be rude to edit & hijack your bug, but I wanted it to contain more information so it can be fixed faster!) |
|
Ahh no worries Khadgar. I was having difficulty creating a good description for it anyway and I knew it was lacking. :) |
|
For 1.201: * Fixed a bug in computing dispatch mission survival chance where the mood points where an intermediate result of mood/danger was being squared. This was fine for positive mood values as the idea was that if the ratio was 9:10 the actual result would be 0.9*0.9 = 0.81. The problem is that -0.9*-0.9 = +0.81, too (math class strike back!). Now it won't go below zero before that, so squaring is fine. Thanks :) |
Date Modified | Username | Field | Change |
---|---|---|---|
Jul 13, 2012 1:59 pm | Ulrox | New Issue | |
Jul 13, 2012 1:59 pm | Ulrox | File Added: more buggyness.jpg | |
Jul 14, 2012 8:28 pm | khadgar | Note Added: 0026754 | |
Jul 14, 2012 8:28 pm | khadgar | Category | Programming Todo => Bug - Gameplay |
Jul 14, 2012 8:28 pm | khadgar | Summary | Another villager bug. If a villager has -3000 mood that villager can attack the overlord and have 85% chance of survival. => Dispatch mission survival rate does not handle negative numbers properly. |
Jul 14, 2012 8:28 pm | khadgar | Description Updated | |
Jul 15, 2012 2:47 am | Ulrox | Note Added: 0026758 | |
Jul 16, 2012 8:18 am | tigersfan | Internal Weight | => Fix Before Major Release |
Jul 16, 2012 8:18 am | tigersfan | Assigned To | => Chris_McElligottPark |
Jul 16, 2012 8:18 am | tigersfan | Status | new => assigned |
Jul 17, 2012 4:37 pm | keith.lamothe | Note Added: 0026856 | |
Jul 17, 2012 4:37 pm | keith.lamothe | Status | assigned => resolved |
Jul 17, 2012 4:37 pm | keith.lamothe | Fixed in Version | => 1.201 |
Jul 17, 2012 4:37 pm | keith.lamothe | Resolution | open => fixed |