Five Gods Exiled — 66 of 191

Carolyn VanEseltine

Release 1

Part 2 - Calculating Enhanced Player Stats

Every turn:

calculate the player's enhanced stats.

[say "(Current stats: attack [eattack of the player], speed [espeed of the player], defense [edefense of the player], movement [emovement of the player], awareness [eawareness of the player], stealth [estealth of the player].)[paragraph break]"]

To calculate the player's enhanced stats:

now the eattack of the player is the rattack of the player;

now the espeed of the player is the rspeed of the player;

now the edefense of the player is the rdefense of the player;

now the emovement of the player is the rmovement of the player;

now the eawareness of the player is the rawareness of the player;

now the estealth of the player is the rstealth of the player;

repeat with temporary memento running through mementos enclosed by the shadow self:

if the wear_at of the temporary memento is 0 or the shadow self is wearing the temporary memento:

now the eattack of the player is the eattack of the player + the attack boost of the temporary memento;

now the espeed of the player is the espeed of the player + the speed boost of the temporary memento;

now the edefense of the player is the edefense of the player + the defense boost of the temporary memento;

now the emovement of the player is the emovement of the player + the movement boost of the temporary memento;

now the eawareness of the player is the eawareness of the player + the awareness boost of the temporary memento;

now the estealth of the player is the estealth of the player + the stealth boost of the temporary memento.