Skip to content

Commit 3608baf

Browse files
authored
Added an event on practice (#122)
1 parent 582889a commit 3608baf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

unit.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,6 +1487,7 @@ int Unit::Practice(int sk)
14871487
skills.SetExp(sk, exp);
14881488
}
14891489
practiced = 1;
1490+
Event(AString("Gets practice in ") + SkillDefs[sk].name + " (+" + AString(bonus) + ").");
14901491
}
14911492

14921493
return bonus;

0 commit comments

Comments
 (0)