Changed folder name.
Changed folder name.
This commit is contained in:
11
_module/nss/firegem.nss
Normal file
11
_module/nss/firegem.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
int hd = GetHitDice(oPC);
|
||||
int hp = GetCurrentHitPoints(oPC);
|
||||
int dam = d12(hd)+d6(hd);
|
||||
if (GetIsPC(oPC) && !GetIsDM(oPC)){
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDamage(dam, DAMAGE_TYPE_FIRE, DAMAGE_POWER_ENERGY),oPC);
|
||||
}
|
||||
ActionUnlockObject(GetNearestObjectByTag("heartbox"));
|
||||
}
|
Reference in New Issue
Block a user