PRC8/nwn/nwnprc/trunk/scripts/prc_fb_deathless.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

22 lines
747 B
Plaintext

//::///////////////////////////////////////////////
//:: Frenzied Berserker - Armor/Skin
//:://////////////////////////////////////////////
/*
Script for Auto Frenzy on hit
Moved to separate script to fix GetTotalDamageDealt() issues
*/
//:://////////////////////////////////////////////
//:: Created By: Oni5115
//:://////////////////////////////////////////////
void main()
{
int iDam = GetTotalDamageDealt();
iDam += GetLocalInt(OBJECT_SELF, "PC_Damage");
SetLocalInt(OBJECT_SELF, "PC_Damage", iDam);
int iCHP = GetCurrentHitPoints(OBJECT_SELF) - iDam;
string sFeedback = GetName(OBJECT_SELF) + " : Current HP = " + IntToString(iCHP);
SendMessageToPC(OBJECT_SELF, sFeedback);
}