- Joined
- Jan 13, 2008
- Messages
- 559
-
eat mushroom
-

Events
-


Unit - A unit Uses an item
-
-

Conditions
-


(Item-type of (Item being manipulated)) Equal to Mushroom
-


((Triggering unit) is A Hero) Equal to True
-


(Unit-type of (Triggering unit)) Not equal to Backpack
-
-

Actions
-


Set temp_player = (Owner of (Triggering unit))
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Intelligence of (Triggering unit) (Exclude bonuses)) Less than 86
-
-



Then - Actions
-




Hero - Modify Intelligence of (Triggering unit): Add 15
-
-



Else - Actions
-




Hero - Modify Intelligence of (Triggering unit): Set to 100
-
-
-


Custom script: if GetLocalPlayer() == udg_temp_player then
-


Cinematic - Fade out and back in over 5.00 seconds using texture Dream and color (0.00%, 100.00%, 50.00%) with 10.00% transparency
-


Custom script: endif
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Life of (Triggering unit)) Less than 21.00
-
-



Then - Actions
-




Unit - Set life of (Triggering unit) to 1.00
-
-



Else - Actions
-




Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 20.00)
-
-
-
-
/e: it only desyncs when i host on ENT..not in singleplayer
Last edited:

