UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Open Bug report #5441 Accuracy drop when skill + accuracy abilities get more than 170 together
Go to the next issue (open or closed)
Go to the next open issue
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targetted for
    Not determined
  • Status
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (4)
Duplicate issues (0)
This issue does not have any duplicates

there is a bug in a formula for counting shot accuracy in function void G_CalcEffectiveSpread in file g_combat.cpp.

Where combination of skill of Accuracy and skill of Weapon gets 170, accuracy is the best -> formula from the function gets spreads equal to zero for all weapons in the game. But for better soldiers it gets negative spreads and soldier are not so accuracy.
There are three pictures with graphs explaining the situation for different Accuracy ability.
All graphs were computed with the Accuracy ability factor constant and Weapon ability factor variable - on the X axe. Y axe is used for value of acc factor and common factor (names of variables from the G_CalcEffectiveSpread function).

Please, make this formula to get spread factors equal to 0 only for 100 + 100 ability.
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif