- Joined
- Nov 4, 2011
- Messages
- 64
I am created a spell called presence of the sun can u help me the trigger which is a day effected passive skill. which will gives agility bonus in day time in night time gives nothing.
i have done 3 abilities in object editor
1. Presence of the sun (Day time)
2. Presence of the sun (learning)
3. Presence of the sun (night time)
can u help me in this triggers. to change the spells in day & night. tell me what changes to do.
(NOteOTS_Hero is learning hero)
trigger 1:- learning
trigger 2:- changing the spell day time:-
i have done 3 abilities in object editor
1. Presence of the sun (Day time)
2. Presence of the sun (learning)
3. Presence of the sun (night time)
can u help me in this triggers. to change the spells in day & night. tell me what changes to do.
(NOteOTS_Hero is learning hero)
trigger 1:- learning
-
presence of the sun learning
-
Events
- Unit - A unit Learns a skill
-
Conditions
- (Learned Hero Skill) Equal to Presence of the sun [Learning]
-
Actions
- Set POTS_HeRo = (Learning Hero)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (In-game time of day) Greater than or equal to 6.00
- (In-game time of day) Less than 18.00
-
Then - Actions
- Unit - Add Presence of the sun [Day time] to POTS_HeRo
- Unit - Set level of Presence of the sun [Day time] for POTS_HeRo to (Level of Presence of the sun [Learning] for POTS_HeRo)
-
Else - Actions
- Unit - Add Presence of the sun [Night Time] to POTS_HeRo
- Unit - Set level of Presence of the sun [Night Time] for POTS_HeRo to (Level of Presence of the sun [Learning] for POTS_HeRo)
- Unit - Remove Presence of the sun [Day time] from POTS_HeRo
-
If - Conditions
-
Events
trigger 2:- changing the spell day time:-
-
presence of the sun continue
-
Events
- Time - Every 2.00 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (In-game time of day) Greater than or equal to 6.00
- (In-game time of day) Less than 18.00
-
Then - Actions
- Unit - Remove Presence of the sun [Night Time] from POTS_HeRo
- Unit - Add Presence of the sun [Day time] to POTS_HeRo
- Unit - Set level of Presence of the sun [Day time] for POTS_HeRo to (Level of Presence of the sun [Learning] for POTS_HeRo)
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
presence of the sun night time
-
Events
- Time - Every 2.00 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (In-game time of day) Less than 6.00
- (In-game time of day) Greater than or equal to 18.00
- (In-game time of day) Greater than or equal to 0.00
-
Then - Actions
- Unit - Remove Presence of the sun [Day time] from POTS_HeRo
- Unit - Add Presence of the sun [Night Time] to POTS_HeRo
- Unit - Set level of Presence of the sun [Night Time] for POTS_HeRo to (Level of Presence of the sun [Learning] for POTS_HeRo)
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events