Thread: Bugs Thread
View Single Post
  #3  
Old 11-02-2012, 03:26 PM
Csimbi Csimbi is offline
Approved Member
 
Join Date: Dec 2008
Posts: 254
Default

Quote:
Originally Posted by camelotcrusade View Post
Quote:
Originally Posted by Csimbi View Post
"Guardian" award - While the hint appearing above this award says that this award gives resistance to all types of damage, it actually does not give any resistance to 'glacial' and 'astral' damage.
It was fixed in my extended awards mod. Those that want the fix without the modifications can apply the same fix by looking at the included medals.txt.
When you have time it would help to see which code to change, similar to how it's done on page 1 here.
Here you go.
Make the following changes in medals.txt:
Code:
medal_guardian_angel_1 {
  category=o
  image=heroitem_medal_guardian_angel.png
  hint_config=object_item
  label=itm_medal_guardian_angel_1_name
  hint=itm_medal_guardian_angel_1_hint
  information_label=
  maphint=
  mapinfo=
  price=10
  maxcount=0
  level=1
  race=human
  medclass=-1
  use {}
  fight {
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=physical,3,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=poison,3,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=magic,3,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=fire,3,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=glacial,3,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=astral,3,0,0,-100,0,0
      attack_on=
      attack_off=
    }
  }
  propbits=medal
  params {
    max1=50
    max2=150
    max3=400
    order=8
    complex=1
    param=0
    var1=spells_used-spell_stone_skin,spells_used-spell_angel_avenger,magic_shield_used,spells_used-spell_divine_armor
    var2=spells_used-spell_stone_skin,spells_used-spell_angel_avenger,magic_shield_used,spells_used-spell_divine_armor
    var3=spells_used-spell_stone_skin,spells_used-spell_angel_avenger,magic_shield_used,spells_used-spell_divine_armor
  }
  medc=020000000400000045585052030000000000000001000000010000000300000077617228000000FFFFFF7F0000000000000080010000000000008002000000000000800300000001000080040000000200000002000000737303000000040000000400000004000000010000002800000000010000002B000000000400000029203E3D0000000002000000020000007676050000000100000001000000010000000100000001000000020000000400000067766172020000000300000003000000030000006E616D060000007370656C6C3102000000766E1C0000007370656C6C735F757365642F7370656C6C5F73746F6E655F736B696E020000000400000067766172020000000300000003000000030000006E616D060000007370656C6C3202000000766E1F0000007370656C6C735F757365642F7370656C6C5F616E67656C5F6176656E676572020000000400000067766172020000000300000003000000030000006E616D060000007370656C6C3302000000766E110000006D616769635F736869656C645F75736564020000000400000067766172020000000300000003000000030000006E616D060000007370656C6C3402000000766E1E0000007370656C6C735F757365642F7370656C6C5F646976696E655F61726D6F72020000000600000069746D5F6370020000000300000003000000030000006E616D030000006D6178020000006E61040000006D617831
  actions {
    afight=
    @=060000000000000000000000
  }
}
medal_guardian_angel_2 {
  category=o
  image=heroitem_medal_guardian_angel.png
  hint_config=object_item
  label=itm_medal_guardian_angel_2_name
  hint=itm_medal_guardian_angel_2_hint
  information_label=
  maphint=
  mapinfo=
  price=10
  maxcount=0
  level=1
  race=human
  use {}
  fight {
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=physical,5,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=poison,5,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=magic,5,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=fire,5,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=glacial,5,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=astral,5,0,0,-100,0,0
      attack_on=
      attack_off=
    }
  }
  propbits=medal
  params {
    max1=50
    max2=150
    max3=400
    order=8
    complex=1
    param=0
    var1=spells_used-spell_stone_skin,spells_used-spell_angel_avenger,magic_shield_used,spells_used-spell_divine_armor
    var2=spells_used-spell_stone_skin,spells_used-spell_angel_avenger,magic_shield_used,spells_used-spell_divine_armor
    var3=spells_used-spell_stone_skin,spells_used-spell_angel_avenger,magic_shield_used,spells_used-spell_divine_armor
  }
  medc=020000000400000045585052030000000000000001000000010000000300000077617228000000FFFFFF7F0000000000000080010000000000008002000000000000800300000001000080040000000200000002000000737303000000040000000400000004000000010000002800000000010000002B000000000400000029203E3D0000000002000000020000007676050000000100000001000000010000000100000001000000020000000400000067766172020000000300000003000000030000006E616D060000007370656C6C3102000000766E1C0000007370656C6C735F757365642F7370656C6C5F73746F6E655F736B696E020000000400000067766172020000000300000003000000030000006E616D060000007370656C6C3202000000766E1F0000007370656C6C735F757365642F7370656C6C5F616E67656C5F6176656E676572020000000400000067766172020000000300000003000000030000006E616D060000007370656C6C3302000000766E110000006D616769635F736869656C645F75736564020000000400000067766172020000000300000003000000030000006E616D060000007370656C6C3402000000766E1E0000007370656C6C735F757365642F7370656C6C5F646976696E655F61726D6F72020000000600000069746D5F6370020000000300000003000000030000006E616D030000006D6178020000006E61040000006D617832
  actions {
    afight=
    @=060000000000000000000000
  }
}
medal_guardian_angel_3 {
  category=o
  image=heroitem_medal_guardian_angel.png
  hint_config=object_item
  label=itm_medal_guardian_angel_3_name
  hint=itm_medal_guardian_angel_3_hint
  information_label=
  maphint=
  mapinfo=
  price=10
  maxcount=0
  level=1
  race=human
  use {}
  fight {
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=physical,7,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=poison,7,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=magic,7,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=fire,7,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=glacial,7,0,0,-100,0,0
      attack_on=
      attack_off=
    }
    {
      filter {
        belligerent=ally
      }
      pbonus=
      dbonus=
      rbonus=astral,7,0,0,-100,0,0
      attack_on=
      attack_off=
    }
  }
  propbits=medal
  params {
    max1=50
    max2=150
    max3=400
    order=8
    complex=1
    param=0
    var1=spells_used-spell_stone_skin,spells_used-spell_angel_avenger,magic_shield_used,spells_used-spell_divine_armor
    var2=spells_used-spell_stone_skin,spells_used-spell_angel_avenger,magic_shield_used,spells_used-spell_divine_armor
    var3=spells_used-spell_stone_skin,spells_used-spell_angel_avenger,magic_shield_used,spells_used-spell_divine_armor
  }
  medc=020000000400000045585052030000000000000001000000010000000300000077617228000000FFFFFF7F0000000000000080010000000000008002000000000000800300000001000080040000000200000002000000737303000000040000000400000004000000010000002800000000010000002B000000000400000029203E3D0000000002000000020000007676050000000100000001000000010000000100000001000000020000000400000067766172020000000300000003000000030000006E616D060000007370656C6C3102000000766E1C0000007370656C6C735F757365642F7370656C6C5F73746F6E655F736B696E020000000400000067766172020000000300000003000000030000006E616D060000007370656C6C3202000000766E1F0000007370656C6C735F757365642F7370656C6C5F616E67656C5F6176656E676572020000000400000067766172020000000300000003000000030000006E616D060000007370656C6C3302000000766E110000006D616769635F736869656C645F75736564020000000400000067766172020000000300000003000000030000006E616D060000007370656C6C3402000000766E1E0000007370656C6C735F757365642F7370656C6C5F646976696E655F61726D6F72020000000600000069746D5F6370020000000300000003000000030000006E616D030000006D6178020000006E61040000006D617833
  actions {
    afight=
    @=060000000000000000000000
  }
}

Last edited by Csimbi; 11-02-2012 at 06:08 PM.
Reply With Quote