We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0097d2 commit 177696fCopy full SHA for 177696f
1 file changed
scripts/vscripts/tf2ware_ultimate/bossgames/ghostbusters.nut
@@ -341,12 +341,21 @@ function OnTakeDamage(params)
341
342
if (victim_class == TF_CLASS_SPY && attacker_class == TF_CLASS_HEAVYWEAPONS)
343
return false
344
+
345
if (victim_class == TF_CLASS_SPY && attacker_class == TF_CLASS_MEDIC)
346
+ {
347
params.inflictor = kill_icon
348
+ // needed for team battles
349
+ params.force_friendly_fire = true
350
+ }
351
else if (victim_class == TF_CLASS_MEDIC && attacker_class == TF_CLASS_HEAVYWEAPONS)
352
353
params.damage = 125.0
354
355
else if (victim_class == TF_CLASS_HEAVYWEAPONS)
356
357
358
359
}
360
361
0 commit comments