Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Game constants.. I think there is an value that can set the maximum food to a number, and even if you have an building or unit that gives more food that this value, it won't increase it.
Food Limit: 100. That's what I have at the moment in Game Constansts. I try to give with triggers more food cap but it doesn't work. I wonder what makes it so that it stays in that 10?
Systems works perfectly, but Food Cap just won't go over 10.
Here's the system Food System I use.
CHECK Vitality ITEMS
Events
Time - Every 1.00 seconds of game time
Conditions
Cinematic Equal to False
Actions
-------- Anti-Cheat Mana --------
Unit - Order Anti_Cheat_Mana to Night Elf Druid Of The Claw - Roar
-------- === VITALITY === --------
Set Max_Vitality = 0
Set TempGroup = (Units owned by Player 1 (Red))
Unit Group - Pick every unit in TempGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has an item of type Magical Web) Equal to True
Then - Actions
Set Max_Vitality = (Max_Vitality + 1)
Else - Actions
Unit Group - Pick every unit in TempGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has an item of type Rikhano's Armor) Equal to True
Then - Actions
Set Max_Vitality = (Max_Vitality + 1)
Else - Actions
Unit Group - Pick every unit in TempGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has an item of type Rikhano's Boots) Equal to True
Then - Actions
Set Max_Vitality = (Max_Vitality + 1)
Else - Actions
Unit Group - Pick every unit in TempGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has an item of type Rikhano's Jewel) Equal to True
Then - Actions
Set Max_Vitality = (Max_Vitality + 1)
Else - Actions
Unit Group - Pick every unit in TempGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has an item of type Rikhano's Set) Equal to True
Then - Actions
Set Max_Vitality = (Max_Vitality + 3)
Else - Actions
Unit Group - Pick every unit in TempGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has an item of type Sack Of Endless Food) Equal to True
Then - Actions
Set Max_Vitality = (Max_Vitality + 3)
Else - Actions
Set Vitality[1] = (Player 1 (Red) Food used)
Set Vitality[2] = (10 + Max_Vitality)
Custom script: call DestroyGroup(udg_TempGroup)
-------- === SET VITALITY MAX AMOUNT === --------
Player - Set Player 1 (Red) Food cap to Vitality[2]
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.