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: Crossworlds > Mods

Mods King's Bounty: Crossworlds Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #18  
Old 08-28-2011, 04:14 AM
Fatt_Shade Fatt_Shade is offline
Approved Member
 
Join Date: Nov 2010
Location: Serbia
Posts: 837
Default

Found some weird things in files of this mod, so i ask WTF does they mean :
1) in skills.lua file this strings
function skill_rune_stone(name,level)
local bonus = skill_power(name,1,level-1)
local cur_might=Logic.hero_lu_item("rune_might","count")
local cur_magic=Logic.hero_lu_item("rune_magic","count")
Logic.hero_lu_item("rune_might","count",cur_might+ bonus)
Logic.hero_lu_item("rune_magic","count",cur_magic+ bonus)
This is description of old paladin runic stone skill from KB-TL, so i ask what it do here ?

2) function skill_archer(name,level)
local bonus = skill_power(name,1,level-1)
if level >1 then bonus=bonus-skill_power(name,1,level-2) end
local cur_archer=Logic.hero_lu_item("sp_lead_archer","co unt")
Logic.hero_lu_item("sp_lead_archer","count",bonus+ cur_archer)
I guess it`s suposed to lower lds requirements for archer units, but in skills.txt and eng_skills.lng it isnt mentioned, or given function for it. How to add this function in other 2 files connected to skills ?

3) function skill_archmage(name,level)
local bonus = skill_power(name,1,level-1)
if level >1 then bonus=bonus-skill_power(name,1,level-2) end
local cur_archer=Logic.hero_lu_item("sp_lead_archmage"," count")
Logic.hero_lu_item("sp_lead_archmage","count",bonu s+cur_archer)
It`s mage`s archemage skill, but it have string cur_archer ??? What should be there instead cur_archmage or something else ?

4) function skill_warrior(name,level)
local bonus = skill_power(name,1,level-1)
if level >1 then bonus=bonus-skill_power(name,1,level-2) end
local cur_lead=Logic.hero_lu_item("sp_lead_warrior","cou nt")
Logic.hero_lu_item("sp_lead_warrior","count",bonus +cur_lead)
Same as for archer skill, should this lower lds for warrior units listed in special_params.txt file ? And what skill is warrior anyway ?
Reply With Quote
 

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


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