Lines Matching refs:otyp
230 } else if (obj->olet == WEAPON_SYM || obj->otyp == PICK_AXE) { in hmon()
231 if (obj == uwep && (obj->otyp > SPEAR || obj->otyp < BOOMERANG)) in hmon()
235 tmp = rnd(objects[obj->otyp].wldam); in hmon()
236 if (obj->otyp == TWO_HANDED_SWORD) in hmon()
238 else if (obj->otyp == FLAIL) in hmon()
241 tmp = rnd(objects[obj->otyp].wsdam); in hmon()
244 if (!thrown && obj == uwep && obj->otyp == BOOMERANG in hmon()
256 obj->otyp == TWO_HANDED_SWORD && in hmon()
260 switch (obj->otyp) { in hmon()
391 if (uwep->olet == WEAPON_SYM || uwep->otyp == PICK_AXE) in attack()
393 if (uwep->otyp == TWO_HANDED_SWORD) in attack()
395 else if (uwep->otyp == DAGGER) in attack()
397 else if (uwep->otyp == CRYSKNIFE) in attack()
399 else if (uwep->otyp == SPEAR && in attack()
440 uwep ? uwep->otyp : 0); in attack()