Aschbourne_PRC8/_module/pc_level_notify.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

11 lines
365 B
Plaintext

//OnPlayerLevelUp event
void main()
{
object oPC = GetPCLevellingUp();
string sName = GetName(oPC);
int nLevel = GetHitDice(oPC);
AssignCommand(GetModule(), SpeakString(sName + " has just advanced to level "+IntToString(nLevel), TALKVOLUME_SHOUT));
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_WAIL_O_BANSHEES), oPC);
}