Zealot
Member
- Reaction score
- 11
This trigger causes a noticeable FPS drop. Anyone know what's the cause?
Trigger:
- Make Firecamp
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Make Campfire
- Actions
- For each (Integer A) from 1 to 6, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- And - All (Conditions) are true
- Conditions
- (Item-type of (Item carried by (Casting unit) in slot (Integer A))) Equal to Wood
- (Charges remaining in (Item carried by (Casting unit) in slot (Integer A))) Greater than or equal to 3
- Conditions
- And - All (Conditions) are true
- Then - Actions
- Set Fireplace_Item = (Integer A)
- For each (Integer A) from 1 to 6, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- And - All (Conditions) are true
- Conditions
- (Charges remaining in (Item carried by (Casting unit) in slot (Integer A))) Greater than or equal to 2
- (Item-type of (Item carried by (Casting unit) in slot (Integer A))) Equal to Rocks
- Conditions
- And - All (Conditions) are true
- Then - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Charges remaining in (Item carried by (Casting unit) in slot Fireplace_Item)) Equal to 3
- Then - Actions
- Item - Remove (Item carried by (Casting unit) in slot Fireplace_Item)
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Charges remaining in (Item carried by (Casting unit) in slot Fireplace_Item)) Equal to 4
- Then - Actions
- Item - Set charges remaining in (Item carried by (Casting unit) in slot Fireplace_Item) to 1
- Else - Actions
- Item - Set charges remaining in (Item carried by (Casting unit) in slot Fireplace_Item) to ((Charges remaining in (Item carried by (Casting unit) in slot Fireplace_Item)) - 3)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Item - Set charges remaining in (Item carried by (Casting unit) in slot (Integer A)) to ((Charges remaining in (Item carried by (Casting unit) in slot (Integer A))) - 1)
- Item - Create Fireplace at (Position of (Casting unit))
- Skip remaining actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- For each (Integer A) from 1 to 6, do (Actions)
- Events