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: Armored Princess > Mods

Mods Armored Princess mods

Reply
 
Thread Tools Display Modes
  #1  
Old 01-17-2010, 05:52 PM
The Rider The Rider is offline
Approved Member
 
Join Date: Jun 2008
Posts: 76
Default

it doesnt work with KBMasterMod, because there is another arena.lua file in that mod. I am not sure if I can do this, because the KBMasterMod is made by another, but if you want to make it work do this:
1. Open KBMaster_2.2.2 file with winzip/winrar (in your data/mods directory)
2. in prescript 2.2 directory in the .kfs file open arena.lua (open it with notepad)
3. ctrl+g (or the command go) go to line 345
4. after function calc_bonus( fake_win ) --ftag:bonus insert this

local hero_class=Game.HSP_class()

if hero_class == 0 then

if (Game.Random(1,100) <= 3) then
Bonus.add("rune_might",2)
end
if (Game.Random(1,100) <= 3) then
Bonus.add("rune_mind",3)
end
if (Game.Random(1,100) <= 5) then
Bonus.add("rune_magic",4)
end
if (Game.Random(1,100) <= tonumber(Logic.hero_lu_skill("rage_control"))*10) then
if (Game.Random(1,100)<=50) then
Logic.hero_add_item("mana_potion",2)
else
Logic.hero_add_item("rage_potion",2)
end
end
elseif
hero_class==2 then
if (Game.Random(1,100) <= 5) then
Bonus.add("rune_might",4)
end
if (Game.Random(1,100) <= 3) then
Bonus.add("rune_mind",3)
end
if (Game.Random(1,100) <= 3) then
Bonus.add("rune_magic",2)
end
if (Game.Random(1,100) <= tonumber(Logic.hero_lu_skill("alchemist"))*10) then
if (Game.Random(1,100)<=50) then
Logic.hero_add_item("mana_potion",2)
else
Logic.hero_add_item("rage_potion",2)
end
end
elseif
hero_class== 1 then

if (Game.Random(1,100) <= 4) then
Bonus.add("rune_might",3)
end
if (Game.Random(1,100) <= 3) then
Bonus.add("rune_mind",3)
end
if (Game.Random(1,100) <= 4) then
Bonus.add("rune_magic",3)
end

if (Game.Random(1,100) <= tonumber(Logic.hero_lu_skill("holy_rage"))*10) then
if (Game.Random(1,100)<=50) then
Logic.hero_add_item("mana_potion",2)
else
Logic.hero_add_item("rage_potion",2)
end
end
end

5. save file and enjoy
Reply With Quote
  #2  
Old 01-18-2010, 05:59 AM
Mordris Mordris is offline
Registered Member
 
Join Date: Jan 2010
Posts: 4
Default

Thanks for your help guys, but I still have something to ask.
As I stated earlier, I use the giftbag mod/addon, and the arena.lua file is located in king's bounty folder---->sessions---->items_pack---->new_items--->scripts--->arena

Does is still interfere with the bonus rune mod? If so, I will do what you said, The Rider.
Reply With Quote
  #3  
Old 01-18-2010, 07:05 AM
The Rider The Rider is offline
Approved Member
 
Join Date: Jun 2008
Posts: 76
Default

Can you post a link to download this mod? I have to check it. (Dont worry about the language of the link, I speak plenty of languages )
Reply With Quote
  #4  
Old 01-18-2010, 12:19 PM
Mordris Mordris is offline
Registered Member
 
Join Date: Jan 2010
Posts: 4
Default

Yea sure, it took me a couple of minutes to find the link, but here it is
http://forum.1cpublishing.eu/showthread.php?t=12174

It doesn't say what item/sets have been added, but I guess you will discover them yourself. I found a pair of gloves in Debir, at the two houses that sell priests near the mage tower that add a stat ( can't remember which one) and 10 rage when you use a teleportation or a <I can't remember> spell. Keep in mind that you have to start a new game to have a chance at discovering the new stuff.
Reply With Quote
  #5  
Old 01-18-2010, 04:46 PM
The Rider The Rider is offline
Approved Member
 
Join Date: Jun 2008
Posts: 76
Default

It looks amusing I checked it, follow the instructions I posted, go to line 345 and insert the code in the new arena file (in the mod) and it will work
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 12:15 PM.


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