Bullet Detect

Fragment of a discussion from Talk:Cotillion
Jump to navigation Jump to search

Yeah, I've found that using onBulletHit adjustment instead of limiting the energy drop is much more effective against linear targeting, because if the enemy fires the same tick the bot hits them, or the same tick they hit a wall, or even the same tick they get a bullet hit bonus, their 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.

Sheldor (talk)16:12, 17 June 2013