Important: This is only an update where I removed H2I and added GetHandleId to make it work with the new patch. The system code itself is still the old one. In the moment I'm working on a new hashtable version and I'm going to upload it as soon as possible
The OOC-System will be completly removed as a standalone (but it will stay in the aggro system for the aggro resett). In addition I added some new functions to get units/groups that are affected by the system.
So, these are two system that you could know if you ever played an ORPG.
Or maybe you played an RPG in Wc3 and got attacked of units just for a single hit, although the others fighted a lot more? This nasty problem can get solved
The first one is the "Aggro System":
- Allows the user to add "aggro" to a unit by another one (the amount of both, attackers
and attacked units is nearly unlimited)
- Compares the aggro of all attackers/casters/whatever. The highest one
will get attacked by the target
- Usefull with a damage detection system (and then add extra values to spells)
The second one is the "Out Of Combat System":
- Whenever a unit doesn't attack, doesn't get attacked, doesn't use a spell or is the target
of a spell for 10 seconds it will move back to its position and reset the aggro
- In a case that spells can remove units out of combat for more then 10 seconds
(like a stun) I would recommend to increase the time in the trigger to avoid problems
This systems require the Jass New Gen Package!
If you use it, give credits to (I mentioned it in the triggers, but who reads them?):
- PandaMine for the HSAS idea
- Dr Super Good for great help
- Me
Please report all bugs that you can find
Greets, Justify
Keywords:
combat system, combat, out of combat, attack, attacked, rpg, justify