- Joined
- Sep 15, 2020
- Messages
- 67
I'm trying to make a custom race map and I gave a hero a custom spell based off of Inner Fire (Neutral). It is coded to target "Air, Ground, Friend, Organic, Notself", however some bugs keep arising. The main issue being that it will always autocast the buff on enemy units if there are no nearby allies, and if I don't have the Organic tag on, the hero can even cast the spell on buildings! I've tried many possible combinations including using the "Allied" and "Player Units" tag instead of "Friend", but the hero can still cast this Inner Fire variant on enemies. I've tried having the standard Inner Fire spells on the unit, and attempting to use them claims they cannot target enemies, so I'm at my wit's end trying to get this custom spell working.
The enemy force I'm using to test spells on is set as an enemy in both the scenario properties tab as well as force-set via triggers, even in seperate Force tabs, so there's no chance the game is mistaking them for a targetable ally. I've attached a collaborated screenshot of the entire Editor fields for the spell so anyone can see how it's set up.
The enemy force I'm using to test spells on is set as an enemy in both the scenario properties tab as well as force-set via triggers, even in seperate Force tabs, so there's no chance the game is mistaking them for a targetable ally. I've attached a collaborated screenshot of the entire Editor fields for the spell so anyone can see how it's set up.