Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   King`s Bounty: Warriors of the North (http://forum.fulqrumpublishing.com/forumdisplay.php?f=206)
-   -   Stamp of the Betrayer (http://forum.fulqrumpublishing.com/showthread.php?t=41603)

camelotcrusade 02-07-2014 02:47 AM

Stamp of the Betrayer
 
This magical item has a short description, saying only "+20% damage of the soldiers." Sounds good to me, so I bought one. It didn't change the damage numbers on my display screen, though, so I reloaded it (cost me 21k).

The info text makes it sound like "soldiers" should take 20% more damage. That could be it, but my next question is what qualifies as a soldier? Any old troop?

Wondering if anybody has used this item and/or can confirm what it does...

PS. Here is some code where I found it, but I don't know all the places to look.

Code:

branding_iron {
  category=o
  image=heroitem_addon1_artefact_6.png
  hint_config=object_item
  label=itm_branding_iron_name
  hint=itm_branding_iron_hint
  information_label=itm_branding_iron_info
  maphint=
  mapinfo=
  price=21000
  maxcount=1
  level=3
  race=neutral
  use {}
  mods {
    sp_branding_iron=count,20
  }
  propbits=regalia
  params {}

and also

Code:

itm_branding_iron_name=Stamp of the Betrayer
itm_branding_iron_taken=^?^
itm_branding_iron_minfo=^?^
itm_branding_iron_mhint=^?^
itm_branding_iron_info=^?^These ever hot rods are used to brand traitors and deserters.
itm_branding_iron_hint=^?^A hot rod for applying brands.<br>[s]+20% Damage of soldiers[/s]


MattCaspermeyer 02-07-2014 03:03 AM

See ARENA.LUA line 792
 
It is located on line 792 of ARENA.LUA:

Code:

    if (receiver_name == attacker_name) then
      sdmg = sdmg*(1 + tonumber(hero_item_count("sp_branding_iron")/100))
    end

What is weird is that the same units have to be attacking each other, which doesn't match your description.

I guess the description should say +20% damage when attacking an enemy unit that is the same as your unit.

Anyway, there you go.

/C\/C\

camelotcrusade 02-07-2014 04:15 AM

Thanks Matt, I'll send in a bug report and see if they update it. I bet even fewer people will buy it now, too. :p

Edit: Does it mean if you have a wolf then you do 20% more damage to all wolves you come across? Or does it mean if your wolf attacks an enemy wolf, your wolf gets +20% damage? I'm thinking the latter based on the code, but I wanted to make sure. It should then say "+20% damage when a unit attacks the exact same unit."

MattCaspermeyer 02-07-2014 05:26 AM

I'm pretty sure the latter...
 
From what I can tell it is the latter since it is if receiver_name equals attacker_name. Kind of interesting in a way, I guess it would be great against your Double in The Legend! :-)

Quote:

Originally Posted by camelotcrusade (Post 514448)
Thanks Matt, I'll send in a bug report and see if they update it. I bet even fewer people will buy it now, too. :p

Edit: Does it mean if you have a wolf then you do 20% more damage to all wolves you come across? Or does it mean if your wolf attacks an enemy wolf, your wolf gets +20% damage? I'm thinking the latter based on the code, but I wanted to make sure. It should then say "+20% damage when a unit attacks the exact same unit."


blacklegionary 02-07-2014 10:33 AM

That "bug" existed since the days of Cross worlds. I think it's a misdescription.

camelotcrusade 02-07-2014 03:51 PM

Quote:

Originally Posted by blacklegionary (Post 514465)
That "bug" existed since the days of Cross worlds. I think it's a misdescription.

Yeah, I know it's not really a bug but if we have to dig into the code to understand something I think it should be clarified don't you agree? I remember Zechnophobe made a language mod for WoTN that helped with a lot of these issues but I don't know if he'll be updating it again. So, I sent it on to the devs.


All times are GMT. The time now is 08:58 PM.

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