TRpgParty.addExp
Class
Syntax
procedure addExp(const id: smallint; number: integer);
Description
The addExp method adds EXP to the party. If id is -1, it adds number exp to every current member of the party. Otherwise, it adds number EXP to the hero occupying slot #id. If this is enough to cause the hero to gain a level, his level property is adjusted accordingly.
If slot is specified (not -1) and that slot is invalid or empty, it gets redirected to hero #0.
Related topics
This help file was created with the free trial version of HelpScribble.