getWinner

getWinner

> Functions

Returns the side of the winning team. Use it only in afterFight() (see Fight hooks). Returns -1 if the fight is not over.

Parameters
Return