1
This commit is contained in:
parent
c68bac3a5e
commit
0835f3359b
@ -515,13 +515,6 @@ void AndroidNewAI::UpdateAttack()
|
|||||||
case kShotClick:
|
case kShotClick:
|
||||||
{
|
{
|
||||||
if (ai_meta->i->attack_interval() > 0) {
|
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()) {
|
if (node_.shot_times < ai_meta->i->attack_times()) {
|
||||||
DoShotNewAI();
|
DoShotNewAI();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user