1
This commit is contained in:
parent
1bfad90031
commit
d7064a0c9e
@ -65,11 +65,7 @@ void HeroAI::Update(int delta_time)
|
|||||||
|
|
||||||
float HeroAI::GetAttackRate()
|
float HeroAI::GetAttackRate()
|
||||||
{
|
{
|
||||||
if (!ai_meta) {
|
return ai_meta->i->attack_rate();
|
||||||
return 1;
|
|
||||||
} else {
|
|
||||||
return ai_meta->i->attack_rate();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void HeroAI::UpdateAI()
|
void HeroAI::UpdateAI()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user