Zealot
Member
- Reaction score
- 11
So I've been working on an ability that grants allied units bonus stats based on his own attributes.
I've used the +damage, +attack speed etc. item bonuses to achieve this. Problem is I've set up these abilities to have 255 levels, so it works like this Strength of the Hero = Bonus Damage added to the unit. The ability itself works properly, but it causes insane fps drop the first time the trigger is used, and I do mean insane. How do I make it so it runs during map loading?
Spawning a unit, giving it the ability and making it use it happens only after the map has loaded, even though the event used is Map Initialization.
Help would be much appreciated.
I've used the +damage, +attack speed etc. item bonuses to achieve this. Problem is I've set up these abilities to have 255 levels, so it works like this Strength of the Hero = Bonus Damage added to the unit. The ability itself works properly, but it causes insane fps drop the first time the trigger is used, and I do mean insane. How do I make it so it runs during map loading?
Spawning a unit, giving it the ability and making it use it happens only after the map has loaded, even though the event used is Map Initialization.
Help would be much appreciated.