Apparently, My Quest System for my map uses dialogs, And this error states that my hero is not suitable for the quest but My character is the Requirement. I have set in a lvl 12 Samurai and 200 Kills but still it does not work anyone can check my triggers ?
The Error Occurs on this part here
Thanks 
The Error Occurs on this part here
-
(Unit-type of (Picked unit)) Not equal to Samurai
-
Then - Actions
-
Item - Remove (Item carried by (Hero manipulating item) of type Headhunter Job Change)
-
Game - Display to (Player group((Triggering player))) the text: Your class cannot c...
-
StoH Trigger
-
Events
-
Dialog - A dialog button is clicked for STOH
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (Units within 512.00 of (Position of Samurai Practicer 0003 <gen>) matching ((Owner of (Picked unit)) Equal to Player 1 (Red))) and do (Actions)
-
Loop - Actions
-
Set ClassChangeItems = (Region centered at (Position of (Picked unit)) with size (500.00, 500.00))
-
Set ClassChangeExp = (Hero experience of (Picked unit))
-
Set HeroAttribute[1] = (Strength of (Picked unit) (Exclude bonuses))
-
Set HeroAttribute[2] = (Agility of (Picked unit) (Exclude bonuses))
-
Set HeroAttribute[3] = (Intelligence of (Picked unit) (Exclude bonuses))
-
Set HeroAttribute[4] = (Unspent skill points of (Picked unit))
-
Set ClassChangeLevel = (Hero level of (Picked unit))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Picked unit)) Not equal to Samurai
-
-
Then - Actions
-
Item - Remove (Item carried by (Hero manipulating item) of type Headhunter Job Change)
-
Game - Display to (Player group((Triggering player))) the text: Your class cannot c...
-
-
Else - Actions
-
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to StoHDialogButton[1]
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
-
ClassChangeLevel Greater than or equal to 12
-
(Unit-type of (Picked unit)) Equal to Samurai
-
((Owner of (Picked unit)) Current lumber) Greater than or equal to 200
-
-
-
-
Then - Actions
-
Trigger - Turn on StoH Quest Spider <gen>
-
Trigger - Turn on StoH Quest Treant <gen>
-
Trigger - Turn on StoH Monster Essence <gen>
-
Trigger - Turn on StoH Quest Gnoll <gen>
-
Trigger - Turn on StoH Quest Satyr <gen>
-
Game - Display to (Player group((Owner of (Picked unit)))) the text: (|cff80ff80Accepted the Quest "Headhunter Job Change" + !)
-
Set StoHInit[1] = Current
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
StoHInit[1] Equal to Current
-
-
Then - Actions
-
Game - Display to (Player group((Triggering player))) the text: (|cff80ff80You have already accepted this quest + !)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Picked unit)) Not equal to Samurai
-
-
Then - Actions
-
Game - Display to (Player group((Triggering player))) the text: (|cff80ff80Your Class does not support this quest + !)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
ClassChangeLevel Less than 12
-
-
Then - Actions
-
Game - Display to (Player group((Triggering player))) the text: (|cff80ff80Your level is too low for this quest + !)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of (Picked unit)) Current lumber) Less than 200
-
-
Then - Actions
-
Game - Display to (Player group((Triggering player))) the text: (|cff80ff80Your kill count is not enough + !)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to StoHDialogButton[2]
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
StoHSpiderKill[1] Not equal to 10
-
StoHTreantKill[1] Not equal to 10
-
StoHSatyrKill[1] Not equal to 10
-
StoHGnollKill[1] Not equal to 10
-
StoHMEKill[1] Not equal to 5
-
-
-
-
Then - Actions
-
Game - Display to (Player group((Triggering player))) the text: (|cff80ff80You dont have the needed items for the quest + !)
-
-
Else - Actions
-
Unit Group - Pick every unit in (Units owned by Player 1 (Red)) and do (Actions)
-
Loop - Actions
-
Item - Remove (Item carried by (Hero manipulating item) of type Headhunter Job Change)
-
Hero - Drop the item from slot 1 of (Picked unit)
-
Hero - Drop the item from slot 2 of (Picked unit)
-
Hero - Drop the item from slot 3 of (Picked unit)
-
Hero - Drop the item from slot 4 of (Picked unit)
-
Hero - Drop the item from slot 5 of (Picked unit)
-
Hero - Drop the item from slot 6 of (Picked unit)
-
Unit - Remove (Picked unit) from the game
-
Unit - Create 1 Headhunter for (Owner of (Picked unit)) at (Center of ClassChangeItems) facing Default building facing degrees
-
Special Effect - Create a special effect attached to the origin of (Last created unit) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Hero - Modify Strength of (Last created unit): Set to HeroAttribute[1]
-
Hero - Modify Agility of (Last created unit): Set to HeroAttribute[2]
-
Hero - Modify Intelligence of (Last created unit): Set to HeroAttribute[3]
-
Hero - Modify unspent skill points of (Last created unit): Set to HeroAttribute[4] points
-
Hero - Set (Last created unit) Hero-level to ClassChangeLevel, Hide level-up graphics
-
Hero - Set (Last created unit) experience to ClassChangeExp, Hide level-up graphics
-
Selection - Select (Last created unit) for (Owner of (Last created unit))
-
Item - Pick every item in ClassChangeItems and do (Actions)
-
Loop - Actions
-
Hero - Create (Item-type of (Picked item)) and give it to (Last created unit)
-
Item - Remove (Picked item)
-
-
-
-
-
-
-
-
Else - Actions
-
-
-
-
-
-
-
-
-
-
-
-
-
Else - Actions
-
-
-