Thread: Bugs Thread
View Single Post
  #5  
Old 12-01-2012, 01:34 PM
ivra ivra is offline
Approved Member
 
Join Date: Jan 2010
Location: Norway
Posts: 156
Default

Found a new bug scanning the items.txt file in the ses.kfs file. (Running Patch 3)

The item 'Dragons Hunter's Shield' says '-20% damage from enemy dragons', but it reduces damage from all types of damage, except fire.

The reason is that the magic section was copied, but they forgot to replace magic with fire, as indicated below with red text.

Code:
dragonslayer_shield {
  category=o
  image=heroitem_shield_dragon_slayer.png
  hint_config=object_item
  label=itm_dragonslayer_shield_name
  hint=itm_dragonslayer_shield_hint
  information_label=itm_dragonslayer_shield_info
  maphint=
  mapinfo=
  atoms {
    1 {
      atom=
      lu=template_item_mb
      label=
    }
  }
  price=38500
  maxcount=2
  level=4
  race=viking
  setref=set_antidragon
  use {}
  fight {
    {
      filter {
        belligerent=enemy
        unit=blackdragon,bonedragon,dragon_ice,greendragon,reddragon,infernodragon1,infernodragon2,infernodragon3
      }
      pbonus=
      dbonus=physical,0,-20,0,-100,0,0
      rbonus=
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=enemy
        unit=blackdragon,bonedragon,dragon_ice,greendragon,reddragon,infernodragon1,infernodragon2,infernodragon3
      }
      pbonus=
      dbonus=poison,0,-20,0,-100,0,0
      rbonus=
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=enemy
        unit=blackdragon,bonedragon,dragon_ice,greendragon,reddragon,infernodragon1,infernodragon2,infernodragon3
      }
      pbonus=
      dbonus=magic,0,-20,0,-100,0,0
      rbonus=
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=enemy
        unit=blackdragon,bonedragon,dragon_ice,greendragon,reddragon,infernodragon1,infernodragon2,infernodragon3
      }
      pbonus=
      dbonus=magic,0,-20,0,-100,0,0
      rbonus=
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=enemy
        unit=blackdragon,bonedragon,dragon_ice,greendragon,reddragon,infernodragon1,infernodragon2,infernodragon3
      }
      pbonus=
      dbonus=glacial,0,-20,0,-100,0,0
      rbonus=
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=enemy
        unit=blackdragon,bonedragon,dragon_ice,greendragon,reddragon,infernodragon1,infernodragon2,infernodragon3
      }
      pbonus=
      dbonus=astral,0,-20,0,-100,0,0
      rbonus=
      attack_on=
      attack_off=
    }
  }
  mods {
    defense=count,2
  }
  propbits=shield
  params {}
}

Confirmation: I just verified this bug. The black dragon was doing the exact same damage to my troop wheather I used this shield or another shield that also provided +2 Defense.

Last edited by ivra; 12-01-2012 at 02:17 PM.
Reply With Quote