Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > King's Bounty > King's Bounty: The Legend > Battle mode

Battle mode Strategy, hints, questions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 11-24-2008, 10:50 PM
Keneth Keneth is offline
Approved Member
 
Join Date: Nov 2008
Location: here and there
Posts: 378
Default

Yes, you're right, it's not the ratio between numbers, just the difference. I've checked the damage script just now.

Here's how it works, first the game calculates raw damage checking for any applied effects like bless that give you max damage or outputting a random number if there are no such effects and multiplying it by the crit factor if applicable. Then the damage is reduced by resistance if any (max resistance is 95% btw). Then the damage koeficient is applied which is the unit's attack * (any racial bonuses (which are all percentile hence multiplication) + holy rage bonus) - target's defense. And lastly the damage is multiplied by any damage factors of the unit. So basically the equation goes something like this:

damage = rawdamage * (1 - resistance / 100) * x * dfactor

x = (1 + k * 0.0333) if k > 0
x = 1 / (1 - k * 0.0333) if k < 0
x = 3 if k >= 60
x = 1/3 if k <= -60
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:16 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.