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: Warriors of the North

King`s Bounty: Warriors of the North Next game in the award-winning King’s Bounty series

Reply
 
Thread Tools Display Modes
  #1  
Old 11-01-2012, 04:27 AM
QNk QNk is offline
Approved Member
 
Join Date: Apr 2010
Posts: 16
Default

Code:
       if receiver_human and not receiver_glot and (skill_power("weakness_lore", 2) > 0) then
          kritProb = kritProb - skill_power("weakness_lore", 2)
          if kritProbRnd < kritProb then
            iskrit = true
          else
            is_weakness_lore = true
Doesn't the iskrit check also need to be changed to true? What it's doing right now is if a crit is registered, it checks again against a kritProb modified by sense weakness. If iskrit = false, then the game would only register a crit if the random number was LOWER than the initial but HIGHER than the modified kritProb. Or did I misunderstand how the kritProbRnd < kritProb inequality work?
Reply With Quote
  #2  
Old 11-01-2012, 11:25 AM
Bhruic Bhruic is offline
Approved Member
 
Join Date: Oct 2012
Posts: 233
Default

Quote:
Originally Posted by QNk View Post
Doesn't the iskrit check also need to be changed to true? What it's doing right now is if a crit is registered, it checks again against a kritProb modified by sense weakness. If iskrit = false, then the game would only register a crit if the random number was LOWER than the initial but HIGHER than the modified kritProb. Or did I misunderstand how the kritProbRnd < kritProb inequality work?
iskrit is already set to true to begin with, that's the only way to enter that code block (with the "if iskrit then"). So there's no need to do anything to it unless Sense Weakness kicks in, in which case it needs to be set to false.
Reply With Quote
  #3  
Old 11-01-2012, 01:41 PM
Bhruic Bhruic is offline
Approved Member
 
Join Date: Oct 2012
Posts: 233
Default

Ok, I changed the Sense Weakness fix to Zechnophobe's solution, as it's simpler (I give up! )

Added a second fix for Sense Weakness (effect was being applied twice).

Added a fix for spells/rage not getting critical hits.
Reply With Quote
  #4  
Old 11-01-2012, 02:24 PM
Bunnle Bunnle is offline
Approved Member
 
Join Date: Nov 2012
Posts: 16
Default

edit: wrong topic, my bad.

Last edited by Bunnle; 11-01-2012 at 02:53 PM. Reason: Wrong topic
Reply With Quote
  #5  
Old 11-01-2012, 02:26 PM
Bhruic Bhruic is offline
Approved Member
 
Join Date: Oct 2012
Posts: 233
Default

Please refer bug reports to this thread. The purpose of this one is to highlight fixes that are available via scripting.
Reply With Quote
  #6  
Old 11-01-2012, 02:49 PM
rekiem rekiem is offline
Approved Member
 
Join Date: Sep 2010
Posts: 13
Default

Shield of Rekross seems to be bugged, when he should give you ice dragons, the description is all bugged and if you try to get it the game crashes. Any chances that it's just a lua error?
Attached Images
File Type: jpg screen_121101_000.jpg (833.1 KB, 64 views)
Reply With Quote
  #7  
Old 11-01-2012, 03:01 PM
Bhruic Bhruic is offline
Approved Member
 
Join Date: Oct 2012
Posts: 233
Default

That's probably a text error, but again, please report the bugs in the thread I linked previously. We want to have all the bug reports in one central location.
Reply With Quote
Reply


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 07:17 AM.


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