So i create a Unit that has 0 Food
But im using this for a AOS
And They buy their hero from Tavern
Doing that would allow them to spam and onces i make the dummy what do i do next could you give more details course i am new to triggering And how do you make a djummy?
Trigger 1)
event : unit enters playable area
condition: Entering unit was a hero , owner of entering unit equals to a user.
action: set p = whatever location and keep dummy without any sight.
create 1 dummy5foodcost at p.
call RemoveLocation(udg_p)
Effect: Ever since a hero which had 0 food cost was created, even upon death it will look like the hero is still costing food, the players will be unable to buy more heroes.
Cons: needless dummy.
Trigger 2)
Even: Map Iniliazation
Action: Melee Game - Limit Heroes to 1 per Hero-type (for all players).
* And check that each hero has requiment for "Any Tier 1 main" on their level 2 techtree required (watch naga as example) if they are still pickable after allready picked.
Effect: Ever since a hero which had 5 food cost was created, upon his death the food cost will go to zero, it will not allow, however, to choose a second hero once one was allready picked.
Cons: It does not work as you requested, as you requested the food cap to be modified and might not solve your precise case since you might have wanted to use that food cap for another thing?
One of those should do the trick, choose the one who fits best and keep in mind that a needless unit cause a small, needless, lag.
**** PS. ****
Your avatar picture must be smaller or it will be cut off and we can't see it.