#PerformAttack() and procs

1 messages · Page 1 of 1 (latest)

sweet grail
#

I set bProcessProcs to false, but still on drow ranger it procs her ultimate on additional attacks. Is there some way to block it?

south mountainBOT
#

Found 1 function for performattack

🇸 CDOTA_BaseNPC:PerformAttack(target: CDOTA_BaseNPC, useCastAttackOrb: bool, processProcs: bool, skipCooldown: bool, ignoreInvis: bool, useProjectile: bool, fakeAttack: bool, neverMiss: bool): nil
Performs an attack on a target.

modest wolf
#

maybe set fakeAttack to true?

#

actually nevermind, i think fakeAttack does 0 attack damage

#

what exactly are you trying to do with the performattack?
just deal some damage without proccing any items or abilities?

#

if thats it, you could just make a tracking projectile instead and deal damage on hit.

sweet grail
#

ok, nice idea 🙂 thx!

cedar vapor
#

ProcessProcs flag used to work for attack modifiers that arent orb effects. Over the years they removed orb effects and broke processProcs flag as well. Maybe it works again. You can check if you test medusa split shot, luna glaives and TA psi blades.