Let me show you how to hump without making love.
Alright, now that I am not using a phone to type this, let me go more in detail:
By giving each player a unit that does different a different number of damage, when you attack a unit, the EUDs would know how much was dealt. I could use this to detect what player attacked that unit. These enemy units would each do different amounts of damage as well. So you can detect which player and which unit attacked each, correct?
After this, I would use detecting what hero attacked what enemy and vice versa, allowing me to trigger in my own damage, health and regeneration as vHP. This would come into play when players get better equipment, use more effective spells, even leading to enemies leveling with you.
Essentially, say p1's hero unit was attacked by p5's enemy unit. He would take 1 damage, that's how much his units do and using EUDs, that has a specific number, right?
Now, pigy_g asked me:
"What if he was attacked by two enemy units at the same time?" Okay, say p5 and p6, he just took 11 damage, because p5 does 1 and p6 does 10. Just for reference, this would mean that p7=100 and p8=1000. Detecting that he was attacked by both p5 and p6, now having 11 damage received, I would run the damage triggers on that player for both of those enemy players.
The issue with killing units that have EUDs set with, using this vHP system, I would instead move them away and re-use them.
So in short, I would be using EUDs to only detect different amounts of damage, to detect exactly what unit owned by what player attacked what unit owned by another player, to allow me to trigger (vHP) in the stats. This all would theoretically work, right?
Is there any complications in this idea?
Post has been edited 1 time(s), last time on Jun 23 2009, 9:01 pm by LoveLess.
None.