14 lines
289 B
Plaintext
14 lines
289 B
Plaintext
|
#include "x4_inc_functions"
|
||
|
void main()
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
int nPrice = GetHitDice(oPC) * 2000;
|
||
|
TakeGoldFromCreature(nPrice, oPC, TRUE);
|
||
|
|
||
|
ActionCastFakeSpellAtObject(SPELL_INVISIBILITY_PURGE, oPC);
|
||
|
|
||
|
ActionDoCommand(ReassignLevel(oPC, GetHitDice(oPC)));
|
||
|
|
||
|
}
|
||
|
|