Talk:Arc of death

From DoomWiki.org

Revision as of 14:12, 18 April 2016 by Quasar (talk | contribs) (Quasar moved page Talk:Arc of Death to Talk:Arc of death: Naming convention)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Centaur and Slaughtaur special case[edit]

For future reference, here's the code, from p_map.c line 505: <source lang="C">

  if(thing->type == MT_CENTAUR 
     || thing->type == MT_CENTAURLEADER)
  { // Lightning does more damage to centaurs
     P_DamageMobj(thing, tmthing, tmthing->target, 9);
  }
  else
  {
     P_DamageMobj(thing, tmthing, tmthing->target, 3);
  }

</source>