[.90][BUG] Treasure from Abeix not giving trophey. (with fix)

The treasures given from the Abeix doesn't work since

SO I looked in the XML and noticed why you didn't get the trophey. The following is what is in place.      

       <Treasure>
             <Liklihood>100</Liklihood>
             <City_Trophy>Trophy_AbeixAbility</City_Trophy>
             <GameModifier>
                 <ModType>GiveItem</ModType>
                 <Title></Title>
                 <Attribute>Greataxe_Sunderer</Attribute>
                 <BoolVal1></BoolVal1>
                 <Value></Value>
             </GameModifier>
         </Treasure>
         <Treasure>
             <Liklihood>100</Liklihood>
             <GameModifier>
                 <ModType>GiveItem</ModType>
                 <Title></Title>
                 <Attribute></Attribute>
                 <BoolVal1></BoolVal1>
                 <Value></Value>
             </GameModifier>
         </Treasure>

Unfortunately the likely hoods combined need to add to 100 and it is a probability that you get one or the other, but never both when it comes to treasure. To have it always give the trophey and the item, a modification needs to be done like this.

         <Treasure>
              <Liklihood>100</Liklihood>
              <City_Trophy>Trophy_AbeixAbility</City_Trophy>
              <GameModifier>
                  <ModType>GiveItem</ModType>
                  <Title></Title>
                  <Attribute>Greataxe_Sunderer</Attribute>
                  <BoolVal1></BoolVal1>
                  <Value></Value>
              </GameModifier>
              <GameModifier>
                  <ModType>GiveItem</ModType>
                  <Title></Title>
                  <Attribute></Attribute>
                  <BoolVal1></BoolVal1>
                  <Value></Value>
              </GameModifier>
          </Treasure>

that will fix the current problem of treasure here.

2,266 views 2 replies
Reply #2 Top

I know... but that is the code they use ;) But they have this fixed already in .91.