I am changing the quest system in my map but it seems there are problems on my triggers
If you know the error, please share your knowledge xD
-
Dialog Buttons
-
Events
- Time - Elapsed game time is 0.00 seconds
- Conditions
-
Actions
- Dialog - Change the title of QuestDialog[0] to Pick An Option:
- Dialog - Create a dialog button for QuestDialog[0] labelled Accept Quest
- Set Quest_Button[0] = (Last created dialog Button)
- Dialog - Create a dialog button for QuestDialog[0] labelled Accomplish Quest
- Set Quest_Button[1] = (Last created dialog Button)
-
Events
-
Quest Initialization
-
Events
- Unit - A unit Acquires an item
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Hero manipulating item) has an item of type Heart of the Weak) Equal to True
-
Then - Actions
- Dialog - Show QuestDialog[0] for (Owner of (Hero manipulating item))
- Item - Remove (Item carried by (Hero manipulating item) of type Heart of the Weak)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Heart of the Weak
-
Events
- Dialog - A dialog button is clicked for QuestDialog[0]
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to Quest_Button[0]
-
Then - Actions
- Set QuestLimitation = (QuestLimitation + 1)
- Trigger - Turn on Heart of the Weak Item <gen>
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Heart of the Weak Item
-
Events
- Unit - A unit Dies
-
Conditions
- (Unit-type of (Dying unit)) Equal to Corrupted Treant
- (Unit-type of (Dying unit)) Equal to Spider
- (Unit-type of (Dying unit)) Equal to Satyr
- (Unit-type of (Dying unit)) Equal to Satyr Trickster
- (Unit-type of (Dying unit)) Equal to Spitting Spider
- (Unit-type of (Dying unit)) Equal to Murloc Plaguebearer
- (Unit-type of (Dying unit)) Equal to Satyr Shadowdancer
- (Unit-type of (Dying unit)) Equal to Fel Beast
- (Unit-type of (Dying unit)) Equal to Sludge Minion
- (Unit-type of (Dying unit)) Equal to Sludge Flinger
- (Unit-type of (Dying unit)) Equal to Murloc Flesheater
-
Actions
- Set HeartoftheWeakItem = (HeartoftheWeakItem + 1)
- Game - Display to (All players) the text: (|cff80ff80Heart of the Weak [ + ((String(HeartoftheWeakItem)) + /10 ]|r))
-
Events