Skip to content

Commit

Permalink
Update npc_payback.sp
Browse files Browse the repository at this point in the history
  • Loading branch information
BeeepG committed Oct 9, 2024
1 parent ceacb6d commit f3aa353
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ void VictorianPaybackSelfDefense(VictorianPayback npc, float gameTime, int targe
npc.FaceTowards(VecEnemy, 15000.0);
if(npc.DoSwingTrace(swingTrace, npc.m_iTarget)) //Big range, but dont ignore buildings if somehow this doesnt count as a raid to be sure.
{

float Health = float(GetEntProp(npc.index, Prop_Data, "m_iHealth"));
float MaxHealth = float(ReturnEntityMaxHealth(npc.index));
target = TR_GetEntityIndex(swingTrace);

float vecHit[3];
Expand Down

0 comments on commit f3aa353

Please sign in to comment.