mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-21 05:20:38 +00:00
changes: when monster stabbing
This commit is contained in:
parent
7c9fa25743
commit
97d47c06fe
@ -1192,6 +1192,7 @@ EX void stabbingAttack(cell *mf, cell *mt, eMonster who, int bonuskill IS(0)) {
|
||||
explodeBarrel(c);
|
||||
|
||||
if(stabthere && canAttack(mt,who,c,c->monst,AF_STAB)) {
|
||||
changes.ccell(c);
|
||||
if(c->monst != moHedge) {
|
||||
markOrb(itOrbThorns); if(who != moPlayer) markOrb(itOrbEmpathy);
|
||||
}
|
||||
@ -1205,6 +1206,7 @@ EX void stabbingAttack(cell *mf, cell *mt, eMonster who, int bonuskill IS(0)) {
|
||||
}
|
||||
|
||||
if(away && c != mt && canAttack(mf,who,c,c->monst,AF_BACK)) {
|
||||
changes.ccell(c);
|
||||
if(c->monst == moVizier && c->hitpoints > 1) {
|
||||
fightmessage(c->monst, who, true, AF_BACK);
|
||||
c->hitpoints--;
|
||||
|
Loading…
x
Reference in New Issue
Block a user