EndPlayerTurn¶
This methods tells the currentturn player party member that its action is over and its turn must be consumed.
playerdata[currentturn].cantmoveis incremented which consumes one of its available actioncurrentturnis set to -1 which deselects the player party member and lets Update decide what to do next as part of the Main turn life cycle.- UpdateConditionIcons is called which calls UpdateConditionBubbles on the battleentity (all
playerdatawith right to false and allenemydatawithhpabove 0 with right to true) - currentaction is set to
BaseAction(the main vine action menu) - RefreshAllData is called which sets
alldatato a new list which consists of all theplayerdatafollowed by all theenemydataappended together and it also resets all enemy party member'sblockTimesto 0 - Each
enemydata'sblockTimesgets reset to 0 - Each
enemydatathat has a Freeze condition orisasleepwhile actimmobile is false has theircantmoveset to 1 - SetLastTurns is called which resets
lastturnsto a new aray with the length being the amount of free players - 1 and all elements being -1 (this resets the player selection cycle)