Will the 5 food requirement be accurate for your map? If you have any unit, which uses more or less than 1 food, you cannot use it.
If you can, you can use a validator instead of a requirement. Validators can validate available food.
You can also make a huge requirement, which lists and adds up the count of all valid units for your spell and compares the sum to 5, however, this would be a pain, if your map supports a lot of unit types. On the other hand, this would probably be the most accurate solution, since it doesn't depend on your food being properly set up, and you can manually include or exclude any unit you like
@Fullachain: Go If all unit types cost 1 food then you can set it to require 5 units. How exactly are you setting it up? As one example, if you're using a search effect to sacrifice the units you can set up the search to require 5 targets or something like that.
you must make a require (just copy the mothership require) and make from 1 to 5 and remove have mothership (im not in the editor right now so i cant make big details)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have a unit that can only be summoned by sacrificing 5 other units.
It costs 0 mana, so I need a requirement, must have 5 food.
I browsed all the default requirement and had a look, is this possible? I can't seem to find a way.
If not have to be triggers.
Will the 5 food requirement be accurate for your map? If you have any unit, which uses more or less than 1 food, you cannot use it.
If you can, you can use a validator instead of a requirement. Validators can validate available food.
You can also make a huge requirement, which lists and adds up the count of all valid units for your spell and compares the sum to 5, however, this would be a pain, if your map supports a lot of unit types. On the other hand, this would probably be the most accurate solution, since it doesn't depend on your food being properly set up, and you can manually include or exclude any unit you like
All units = 1 food each. But tonnes of unit types, so validator is best choice?
What type of validator would be best?
@Fullachain: Go If all unit types cost 1 food then you can set it to require 5 units. How exactly are you setting it up? As one example, if you're using a search effect to sacrifice the units you can set up the search to require 5 targets or something like that.
I was doing the sacrifice part with triggers, as I find it easiest. I can also pre-select the weakest and most worthless units first.
It's a simple click spell with 0 mana. But I need a 5 food/units on the field validator.
You must not be able to click the spell unless you have 5 used food.
you must make a require (just copy the mothership require) and make from 1 to 5 and remove have mothership (im not in the editor right now so i cant make big details)