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-05-2012, 01:00 AM
camelotcrusade's Avatar
camelotcrusade camelotcrusade is offline
Approved Member
 
Join Date: Apr 2009
Location: San Francisco, CA
Posts: 448
Default

Quote:
Originally Posted by Bhruic View Post
Added fix for Soothsayer's Ice Storm ability.
I still haven't seen this freeze anything outside of the first cell and I've been using it on big groups (sometimes there is a mob in every hex).

I modified line 1190 but noticed the same thing in line 1177. Does that have to change too, or is that designating special rules for the target cell vs. others?
Reply With Quote
  #2  
Old 11-05-2012, 01:05 AM
Bhruic Bhruic is offline
Approved Member
 
Join Date: Oct 2012
Posts: 233
Default

There's only a 15% chance of freezing guys in surrounding squares, so you won't see it that often. I did verify that it worked locally. Still, you should have seen it happen within a few fights.

The one at line 1177 is supposed to be "target", as it's the 30% chance for the guy at the center of the spell.

edit: Just double-checked and I hit 3 guys, center was skel archers, 2 skel warriors on either side, one of the skel warriors got frozen.
Reply With Quote
  #3  
Old 11-05-2012, 01:12 AM
camelotcrusade's Avatar
camelotcrusade camelotcrusade is offline
Approved Member
 
Join Date: Apr 2009
Location: San Francisco, CA
Posts: 448
Default

Quote:
Originally Posted by Bhruic View Post
There's only a 15% chance of freezing guys in surrounding squares, so you won't see it that often. I did verify that it worked locally. Still, you should have seen it happen within a few fights.

The one at line 1177 is supposed to be "target", as it's the 30% chance for the guy at the center of the spell.

edit: Just double-checked and I hit 3 guys, center was skel archers, 2 skel warriors on either side, one of the skel warriors got frozen.
Okay, thanks! I thought it was 30% for everyone so that probably explains it. Really appreciate you double checking.
Reply With Quote
  #4  
Old 11-05-2012, 04:18 PM
hardy87 hardy87 is offline
Approved Member
 
Join Date: Jun 2011
Posts: 15
Default

Here, my fix for Warrior Maiden Call of Valhalla

open file unit_special_attacks.lua in ses.kfs, and search "Valhalla". Then replace this

Code:
function special_valhalla_call_calccells()
  local level = Attack.get_custom_param("level")
  if level == nil or level == "" then
    level = 4
  else
    level = tonumber(level)
  end

  local ccnt = Attack.cell_count()
  for i = 0, ccnt-1 do
    local cell = Attack.cell_get(i)
    if Attack.act_ally(cell) then
      if (Attack.act_level(cell) <= level) then
        if Attack.act_applicable(cell) then
          if (Attack.cell_dist(0, cell) >= 1) then
            local size_last2 = Attack.val_restore(cell, "size_last2")
            if size_last2 == nil or size_last2 == "" then
              size_last2 = Attack.act_initsize(cell)
            else
              size_last2 = tonumber(size_last2)
            end
            if ( size_last2 > Attack.act_size(cell) ) then
              Attack.marktarget(cell)
            end
          end
        end
      end
    end
  end

  return true
end

function special_valhalla_call_attack()
  local target = Attack.get_target()
  if target ~= nil then
    Attack.aseq_rotate(0, target, "special")
    local dmgts = Attack.aseq_time(0, "x")

    local power, power_max = text_range_dec(Attack.get_custom_param("count"))
    power = power*Attack.act_size(0)
    local act = Attack.get_caa(target)
    local count0 = Attack.val_restore(act, "size_last2")
    if count0 == nil or count0 == "" then
      count0 = Attack.act_initsize(act)
    else
      count0 = tonumber(count0)
    end
    local count1 = Attack.act_size(act)
    local rephits = math.min( power, (count0 - count1) )*Attack.act_get_par(act, "health")
    Attack.cell_resurrect(act, rephits)
    Attack.atom_spawn(act, dmgts, "magic_wing", Attack.angleto(act))

    local count2 = Attack.act_size(target)
    Attack.log_label("respawn_")
    Attack.act_damage_addlog(target, "res_")
    Attack.log_special(count2-count1)
  end

  return true
end
or you can use my edited file Call of Valhalla ability will work

ps: sorry for my bad english !
Attached Files
File Type: zip unit_special_attacks.zip (44.4 KB, 63 views)

Last edited by hardy87; 11-06-2012 at 12:59 AM.
Reply With Quote
  #5  
Old 11-05-2012, 04:26 PM
Bhruic Bhruic is offline
Approved Member
 
Join Date: Oct 2012
Posts: 233
Default

The Call of Valhalla does work, you are using an older version of the game. Update to the latest Steam patch.
Reply With Quote
  #6  
Old 11-05-2012, 04:29 PM
hardy87 hardy87 is offline
Approved Member
 
Join Date: Jun 2011
Posts: 15
Default

I used the file uploaded on the first page. So it doesn't work
Reply With Quote
  #7  
Old 11-05-2012, 04:33 PM
Bhruic Bhruic is offline
Approved Member
 
Join Date: Oct 2012
Posts: 233
Default

If you haven't got the latest Steam patch - which you don't - you should not be using the file from the first page. It includes the updates from the patch, which are what are causing your problems. You need to let Steam update the game for you, then apply the file.
Reply With Quote
  #8  
Old 11-05-2012, 11:04 PM
Zechnophobe's Avatar
Zechnophobe Zechnophobe is offline
Approved Member
 
Join Date: Nov 2009
Posts: 991
Default

Quote:
Originally Posted by hardy87 View Post
Here, my fix for Warrior Maiden Call of Valhalla

open file unit_special_attacks.lua in ses.kfs, and search "Valhalla". Then replace this



or you can use my edited file Call of Valhalla ability will work

ps: sorry for my bad english !
Bad English is no problem, but use the "CODE" tag instead of quotes so it doesn't eat your code formatting. Seeing line after line of unindented 'end' made me throw up a little bit in my mouth ;P.
Reply With Quote
  #9  
Old 11-05-2012, 11:25 PM
Bhruic Bhruic is offline
Approved Member
 
Join Date: Oct 2012
Posts: 233
Default

Added fix for Troll's Pacify ability.
Reply With Quote
  #10  
Old 11-05-2012, 11:34 PM
camelotcrusade's Avatar
camelotcrusade camelotcrusade is offline
Approved Member
 
Join Date: Apr 2009
Location: San Francisco, CA
Posts: 448
Default

Quote:
Originally Posted by Bhruic View Post
Added fix for Troll's Pacify ability.
Trolls everywhere thank you, including the ones on the forum.
Reply With Quote
Reply

Thread Tools
Display Modes

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 04:18 AM.


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