sentrywiz
New Member
- Reaction score
- 25
sorry,
Ok players start with 1 unit which can create 2 types of buildings, a spawner or a buff tower (building the structure consumes the unit).
Every 30secs each region (which can only support 4 buildings) spawns X units in the centre of the region (where X = number of spawn buildings).
The buff tower has a random aura on it (generated by trigger) and is also applied to a "trigger tower" hidden and unselectable in the centre of the map.
So for example the units spawning have no auras. You build a buff tower which has vamp aura (7.3% chance of this aura) (this also gives the trigger tower vamp aura). Auras are set to max range (so the centre towers can reach the whole map). Now you create a 2nd buff tower and it gives you the vamp aura as well (luck of the draw) this newly created tower also has lvl1 vamp aura but the trigger tower lvls up to lvl2 vamp aura (giving the illusion that the buff towers are stacking). I also have triggers for when these towers are destroyed reducing the lvl of the buff on the "trigger tower"
So the aura needs to be applied (if buff towers have it) when units are created and at the lvl of the "trigger tower" and also when a the lvl of the ability on the "trigger tower" changes
Hopefully this gives you more of an idea now, which i should have explained at the start and made it much easier for you. I didn't intend on this being so hard and lengthy tho.
Well my above post where I explain what/how/why should be good to sort through the messy triggers of creating and giving lifesteal aura to units. I get more about your map now that you wrote how is what, but you will have to answer this question yourself, hence once again I didn't find an answer to:
If the building levels up the Vampiric Aura automatically, when will the level up happen? Under what event and what are necessary conditions? Each 50 kills? When you get 1000 gold? When you upgrade something? When?
When you answer this question, then you can use the trigger I posted above with a new trigger that will give new units Lifesteal for the level Vampiric Aura is. However, for the last time under which event?
1). you cannot level up most item abilitys. i dont know for sure whether this rule applies to life steal as well but i guess.
That is why I said somewhere above to change the ability Item Lifesteal to be Hero and have as many levels as the Vampiric Aura that should be leveled by the building.
Summary (to complete this thread):
- Change the ability Item Lifesteal to be from Item to Hero and give levels to it so it would equal the Vampiric Aura ability
- Write under which event will the tower level Vampiric Aura on its own, and maybe do the trigger