Chdata / Versus-Saxton-Hale

The presuccessor of FF2(FF2 is the successor of VSH)
GNU General Public License v3.0
11 stars 6 forks source link

Updated/Future-proofed addthecrit #4

Closed Starblaster64 closed 9 years ago

Starblaster64 commented 9 years ago

Updated addthecrit from ItemIDs to weaponclassnames where appropriate. The original Critlist is now commented out, as there is nothing that needs to be in it currently.

Chdata commented 9 years ago

I think you gave the nocrit smg cozy camper some crits

Starblaster64 commented 9 years ago

if ((TF2_GetPlayerClass(client) == TFClass_Pyro && flindex == 594) || (IsValidEntity(FindPlayerBack(client, { 642 }, 1)))) // No crits if using Phlogistinator or Cozy Camper should catch Phlog and Camper right?

EDIT: I could probably even remove the Pyro class check if you wanted.

Starblaster64 commented 9 years ago

I did test it before uploading too, and everything seemed to be working fine on my end.

Chdata commented 9 years ago

oh didn't see that line, looks fine