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 12-17-2012, 09:13 PM
DeepSoul DeepSoul is offline
Approved Member
 
Join Date: Jul 2011
Posts: 59
Default

Quote:
Originally Posted by rodrigj View Post
Hello,

I had the same crash, so I modified the lua script to remove the animation at death of the stack of Ice dragon

I found the lua script here :

E:\Programs\SteamApps\common\King's Bounty - Warriors of the North\sessions\addon

the lua script generating the error for me is :

"unit_features_ondamage.lua" (edit with notedpad) in the "ses.kfs" (open with zip)

the line in error is the 390 : (activate status bar in notepad)



I just put the -- before the line, so it will be inactive in the lua script.

Works like a charm for me.

(sorry for my english)

Hope it can help.

(the file is 1.5mo compressed, so I prefer not join it)

JPR out!
I also have the ice dragon bug but the script looks different for me and it's on line 296.

function features_ondamage_dragon_ice(wnm, ts, dead)
if dead then
local ahc = Attack.act_after_hit_cell(0)
local initsize = Attack.act_initsize(ahc)
local manaval, rageval = Game.CurLocRand(initsize, 5*initsize), 0
local dmgts = 1 + Game.Random(0, 10)/100
spawn_energetic_attack(ahc, dmgts, manaval, rageval)

if initsize == 1 then
Attack.log(dmgts, "add_blog_ice_dragon_death_1", "name"," "..blog_side_unit(0), "special", mana_count)
else
--Attack.log(dmgts, "add_blog_ice_dragon_death_2", "name"," "..blog_side_unit(0), "special", mana_count)
end
end
return true
end
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 12:48 AM.


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