This commit is contained in:
aozhiwei 2020-07-15 16:49:40 +08:00
parent c68bac3a5e
commit 0835f3359b

View File

@ -515,13 +515,6 @@ void AndroidNewAI::UpdateAttack()
case kShotClick:
{
if (ai_meta->i->attack_interval() > 0) {
#if 0
if (myself->room->GetFrameNo() - node_.start_shot_frameno >
ai_meta->i->attack_interval() / 100) {
//本轮射击结束
node_.shot_times = 0;
}
#endif
if (node_.shot_times < ai_meta->i->attack_times()) {
DoShotNewAI();
} else {