"a tentacle spike",
},
-
#if TAG_MAJOR_VERSION == 34
+
- { MUT_BREATHE_POISON, 4, 1, MUTFLAG_GOOD, false,
+ { MUT_BREATHE_POISON, 0, 1, MUTFLAG_GOOD, false,
"breathe poison",
{"You can exhale a cloud of poison.", "", ""},
return true;
}
- // Red Draconians can already breathe flames.
- if (you.species == SP_RED_DRACONIAN && mutat == MUT_BREATHE_FLAMES)
- return true;
-
- // Green Draconians can breathe mephitic, poison is not really redundant
- // but its name might confuse players a bit ("noxious" vs "poison").
- if (you.species == SP_GREEN_DRACONIAN && mutat == MUT_SPIT_POISON)
+ // Draconians already get breath weapons.
- if (player_genus(GENPC_DRACONIAN)
++ if (species_is_draconian(you.species)
+ && (mutat == MUT_BREATHE_FLAMES
+ || mutat == MUT_SPIT_POISON))
+ {
return true;
+ }
// Only Draconians (and gargoyles) can get wings.
- if (!player_genus(GENPC_DRACONIAN) && you.species != SP_GARGOYLE
+ if (!species_is_draconian(you.species) && you.species != SP_GARGOYLE
&& mutat == MUT_BIG_WINGS)
{
return true;
break;
case MUT_SPIT_POISON:
+ // Breathe poison replaces spit poison (so it takes the slot).
- if (you.mutation[mutat] == 3)
+ if (you.mutation[mutat] >= 3)
- {
- // Breathe poison replaces spit poison (so it takes the slot).
for (int i = 0; i < 52; ++i)
- {
if (you.ability_letter_table[i] == ABIL_SPIT_POISON)
you.ability_letter_table[i] = ABIL_BREATHE_POISON;
- }
- }
break;
default: