Warhammer 40,000: Gladius - Relics of War

Warhammer 40,000: Gladius - Relics of War

Create and Share Custom Mods
The best mods for Warhammer 40,000: Gladius live here. Mods are made by players, for players and are not officially licensed by Games Workshop. Click 'Learn More' below to read our Modder’s Guide.
Learn More
Trappist 5 May, 2023 @ 12:34pm
Reducing max morale through traits
I'm trying to create a trait similar to the enslavers morale reduction aura, only it reduces max morale instead.

<?xml version="1.0" encoding="utf-8"?>
<trait category="Debuff" icon="Traits/OnEdge">
<perTurnModifiers>
<modifier>
<effects>
<morale addMax="-1"/>
</effects>
</modifier>
</perTurnModifiers>
</trait>

So far, it seems to have no effect, although the game doesn't crash on startup.
I've hunted everywhere to find an equivalent ability that can be reverse-engineered but I haven't found one. Just wondering if this is even possible in the games engine? I could have sworn I accidentally made a trait that reduces max HP once, while trying to implement poison... But I can't replicate it and don't remember what I did, lol.
< >
Showing 1-2 of 2 comments
Jey 14 6 May, 2023 @ 12:59am 
Have you tried
<moraleMax add="-1"/>
instead?
Trappist 6 May, 2023 @ 7:23am 
Yes lol, I figured it out last night just before bed

Also had to change the "PerTurnModifier to just "Modifier"

<?xml version="1.0" encoding="utf-8"?>
<trait category="Debuff" icon="Traits/OnEdge">
<modifiers>
<modifier>
<conditions>
<encounter>
<opponent>
<noTrait name="Vehicle"/>
<noTrait name="Fortification"/>
<noTrait name="AndTheyShallKnowNoFear"/>
<noTrait name="Fearless"/>
<noTrait name="Tyranids/SynapseLink"/>
<noTrait name="Zealot"/>
</opponent>
</encounter>
</conditions>
<effects>
<moraleMax mul="-0.20"/>
</effects>
</modifier>
</modifiers>
</trait>

I seem to be in the habit of struggling with something for hours, posting for help, then immediately figuring it out myself.
Last edited by Trappist; 6 May, 2023 @ 7:24am
< >
Showing 1-2 of 2 comments
Per page: 1530 50