| 10-28-2008, 07:05 AM | #1 |
I want to make a unit with rage like a warrior from wow. Is it possible to get the damage done so I can use that to base how much rage I want to add. Moslty I think I rather have it as a % instead of simple damage, that way I dont need to change anything at differnt levels. expample I attack a unit and I take 6%of his hp, = I gain 6% rage just simple damage I guess will work to, so I do 100 damage or whatever and get so much rage, just seems that way might be harder to balance because low levels wont get rage or high levels will get crazy amounts. |
| 10-28-2008, 07:14 PM | #2 |
use some sort of damage detection engine. there are many in the resource section. |
| 10-29-2008, 01:35 PM | #3 |
I saw a few, the big one seems to add way way more then what I need, and talks about how all spells need to be triggered and what not. I only need this for 1 unit thats it. Do I even need a system or can I use just a simple trigger. I can find a good action but not a event, unless the unit is pre placed a. set mana of attacking unit to mana of attacking unit + event response damage taken That would add mana based on my damage, but the event wont let generic work, only specific :(. Again I only need this for 1 unit thats it and only for his attacks not spells or anything |
| 10-29-2008, 02:01 PM | #4 |
DDS is really the only way to go you can make your own, and have it simple - or use one of those robust premade ones - its your choice |
| 10-29-2008, 07:53 PM | #5 |
The thing about damage detection is that you need to add a trigger for each unit in your map, sorry but it's not easy to do/implement since you have to take care of leaks, dynamic triggers, and more things I don't know... |
| 10-30-2008, 01:01 AM | #6 |
Damage detection is just annoying to do and even if you only need it for just a single unit, you could do it on your own if that's the case but chances are you'll have other spells or units that need it eventually if not now so you might as well use a system from the start. The thing about all spells having to be triggered is only necessary if you want to be able to distinguish between attack damage and spell damage in your damage detection trigger, if you don't need that then you can use regular spells as well. |
