Age of Wonders: Planetfall

Age of Wonders: Planetfall

Community Mods
The Age of Wonders: Planetfall workshop is the place on Steam to get and share handcrafted scenarios, epic campaigns and mods that implement little tweaks to full game overhauls.
Learn More
allmektiger 16 Mar, 2024 @ 12:23am
Modding: creating global unit property
Hello!

I'm trying to make to make a simple mod that will add a system for weakening characteristics when receiving damage.

Firstly, i add "AOW Unit Property: Unit damage threshold event" [Casualty - light], for 75% threshold.
Screenshot [dojo.su]
It call "Magic - Tactical Unit Targeter: caster" [Casualty - light - targeter], which call "Magic - Tactical Unit Effect: property" [Casualty - light - effect].

This property call [Minor wounds] "AOW Unit Property: Group", which consist of some debuff effects (AOW Unit Property: Morale bonus etc)
Screenshot [dojo.su]

Then I add created rpk as required in progect manager, build it and activate my mod in Launcher.
Screenshot [dojo.su]

I want the damage threshold event to apply to all units when they lose health, but this mod doesn't do anything.

Please, help me, what did I miss?