carchingresulttrapbase.c 285 B

123456789101112
  1. class CatchingResultTrapBase : CatchingResultBase
  2. {
  3. override EntityAI SpawnAndSetup(out int yItemIdx, vector v = vector.Zero)
  4. {
  5. ItemBase catch = null;
  6. if (Class.CastTo(catch,super.SpawnAndSetup(yItemIdx,v)))
  7. {
  8. catch.SetQuantityNormalized(m_Quality);
  9. }
  10. return catch;
  11. }
  12. }