- Joined
- Jan 21, 2010
- Messages
- 2,111
I got this trigger, and it's bugging
when i tried to "mark" a monster (using skill to a unit), instead replacing it with proper unit, it's making 3 new replacer unit
1 monster + Mark = 4 pet monster
when i tried to "mark" a monster (using skill to a unit), instead replacing it with proper unit, it's making 3 new replacer unit
1 monster + Mark = 4 pet monster
-
Some Bug occured here
-

Events
-


Unit - A unit Begins casting an ability
-
-

Conditions
-

Actions
-


Do Multiple ActionsFor each (Integer A) from 1 to 4, do (Actions)
-



Loop - Actions
-




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





If - Conditions
-






(Ability being cast) Equal to (==) Mark (All Heroes)
-






(Unit-type of (Triggering unit)) Equal to (==) Owner[(Integer A)]
-
-





Then - Actions
-






Set Count[(Player number of (Owner of (Triggering unit)))] = (Count[(Player number of (Owner of (Triggering unit)))] + 1)
-







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








If - Conditions
-









Count[(Player number of (Owner of (Triggering unit)))] Greater than (>) 5
-
-








Then - Actions
-









Unit - Order (Triggering unit) to Stop
-









Game - Display to (All players matching ((Matching player) Equal to (==) (Owner of (Triggering unit)))) the text: You can't have more...
-
-








Else - Actions
-
-
-
-





Else - Actions
-






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







If - Conditions
-








(Unit-type of (Target unit of ability being cast)) Equal to (==) Non_Pet_Type[1]
-
-







Then - Actions
-








Unit - Replace (Target unit of ability being cast) with a Pet_Type[1] using The new unit's max life and mana
-








Unit - Add Pet (All Pet) to (Last replaced unit)
-








Selection - Add (Last replaced unit) to selection for (Owner of (Last replaced unit))
-








Unit Group - Add (Target unit of ability being cast) to Pet[(Player number of (Owner of (Triggering unit)))]
-
-







Else - Actions
-








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









If - Conditions
-










(Unit-type of (Target unit of ability being cast)) Equal to (==) Non_Pet_Type[2]
-
-









Then - Actions
-










Unit - Replace (Target unit of ability being cast) with a Pet_Type[2] using The new unit's max life and mana
-










Unit - Add Pet (All Pet) to (Last replaced unit)
-










Selection - Add (Last replaced unit) to selection for (Owner of (Last replaced unit))
-










Unit Group - Add (Target unit of ability being cast) to Pet[(Player number of (Owner of (Triggering unit)))]
-
-









Else - Actions
-










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











If - Conditions
-












(Unit-type of (Target unit of ability being cast)) Equal to (==) Non_Pet_Type[4]
-
-











Then - Actions
-












Unit - Add Pet (All Pet) to (Target unit of ability being cast)
-












Unit Group - Add (Target unit of ability being cast) to Pet[(Player number of (Owner of (Triggering unit)))]
-












Unit - Remove All buffs from (Target unit of ability being cast)
-
-











Else - Actions
-












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













If - Conditions
-














(Unit-type of (Target unit of ability being cast)) Equal to (==) Non_Pet_Type[5]
-
-













Then - Actions
-














Unit - Add Pet (All Pet) to (Target unit of ability being cast)
-














Unit Group - Add (Target unit of ability being cast) to Pet[(Player number of (Owner of (Triggering unit)))]
-














Unit - Remove All buffs from (Target unit of ability being cast)
-
-













Else - Actions
-
-
-
-
-
-
-
-
-
-
-
-
-







