修复ai对隐身对象处理

This commit is contained in:
aozhiwei 2021-04-30 14:13:42 +08:00
parent 18d3baff83
commit 80551558bc

View File

@ -1078,6 +1078,9 @@ bool Creature::IsProperTarget(Creature* target)
if (target->HasBuffEffect(kBET_Invincible)) {
return false;
}
if (target->HasBuffEffect(kBET_Hide)) {
return false;
}
return true;
}