git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2571 c06c8d41-db1a-0410-9941-cceddc491573
LJ7HIRLTL5KHP3DJP57KRDH3PHZIS37HNC4SLZGK2ZQI2WTQBOPAC
2SMZGNBB352OJBIT2UE3NONODTTMV3FJJFBQUN4VNLLNYJKTJKBQC
C3OUSRCHDUOJ6ELVDX6YWMQQVXDJLNEXTXWCDDAYWTKNPFPNSONAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
KFULGQQOHWUTXOM3BXCCYPGGVGGY4Z6265XUFRCBPNLTZAEHJZSQC
3BJ2OOF4F524G6UKVGOZVT6W3FSTSHHTKRJADUBZCHDXZWV3KANQC
#include <math.h>
level = 10 + 10 * lev + 30 * (static_cast<int>(pow( 2.0, lev + 1 )));
level = 10 + 10 * lev
+ 30 * (static_cast<int>(pow( 2.0, lev + 1 )));
level = 10 + 10 * lev + 30 * (2 << lev);
bool player_messaged = simple_monster_message(monster, str_polymon.c_str() );
bool player_messaged =
simple_monster_message(monster, str_polymon.c_str() );
bool player_messaged = simple_monster_message(monster, str_polymon.c_str());
// the polymoprh disrupts the beholding process. Do this before
// the polymorph disrupts the beholding process. Do this before
// monster is still a mermaid.
// the monster is still a mermaid.
|| monster->type == MONS_OOZE || monster->type == MONS_PULSATING_LUMP)
|| monster->type == MONS_OOZE
|| monster->type == MONS_PULSATING_LUMP)
int net = get_trapping_net(monster->x, monster->y);
const int net = get_trapping_net(monster->x, monster->y);
simple_monster_message(monster, " drifts right through the net!");
{ simple_monster_message(monster, " drifts right through the net!"); }
{
simple_monster_message(monster,
" drifts right through the net!");
}
simple_monster_message(monster, " oozes right through the net!");
{ simple_monster_message(monster, " oozes right through the net!"); }
" oozes right through the net!");