User Tools

Site Tools


revive_character

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
revive_character [2020/02/04 19:39] justinrevive_character [2021/04/21 18:44] justin
Line 5: Line 5:
  
 ====Signature:==== ====Signature:====
-<code bauxite>+<code python>
 revive_character(character, heal_amount) revive_character(character, heal_amount)
 </code> </code>
Line 15: Line 15:
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-revive_character(player, player.stat["max_hp"] / 2)+revive_character(player, player.stat["max_hp"] / 2);
 </code> </code>
 //Results:// The player is brought back to life with half of their maximum health. //Results:// The player is brought back to life with half of their maximum health.
revive_character.txt · Last modified: 2021/04/21 18:47 by justin