git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1958 c06c8d41-db1a-0410-9941-cceddc491573
2VOD7XONHR3G2JGZGXOPHNR2AN7WUQZFR5KJH5ZY4P4G67H3RCSQC
JXOE7KJIEAJHPLMZAJ6O4YHDTRB6BGNP6XT3ZSEFYGSIUMHR77KQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
P2ZCF3BBG523ZEOD6XQA4X5YEHBTWH3IM33YVHXP2SQ5POXZIH4QC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
77H4BWWPPGLM3PLZH4QTAJRXIZTSDVNCOKZE223I437FN2UJ34RQC
case MSG_PRESENT_FORM: mpr("You can't do that in your present form."); break;
case MSG_PRESENT_FORM:
mpr("You can't do that in your present form.");
break;
if (mutat == MUT_HERBIVOROUS && you.species == SP_VAMPIRE) return false;
if (mutat == MUT_HERBIVOROUS && you.species == SP_VAMPIRE)
return false;
if (mutat == MUT_FANGS && (you.species == SP_VAMPIRE || you.species == SP_KENKU))
if (mutat == MUT_FANGS
&& (you.species == SP_VAMPIRE || you.species == SP_KENKU))
if (mutat == MUT_FANGS && you.species == SP_KENKU)
if (you.species != SP_VAMPIRE && one_chance_in(5))
if (one_chance_in(5))
if (you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT) { canned_msg(MSG_PRESENT_FORM); return; }
if (you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT)
{
canned_msg(MSG_PRESENT_FORM);
return;
}
if (!mons_skeleton( mons_type ))
if (!mons_skeleton( mons_type ) || one_chance_in(4))
MSG_PRESENT_FORM,
mpr("You can't throw anything in your present form!"); flush_input_buffer( FLUSH_ON_FAILURE );
mpr("You can't throw anything in your present form!");
flush_input_buffer( FLUSH_ON_FAILURE );
mpr("You can't fire anything in your present form!"); flush_input_buffer( FLUSH_ON_FAILURE );
mpr("You can't fire anything in your present form!");
mpr("You can't do that in your present form!"); flush_input_buffer( FLUSH_ON_FAILURE );
mpr("You can't do that in your present form!");
if (you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT) { canned_msg(MSG_PRESENT_FORM); break; }
/* randart wpns */ if (scan_randarts(RAP_PREVENT_SPELLCASTING))
/* randart wpns */
if (scan_randarts(RAP_PREVENT_SPELLCASTING))
mpr("Something interferes with your magic!"); flush_input_buffer( FLUSH_ON_FAILURE );
mpr("Something interferes with your magic!");
/* if (you.attribute[ATTR_TRANSFORMATION] == TRAN_BAT)
/*
mpr("You can't cast spells in your present form!");
*/