generated from Jaysyn/ModuleTemplate
10 lines
258 B
Plaintext
10 lines
258 B
Plaintext
#include "nw_i0_tool"
|
|
|
|
void main() {
|
|
object oPC = GetLastUnlocked();
|
|
int nXP = ((GetLockUnlockDC(OBJECT_SELF) * 4) -((GetHitDice(oPC)-1)*2));
|
|
if (nXP < 15) nXP = 15;
|
|
PlayVoiceChat(VOICE_CHAT_TASKCOMPLETE, oPC);
|
|
RewardPartyXP(nXP, oPC);
|
|
}
|