function StunBash(damage, activator, caller) if caller:IsAlive() and caller.m_iTeamNum == 3 then local StunImmune = { ["Helmeted Ballista Operator"] = true, ["Cannon Brute"] = true, ["Fire Demon"] = true, ["Samurai Titan"] = true, ["Fortress Scorcher"] = true, ["Mortar Brute"] = true, ["Magma Colossus"] = true, ["Shock Trooper Brute"] = true, ["Supercharge Specialist"] = true, ["Magical Cannon Brute"] = true, ["Boomstick Brute"] = true, ["Gate Shredder"] = true, ["Cannon Commander Brute"] = true, ["Cannon Bard Brute"] = true, ["Cannon Vanguard Brute"] = true, ["Ruthless Corsair Rampager"] = true, ["Lifemending Spirit"] = true, ["Ice Golem"] = true, ["Raid Captain"] = true, ["Enhanced Mortar Brute"] = true, ["Corsair Invader"] = true, ["Piercing Nailgun Brute"] = true, ["Battleground Shredder"] = true, ["Stone Construct"] = true, ["Wind Elemental"] = true, ["Knight Berserker"] = true, ["Slingshotter Veteran"] = true, ["Resurrected Conjurer"] = true, ["Siege Assassin"] = true, ["Invasion Chief"] = true, ["Leav the Traitor"] = true, ["Deser the Traitor"] = true, ["The Usurper"] = true, ["Headhunter"] = true, ["Fire Apparition"] = true, ["Ancient Dragon"] = true, ["Master Craftsman Fredrik"] = true, ["Paladin Spirit"] = true, ["Marauder Warchief"] = true, ["Skirmisher"] = true, ["Unstable Mortar Brute"] = true, ["Demonic Behemoth"] = true, ["Commander Tomar"] = true, ["Commander Wilherd"] = true, ["Invasion Expedition Leader"] = true, ["Winrich Clone"] = true, ["Winrich the Illusionist"] = true, } if not StunImmune[caller.m_szNetname] then caller:StunPlayer(3,3,TF_STUNFLAG_BONKSTUCK) end end end