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 19 Sep, 2023 @ 8:48pm
Passive aura action that only affects specific units?
Title is pretty self explanatory. I know you can exclude certain traits, but I want to exclude certain units instead.
< >
Showing 1-5 of 5 comments
Jey 14 20 Sep, 2023 @ 12:14am 
Action:
<genericUnitAbility name="Tyranids/BroodProgenitor" passive="1" rank="-1" rankMax="2"> <beginTargets> <selfTarget> <areas> <area affects="Tile" radiusMin="1" radiusMax="3"> <modifiers> <modifier> <effects> <addTrait name="Tyranids/BroodProgenitor"/> </effects> </modifier> </modifiers> </area> </areas> </selfTarget> </beginTargets> </genericUnitAbility>

Trait:
<trait category="Buff" icon="Actions/Tyranids/BroodProgenitor"> <modifiers> <modifier> <conditions> <unit> <allied/> <!-- <damagedThisTurn/> --> <type name="Tyranids/Termagant"/> </unit> </conditions> <effects> <attacks mul="0.5"/> </effects> </modifier> </modifiers> </trait>
Last edited by Jey; 20 Sep, 2023 @ 12:14am
Trappist 20 Sep, 2023 @ 12:16am 
So long as it works when defined in the action as well, this will be useful.
Erik Taurus 27 Sep, 2023 @ 3:01am 
In your condition you would want to use
<noType name="<faction>\nameOfWhateverUnitYouWantToExclude"/>
Last edited by Erik Taurus; 27 Sep, 2023 @ 3:02am
Trappist 27 Sep, 2023 @ 4:03am 
Oh hey, thx for all the help. I'll put that to use - much smoother than the current system of discluding by traits.
Erik Taurus 27 Sep, 2023 @ 12:26pm 
Originally posted by Trappist:
Oh hey, thx for all the help. I'll put that to use - much smoother than the current system of discluding by traits.
You're welcome!
< >
Showing 1-5 of 5 comments
Per page: 1530 50