TRpgParty.removeExp

TURBU

TRpgParty.removeExp

 

Class

TRpgParty

 

Syntax

procedure removeExp(const id: smallint; number: integer);

 

Description

The addExp method removes EXP from the party.  If id is -1, it removes number exp from every current member of the party.  If this would reduce their EXP below 0, their EXP stays at 0.  Otherwise, it removes number EXP from the hero occupying slot #id.  If this slot is invalid or empty, it gets redirected to hero #0.

 

Related topics

TRpgParty.addExp

TRpgParty.removeLevels

This help file was created with the free trial version of HelpScribble.