So after about a day of work, this is what I got. Not sure where I went wrong, but the script isn't working. I think I messed up the end event. Scriptname FistsOfSteel extends Perk
{Fist of Steel Perk Reamke}
Event Oninit()
; Heavy Armour for damage boost percentage
int HeAr = Game.GetPlayer().GetActorValue("HeavyArmor") as int
; Obtain the armor rating of the player currently equipped gauntlets
Armor Gauntlets = Game.GetPlayer().GetWornForm(0x00000008) as Armor
int AR = Gauntlets.GetArmorRating() as int
Float UD = game.getplayer().getav("UnarmedDamage")
EndEvent
; Equation to amplify damage
Float boost
Float Function Boost (int AR, int HeAr, Float UD)
return AR * (HeAr/100) + UD
EndFunction
; Replaces Unarmed Damage with new value
Event OnObjectEquipped(armor gauntlets)
if gauntlets as armor
Game.GetPlayer().ModActorValue("UnarmedDamage", boost)
endif
EndEvent