Added Skullkeep's dynamic loot generation system
Added Skullkeep's PRC8 compatible dynamic loot generation system. Full compile. Updated release archive.
This commit is contained in:
12
_module/nss/sd_onrespawn.nss
Normal file
12
_module/nss/sd_onrespawn.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "nw_i0_plot"
|
||||
#include "sd_set_item_inc"
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
object oRespawner = GetLastRespawnButtonPresser();
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectResurrection(),oRespawner);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectHeal(GetMaxHitPoints(oRespawner)), oRespawner);
|
||||
RemoveEffects(oRespawner);
|
||||
ApplySetBonus(oRespawner);
|
||||
}
|
Reference in New Issue
Block a user