HelpEnemy DoT

Posts 1–3 of 3 · Page 1 of 1
Enemy DoT
How would i go about enemy DoT (Damage over Time) from let's say a sword or so, it would inflict bleeding on the enemy or poison the enemy every (amount of time between poisons). Been messing around with things and can't figure out how i would do it, any help?
The guy with the spongebob pic knows the answer
You can look at PoisonEnemy function in Player.UseItem.cs, it will give you a sense of DoT. You'll then need to add your new conditional effect, give your weapon the effect, and finally look into Enemy.cs function HitByProjectile.
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us