Files
HeroesStone_PRC8/_module/nss/lock_onunlock.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

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);
}