Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   Mods (http://forum.fulqrumpublishing.com/forumdisplay.php?f=165)
-   -   Random Runes after a battle (http://forum.fulqrumpublishing.com/showthread.php?t=11822)

cudskie 04-15-2010 09:14 PM

Sir i tried to open the .kfs file inside the zipped file with a notepad but it's written in a different language so i can't change the chance from 3% to 100%. I just wanted to try if the mod works

01neo01 04-27-2010 03:06 PM

Quote:

Originally Posted by The Rider (Post 136106)
Unzip the file, create a folder /mods in the /data folder and than put the mod_bonus_rune.kfs in the /data/mods folder. than run the game. it will give you:
for warrior
-3% chance for 2 might runes
-3% chance for 3 mind runes
-5% chance for 4 magic runes
-10%*rage skill level for 2 rage potions or 2 mana potions

for paladin
-4% chance for 3 might runes
-3% chance for 3 mind runes
-4% chance for 3 magic runes
-10%*holy rage skill level for 2 rage potions or 2 mana potions

for mage
-5% chance for 4 might runes
-3% chance for 3 mind runes
-3% chance for 2 magic rune
-10%*alchemist skill level for 2 rage potions or 2 mana potions

WOW! Great mod!!
But I have played some combats and no runes appear :(
I'm on level 5, and i have only found 1 rune in the map, and received 3 magic runes in one casttle. ¡¡I can't evolve on habilities !!

How can we change the percentajes?

Somebody said that he usually uses the 30% of chance to get runes. he said that: Open the mod file with winrar, open the one file with notepad, then search for rune.add. Look for the part that says game.rand (1,100)<=3, change that to <=100. You will get rune 100% of time.

And the other percentajes?
I mean the 4% chance for 3 might runes, 3% chance for 3 mind runes, 4% chance for 3 magic runes and the 10% *holy rage skill level for 2 rage potions or 2 mana potions with the paladin.

How can we change them?

¡¡ THANKS !!

cudskie 04-27-2010 07:37 PM

Can anyone help me? I tried to open the mod_rune.kfs into a notepad but i can't understand the language and i can't seem to find game_rand that you're saying in the previous posts

N3MES1S 04-28-2010 12:37 AM

Quote:

Originally Posted by cudskie (Post 156679)
Can anyone help me? I tried to open the mod_rune.kfs into a notepad but i can't understand the language and i can't seem to find game_rand that you're saying in the previous posts


mod_rune.kfs is compressed archive, u need to open it with winrar.

N3MES1S 04-28-2010 12:40 AM

I think people doesnt even read the posts... people, u dont even need to use the mod itself, just use the instructions The Rider wrote few posts ago, modifying the file Arena.lua
in the right code line.

cudskie 04-28-2010 04:12 PM

Oh sorry about that, i just got confused. Now i got it. I changed mod_bonus_rune.kfs into mod_bonus_rune.rar then i extracted it's contents then opening it at notepad.

Thanks for the help

DeRex 05-15-2010 06:57 PM

Great mod, i like it! These additional runes are so needed. :)

AncientSion 09-26-2010 10:34 AM

Thanks for this mod. I pasted the code into the arena.lua from the experience mod and it works fine. Thanks a lot.

Rhowen 09-27-2010 07:56 PM

I would like to know if the mod's author is willing to make this work with crossworlds. Thanks!

TheOne 09-28-2010 05:45 PM

Quote:

Originally Posted by Rhowen (Post 185178)
I would like to know if the mod's author is willing to make this work with crossworlds. Thanks!


Read this.


Quote:

Originally Posted by The Rider (Post 136958)
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



All times are GMT. The time now is 11:40 PM.

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