Unify ad_stck

This commit is contained in:
Pasi Kallinen
2020-11-30 22:00:35 +02:00
parent b4ed25da46
commit bfb8931188
4 changed files with 46 additions and 8 deletions

View File

@@ -1246,8 +1246,9 @@ int dieroll;
}
break;
case AD_STCK:
if (cancelled)
mhm.damage = 0;
mhitm_ad_stck(magr, mattk, mdef, &mhm);
if (mhm.done)
return mhm.hitflags;
break;
case AD_WRAP: /* monsters cannot grab one another, it's too hard */
if (magr->mcan)