HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

spell problem

09-01-2004, 06:21 PM#1
Hound Archon
i was making a spell but it didn't work
i want the spell to increase the damge by 4 for the learning hero
Edit: i i clicked back in the first thread..deleting everything what i wrote
The Code

Code:
 Disease Mastery 
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Disease Mastery 
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Disease Mastery for (Triggering unit)) Equal to 1
Then - Actions
Advanced - For (Triggering unit) Increase damage by 4
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Disease Mastery for (Learning Hero)) Equal to 2
Then - Actions
Advanced - For (Learning Hero) Increase damage by 6
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Disease Mastery for (Learning Hero)) Equal to 3
Then - Actions
Advanced - For (Learning Hero) Increase damage by 8
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Disease Mastery for (Learning Hero)) Equal to 4
Then - Actions
Advanced - For (Learning Hero) Increase damage by 12
Else - Actions
Do nothing
09-01-2004, 09:01 PM#2
Azhag
When you place down a tigger in the forums please make sure it is in code wrap like this

Code:
Events-dsdfgdfsgfdsgfdsg

To do that, put this at the begining of the text. [ C O D E] but without the spaces, and the at the end of the text add this [/ C O DE] again without the spaces.

Now on to your question. My opinion is maybe to split the triggers up. But I don't know, I'm not currently on the WE so I can't give you full triggers. Hopefully I helped a bit, Good luck.
09-01-2004, 09:04 PM#3
Eeporgorg
Do you have advanced triggers enabled, and an "Advanced Trigger initialization" action for a map initialization trigger?
09-01-2004, 10:24 PM#4
Hound Archon
yes i have doesn't work either