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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 12-31-2012, 09:45 AM
messiahgov messiahgov is offline
Approved Member
 
Join Date: Dec 2012
Posts: 24
Default

Quote:
Originally Posted by Maximus Bukie View Post
I found A new Bug with the Winged Helmet. When you equip the helmet, its supposed to give you 2-3 Vikings after a battle. It actually says that it has given me vikings after my battles (usually 3 Skalds). But It never actually does give them to me. I still have the same number of skalds each time. Please Fix.
Yea it seem to have no special code for that:
Code:
addon2_helmet_winged_helmet {
  category=o
  image=heroitem_addon2_helmet_winged_helmet.png
  hint_config=object_item
  label=itm_addon2_helmet_winged_helmet_name
  hint=itm_addon2_helmet_winged_helmet_hint
  information_label=itm_addon2_helmet_winged_helmet_info
  maphint=
  mapinfo=
  price=18000
  maxcount=1
  level=3
  race=viking
  setref=set_valkyrie
  use {}
  mods {
    defense=count,2
    leadership=count,100
  }
  propbits=helmet
  params {}
}
Is there any other item, which has this "give troops" bonus (and it works), so it could be compared in any way?

EDIT: Another item with a equal function is "itm_addon2_regalia_orc_banner", but it looks the same, no special code for that. So it have to be in some other file (not just items.txt). Otherwise you wouldn't see any message at all.

EDIT2:
The right code can be found in "addon_arena.lua":

Code:
  if Logic.hero_lu_item_on_body("addon2_helmet_winged_helmet") then
    local data = { --[[Ïðåäìåò Êðûëàòûé Øëåì]]
      {n = "slinger_man",       minc = 3, maxc = 3, prob = 50},
      {n = "viking",            minc = 2, maxc = 3, prob = 40},
      {n = "skald",             minc = 3, maxc = 3, prob = 30}
    }
    table.insert(tab_verbovka, data)
  end
  if Logic.hero_lu_item_on_body("addon2_regalia_orc_banner") then
    local data = { --[[Ïðåäìåò Çíàìÿ Îðäû]]
      {n = "goblin",            minc = 3, maxc = 3, prob = 50},
      {n = "goblin2",           minc = 3, maxc = 3, prob = 50},
      {n = "orc",               minc = 2, maxc = 3, prob = 40},
      {n = "goblin_shaman",     minc = 2, maxc = 3, prob = 20},
      {n = "catapult",          minc = 3, maxc = 3, prob = 20}
    }
    table.insert(tab_verbovka, data)
  end

Last edited by messiahgov; 12-31-2012 at 09:56 AM.
Reply With Quote
 


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:29 AM.


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