Bullet Detect
Fragment of a discussion from Talk:Cotillion
Jump to navigation
Jump to search
Yeah, I've found using onBulletHit
adjustment instead of limiting the energy drop to be much more effective against linear targeting, because if the enemy fires the same tick the bot hits it, or the same tick it hits a wall, or even the same tick it gets a bullet hit bonus, its fire will not be detected. If you have some codesize to spare, I would also recommend adjusting the enemy energy variable on onHitByBullet
, to make it even more accurate.