generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload.
This commit is contained in:
15
_module/nss/vat_rebuild_all.nss
Normal file
15
_module/nss/vat_rebuild_all.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
//vat_rebuild_all
|
||||
//strip char to level 1 & restore xp for total level rebuild
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
//apply visual effect to PC
|
||||
//ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_DECK), oPC);
|
||||
|
||||
//zap and restore xp for rebuild
|
||||
int iXP = GetXP(oPC);
|
||||
SetXP(oPC, 0);
|
||||
SetXP(oPC, iXP);
|
||||
}
|
||||
Reference in New Issue
Block a user