1
This commit is contained in:
parent
c153c0945a
commit
a65cedd7a6
@ -12,7 +12,7 @@
|
||||
<property Operator="Equal" />
|
||||
<property Opl="Self.AndroidAgent::IsCrazeModePrepareMode()" />
|
||||
<property Opr2="const bool true" />
|
||||
<property Phase="Enter" />
|
||||
<property Phase="Both" />
|
||||
</attachment>
|
||||
<attachment class="Event" id="10" flag="event">
|
||||
<property ReferenceFilename="android_attack" />
|
||||
|
@ -54,7 +54,7 @@ bool AndroidAgent::IsCrazeModePrepareMode()
|
||||
if (!IsCrazeMode()) {
|
||||
return false;
|
||||
}
|
||||
if (GetOwner()->room->GetFrameNo() - owner_->enable_frameno > SERVER_FRAME_RATE * 20) {
|
||||
if (GetOwner()->room->GetFrameNo() - GetOwner()->AsHuman()->enable_frameno > SERVER_FRAME_RATE * 20) {
|
||||
return false;
|
||||
} else {
|
||||
if (GetSafeAreaRadius() < 200) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user