| 05-05-2007, 01:10 PM | #1 |
Is there a way of making Feari Fire stack with itself ? like when you cast twice on the same unit it´s armor will reduce again, but the time doesn´t "resset", so the first cast ends and his armor is partially given back, but the second cast is still there... is there a way to do it ? |
| 05-05-2007, 01:16 PM | #2 |
The way I would do it One trigger: Detects when faerie fire (1) is cast. If unit has buff faerie fire (1), then dummy cast a faerie fire (2) with increased armor. This of course would reset the timer, so I would give faerie fire (2) several levels with differing duration. Once that is done, correspond the correct level of faerie fire (2) (ie, duration of faerie fire (2)) with the remaining duration of faerie fire (1). Second trigger: when faerie fire (2) expires, dummy cast faerie fire (1) with appropriate duration (again, make faerie fire (1) have differing durations by giving it several levels) At this point is the only way I can think to do it. |
| 05-05-2007, 01:28 PM | #3 |
i think i got the idea but your post is very confusing.. but thanks, anyway. can´t you make a trigger in Trigger: trigger![]() -tag ? |
| 05-05-2007, 03:45 PM | #5 |
IMHO, I would make the second cast reset the duration, it would be much easier to do and would'nt take much from the gameplay. Why make it stack if most of the time, it's only going to count one cast. Again, it's your spell, just I thought I would share my point of view :) |
| 05-05-2007, 06:49 PM | #6 |
ok... i´ve changed my mind..... it is much harder to make it to have different duration and it won´t affect that much the gameplay... so you guys can simplify it to work norma, ressenting the duration at each cast. |
| 05-05-2007, 08:39 PM | #8 |
If the stuff your working on isnt working, lower the complexity of your spells. I, personally, started making spells using Polar Offset, creating units and killing them, in order to do damage. You have to know some basic math for that, though. |
| 05-05-2007, 08:50 PM | #9 |
I just wanna reduce the guys armor by 1 at each cast... is it that , resseting the coldown.... is it that hard ? wy isný my triggers working ? what about the icon ? no one answerd me |
| 05-05-2007, 09:29 PM | #10 |
Your trigger works fine except the case that someone casts the ability on a unit that already has the buff on level 5. If thats not your problem than you must have done something wrong on the abilities. |
| 05-05-2007, 10:18 PM | #12 |
ill try it... but what syze must be the array ? |
| 05-05-2007, 10:38 PM | #13 |
It doesn't actually matter. For any array variable, all the "Array size" box does is initialize the specific numbers with the default value. This is so that you don't get invalid returns, but as long as you are sure to set the variables equal to something before referencing them, you should be fine. To be safe, you could make it size "5". |
