Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,22 @@
//::///////////////////////////////////////////////
//:: 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);
}