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