Lines Matching refs:oclass
50 if (obj->oclass == COIN_CLASS) {
58 if(obj->oclass == COIN_CLASS) return(throw_gold(obj));
75 if(obj->oclass == COIN_CLASS && obj != uquiver) return(throw_gold(obj));
240 otmp->oclass == GEM_CLASS &&
248 } else if (otmp->oclass == GEM_CLASS) {
263 } else if (otmp->oclass == WEAPON_CLASS && throwing_weapon(otmp)) {
745 if (obj->oclass == POTION_CLASS) {
962 else if (obj->oclass != GEM_CLASS)
1140 if (obj->oclass == WEAPON_CLASS || is_weptool(obj) ||
1141 obj->oclass == GEM_CLASS)
1239 if (obj->oclass == GEM_CLASS && is_unicorn(mon->data)) {
1276 if (obj->oclass == WEAPON_CLASS || is_weptool(obj) ||
1277 obj->oclass == GEM_CLASS) {
1376 } else if (obj->oclass == POTION_CLASS &&
1560 switch (obj->oclass == POTION_CLASS ? POT_WATER : obj->otyp) {
1631 obj->oclass != GEM_CLASS)
1633 switch (obj->oclass == POTION_CLASS ? POT_WATER : obj->otyp) {
1657 switch (obj->oclass == POTION_CLASS ? POT_WATER : obj->otyp) {
1659 if (obj->oclass != WAND_CLASS)