I hope the title didnt scare you off 
Ive made a spellbook with 2 spells which have the point of creating an item through 2 triggers and given it to a building. The problems are the following:
1) the building jumps around when the triggers happen.
2) the actions of one trigger seem to take place regardless of which spell is cast.
3) After casting the first ability (pine spear) the other ability becomes disabled (no idea why this is) the first ability thus casts mahogany pine mahogany and continues mahogany (second ability).
I have attached a map with the problem parts.
Here's an example of 1 of the 2 triggers:
Ive made a spellbook with 2 spells which have the point of creating an item through 2 triggers and given it to a building. The problems are the following:
1) the building jumps around when the triggers happen.
2) the actions of one trigger seem to take place regardless of which spell is cast.
3) After casting the first ability (pine spear) the other ability becomes disabled (no idea why this is) the first ability thus casts mahogany pine mahogany and continues mahogany (second ability).
I have attached a map with the problem parts.
Here's an example of 1 of the 2 triggers:
-
Create pine spear
-
Events
-
Unit - A unit Finishes casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Craft Pine spear
-
-
Actions
-
Set Currentlumber = ((Owner of (Triggering unit)) Current lumber)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Currentlumber Greater than or equal to 20
-
-
Then - Actions
-
Item - Create Pine spear at (Position of (Triggering unit))
-
Player - Set (Owner of (Triggering unit)) Current lumber to (((Owner of (Triggering unit)) Current lumber) - 20)
-
-
Else - Actions
-
Game - Display to Player Group - Player 1 (Red) the text: Not enough lumber
-
-
-
-