Remove leftover variables
This commit is contained in:
@@ -4043,8 +4043,6 @@ int
|
|||||||
damageum(struct monst *mdef, struct attack *mattk,
|
damageum(struct monst *mdef, struct attack *mattk,
|
||||||
int specialdmg) /* blessed and/or silver bonus against various things */
|
int specialdmg) /* blessed and/or silver bonus against various things */
|
||||||
{
|
{
|
||||||
int armpro;
|
|
||||||
boolean negated;
|
|
||||||
struct mhitm_data mhm;
|
struct mhitm_data mhm;
|
||||||
mhm.damage = d((int) mattk->damn, (int) mattk->damd);
|
mhm.damage = d((int) mattk->damn, (int) mattk->damd);
|
||||||
mhm.hitflags = MM_MISS;
|
mhm.hitflags = MM_MISS;
|
||||||
@@ -4052,10 +4050,6 @@ damageum(struct monst *mdef, struct attack *mattk,
|
|||||||
mhm.specialdmg = specialdmg;
|
mhm.specialdmg = specialdmg;
|
||||||
mhm.done = FALSE;
|
mhm.done = FALSE;
|
||||||
|
|
||||||
armpro = magic_negation(mdef);
|
|
||||||
/* since hero can't be cancelled, only defender's armor applies */
|
|
||||||
negated = !(rn2(10) >= 3 * armpro);
|
|
||||||
|
|
||||||
if (is_demon(g.youmonst.data) && !rn2(13) && !uwep
|
if (is_demon(g.youmonst.data) && !rn2(13) && !uwep
|
||||||
&& u.umonnum != PM_AMOROUS_DEMON && u.umonnum != PM_BALROG) {
|
&& u.umonnum != PM_AMOROUS_DEMON && u.umonnum != PM_BALROG) {
|
||||||
demonpet();
|
demonpet();
|
||||||
|
|||||||
Reference in New Issue
Block a user