Hi, i want my minion to give a certain debuff on enemies. this should be triggered every 30 seconds and affect all enemies within a certain radius of the player but i don't know exactly how. this is my code so far for the minion's ai:
First of all, thanks for your answer! I was visiting a friend of mine these past few days and didn't see your reply here, so sorry for that delayed answer.
the thing is, the timer does function but my debuff code is not and I don't really know why. This is my current code (the line"Projectile.position = owner.Center + new Vector2(-12f, -80f);" in the timer if statement ist just a visual change to see when the timer will trigger - don't mind it)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.