Alive and Win/Lose/DrawGame

How Can We Help?

< Back

When Either Player(ROOT)
Has Alive = 0, Winner calculation is performed at end of frame.
Not Alive = Enemy,Alive = Lose
Alive = Enemy,NotAlive = Win
Not Alive = Not Alive = DrawGame

In order for Alive to equal 0 naturally, Life must equal 0 at end of player processing,
In addition to simply ending processing at 0 life, if Life – GetHitVar(Damage) would equal 0, that is the same as ending at 0 Life.
Note that values less than 0 do not modify Alive, and may bypass Enemy(0),Life > 0 checks.

Note that It is not alive = 0 that transitions the game to roundstate 3, but Lose or DrawGame.

Leave a comment

Your email address will not be published. Required fields are marked *