Skip to content

Commit e5e0019

Browse files
committed
Document ready_for_combat in PartyMember
1 parent 97812dc commit e5e0019

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

godot/party/PartyMember.gd

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@ func update_stats(stats : CharacterStats):
1515
battler.stats = stats
1616

1717
func ready_for_combat():
18-
var copy = battler.duplicate()
19-
return copy
18+
"""
19+
Returns a copy of the battler to add to the CombatArena
20+
at the start of a battle
21+
"""
22+
return battler.duplicate()

0 commit comments

Comments
 (0)