[0.95] Are Shard Temples Working?

So I built a Fire Temple and a Life Temple (ie, the 3rd shrine upgrade) and your shard amounts don't change and I'm not sure how to figure out whether there's a "virtual" shard bonus you're getting with these buildings. The info over the items seem to indicate you'll get an extra shard out of these temples.

 

17,841 views 11 replies
Reply #1 Top

 I checked a unit that has a Burning Blade spell on it and it is only adding 10 damage with 4 fire shards plus a fire temple, it should be 12 (the spell is 2 + 2 per fire shard), so there's no virtual fire shard thing that's being added.

 

I went and looked at CoreImprovements.xml and compared the Fire Temple to Ereog's Tower (which DOES provide +1 air power), and it should work, the only difference is that Ereog's Tower has  <UpgradeComparisonID>1</UpgradeComparisonID> and the Fire Temple has  <UpgradeComparisonID>2</UpgradeComparisonID> 

 

I also checked and the Air Temple doesn't work either. It seems the only difference is in the UpgradeComparisonID.

 

Fire Temple:

        <GameModifier>
            <ModType>Resource</ModType>
            <Attribute>FireMana</Attribute>
            <Value>1</Value>
            <PerTurn>1</PerTurn>
            <Provides>+1 Fire Power</Provides>
            <UpgradeComparisonID>2</UpgradeComparisonID>
        </GameModifier>

Ereog's Tower:

        <GameModifier>
            <ModType>Resource</ModType>
            <Attribute>AirMana</Attribute>
            <Value>1</Value>
            <PerTurn>1</PerTurn>
            <Provides>+1 Air Power</Provides>
            <UpgradeComparisonID>1</UpgradeComparisonID>
        </GameModifier>

Air Temple

        <GameModifier>
            <ModType>Resource</ModType>
            <Attribute>AirMana</Attribute>
            <Value>1</Value>
            <PerTurn>1</PerTurn>
            <Provides>+1 Air Power</Provides>
            <UpgradeComparisonID>2</UpgradeComparisonID>
        </GameModifier>

 

I'm stumped.

Reply #2 Top

You already got the Shard by building the Altar. The upgrades only increase the Mana generated.

[Edit] The UpgradeComparisonID just tells the game to compare the values with the same ID number of the current building and the upgrade. If the values of the ID are the same, they don't change. If they are not, the ones of the upgrade get used. The values for the Shard count stay the same, so they don't change. The values for the Mana generated are different, so they get updated.

 

+1 Loading…
Reply #3 Top

Well that's a bummer. I'd read in another post about the temples increasing your shard power, so I excitedly started another game and pursued a line of technology that I'd never used before. Those are some seriously expensive buildings for a bit more mana. By the time you can get them, I'm swimming in so much mana that I don't really need the increase, but I could sure use a boost to my shards. I suppose it would be easy enough to mod by just changing that value after the AirMana part.

 

 

Reply #4 Top

edit - NM. Trying to mod this to work, shouldn't it be as easy as just increasing the Value section?

Reply #5 Top

I think its confusing because of the notation

 

+1 Shard -> +1 Shard

+1 Mana -> +2 Mana

 

Unless you don't closely look at it you wont realize that only the mana is going up. 

Reply #6 Top

Yeah, that was my bad.

 

So I've tried to mod it to actually have temples provide 2 fire shards instead of 1 fireshard. To start, all I changed was the Value after firemana from 1 to 2. That causes every single building in the game to go crazy. Just 1 number in 1 file. Now, every building has double its effects, and every building shows up twice in the research guide. I'm baffled.

It started as this:

        <GameModifier>
            <ModType>Resource</ModType>
            <Attribute>FireMana</Attribute>
            <Value>1</Value>
            <PerTurn>1</PerTurn>
            <Provides>+1 Fire Power</Provides>
            <UpgradeComparisonID>2</UpgradeComparisonID>
        </GameModifier>

 

Changed to this:

        <GameModifier>
            <ModType>Resource</ModType>
            <Attribute>FireMana</Attribute>
            <Value>2</Value>
            <PerTurn>1</PerTurn>
            <Provides>+2 Fire Power</Provides>
            <UpgradeComparisonID>2</UpgradeComparisonID>
        </GameModifier>

 

That's how these things are handling mana, the value changes and the provides changes, but if you try it with shards it just blows clean up.

Reply #7 Top

Value shouldn't change from what I can tell. The only thing that should change is the +2 Fire power if I am understanding things correctly. If you wanted to add more mana the PerTurn would change I think.

Reply #8 Top

This is the comparison for Mana for the 3 levels of shrines:

Level 1

        <GameModifier>
            <ModType>Resource</ModType>
            <Attribute>Mana</Attribute>
            <Value>1</Value>
            <PerTurn>1</PerTurn>
            <Provides>+1 Mana</Provides>
            <UpgradeComparisonID>1</UpgradeComparisonID>
        </GameModifier>

Level 2

        <GameModifier>
            <ModType>Resource</ModType>
            <Attribute>Mana</Attribute>
            <Value>2</Value>
            <PerTurn>1</PerTurn>
            <Provides>+2 Mana</Provides>
            <UpgradeComparisonID>1</UpgradeComparisonID>
        </GameModifier>

Level 3

        <GameModifier>
            <ModType>Resource</ModType>
            <Attribute>Mana</Attribute>
            <Value>3</Value>
            <PerTurn>1</PerTurn>
            <Provides>+3 Mana</Provides>
            <UpgradeComparisonID>1</UpgradeComparisonID>
        </GameModifier>

See, the Value and the Provides goes up by 1 each. I assumed I could manipulate the FireMana the same way but instead it just makes everything go wonky.

Reply #9 Top

The other mods I've done have involved making bigger maps and removing level requirements for weapons/armor, and that was just modding files and dropping them in the mod folder. Apparently to modify these temples I had to turn on the localdataonly switch and modifying the file inside the Fallen Enchantress folder itself. So yeah, it works just as I suspected, modifying that value. Awesome!

Reply #10 Top

Quoting UmbralAngel, reply 6
I think its confusing because of the notation

+1 Shard -> +1 Shard

+1 Mana -> +2 Mana

Unless you don't closely look at it you wont realize that only the mana is going up. 

Especially because the tooltip on upgrade hero abilities work in a way different manner ^^

Sincerely
~ Kongdej

Reply #11 Top

Make backups of the original file(s)! You will not be able to update the game if you have changed anything in the original files.