This will add backstab damage from augments to the weapons base backstab damage.
Code:
Index: zone/special_attacks.cpp
===================================================================
--- zone/special_attacks.cpp (revision 1678)
+++ zone/special_attacks.cpp (working copy)
@@ -606,6 +606,10 @@
wpn = CastToClient()->GetInv().GetItem(SLOT_PRIMARY);
primaryweapondamage = GetWeaponDamage(other, wpn);
backstab_dmg = wpn->GetItem()->BackstabDmg;
+ for(int x = 0; x < 5; x++) {
+ if(wpn->GetAugment(x) && wpn->GetAugment(x)->GetItem())
+ backstab_dmg += wpn->GetAugment(x)->GetItem()->BackstabDmg;
+ }
}
else{
primaryweapondamage = (GetLevel()/7)+1; // fallback incase it's a npc without a weapon, 2 dmg at 10, 10 dmg at 65