| 01-07-2005, 12:16 PM | #1 |
i want to make a trigger that each attack the hero makes, the next attack will deal more damage how can i do this? i dont know where to start. i think the starting will be "event - a unit is attacked" but then what? |
| 01-07-2005, 01:12 PM | #2 |
Well, you can always use the Firelord ability. Incinerate adds extra damage on the first attack, then double the bonus dmg, then triple the bonus dmg, etc... So if the extra bonus dmg is 5, the first attack would add 5, then the second would add 10, then 15, 20, 25, so on and so on. I think that is what you wanted, if not you could probably edit to your liking. |
| 01-07-2005, 04:18 PM | #3 | |
Quote:
of course , how come i didnt think of it.. :D thanks for the tip. |
| 01-07-2005, 04:44 PM | #4 |
It has the annoying bug however that it only works on ranged units, otherwise it causes attacks to do no damage at all. |
| 01-07-2005, 09:04 PM | #5 |
hmm, i just tried it and it doesnt fit my needs i need it to be like an aura.. any triggers can be used? i saw it on dota on a hero its possible to do |
| 01-08-2005, 07:35 PM | #6 |
Possible, but impractical (massive lag). |
| 01-08-2005, 08:43 PM | #7 |
I'm coming back to Warcraft and I may have forgotten some stuff but wouldn't this work? Varibles; UnitV Interger Event; Unit takes damage Action; If/Then/Else If; Unit taking damage is UnitV Then; Set Interger = Interger + 5 (Maybe make it Interger +5, +2 times the skill level) If 2; Health of unit is equal to or greater than Interger Then 2; Set health of UnitV to = Health of UnitV - Interger Else 2; Set health of UnitV to = Health of UnitV - (Health of UnitV -1) Else; Set damaged unit to UnitV Set Interger to 5 |
| 01-09-2005, 08:03 AM | #8 |
Problem is, unit takes damage doesn't accept unit variables. |
| 01-09-2005, 03:16 PM | #9 |
Guest | Yes, so you will have to create and destroy "takes damage" triggers on the fly with CreateTrigger which have the event "UnitV takes damage". |
