178 {
179 PlayerBase player;
180 ZombieBase zombie;
181 if (Class.CastTo(player,obj))
182 {
183 player.DamageAllLegs(player.GetMaxHealth() * 2);
184 }
185 else if (Class.CastTo(zombie,obj))
186 {
187 zombie.SetHealth("LeftLeg", "Health", 0.0);
188 zombie.SetHealth("RightLeg", "Health", 0.0);
189 }
190 }