AIDef:Query/CheckDuringBloodyMoon: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
No edit summary
imported>Leoetlino
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
Returns 1 if:
Returns 1 if:
* [[WorldMgr]]'s current time is >= 315.0 (21:00) and the WM_BloodyDay flag is true;
* [[WorldMgr]]'s current time is >= 315.0 (21:00) and the WM_BloodyDay flag is true;
* or (time < 15.0 (01:00) and a Blood Moon happened immediately before)
* or (time < 15.0 (01:00) and the WM_BloodyDay flag was true)


Returns 0 if both conditions are false.
Returns 0 if both conditions are false.

Latest revision as of 10:38, 31 October 2018

CheckDuringBloodyMoon
AI definition
Type Query

Returns 1 if:

  • WorldMgr's current time is >= 315.0 (21:00) and the WM_BloodyDay flag is true;
  • or (time < 15.0 (01:00) and the WM_BloodyDay flag was true)

Returns 0 if both conditions are false.

Derived definitions

CheckDuringBloodyMoon (EventSystemActor)

No overridden parameters.