1
This commit is contained in:
parent
4e29cd295f
commit
c2bd6e9c6f
@ -246,12 +246,12 @@ bool HeroAgent::HasBuffEffect(int effect_id)
|
||||
return owner_->HasBuffEffect(effect_id);
|
||||
}
|
||||
|
||||
bool HeroAgent::IsNearGas(float range)
|
||||
bool HeroAgent::IsNearGas(float anti_range)
|
||||
{
|
||||
return Collision::InSquare
|
||||
(owner_->GetPos().ToGlmVec3(),
|
||||
owner_->GetPos().ToGlmVec3(),
|
||||
range);
|
||||
anti_range);
|
||||
}
|
||||
|
||||
bool HeroAgent::MasterInRange(float range)
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
int DecV(int id, int val);
|
||||
bool HasBuffEffect(int effect_id);
|
||||
bool IsNearGas(float range);
|
||||
bool MasterInRange(float range);
|
||||
bool MasterInRange(float anti_range);
|
||||
bool HasFlag(int tag);
|
||||
void SetFlag(int tag);
|
||||
void UnSetFlag(int tag);
|
||||
|
Loading…
x
Reference in New Issue
Block a user