Unify ad_ssex

This commit is contained in:
Pasi Kallinen
2020-12-04 09:30:21 +02:00
parent 1696019361
commit 88e333a3a8
4 changed files with 47 additions and 7 deletions
+4 -7
View File
@@ -1105,13 +1105,10 @@ register struct attack *mattk;
break;
case AD_SSEX:
if (SYSOPT_SEDUCE) {
if (could_seduce(mtmp, &g.youmonst, mattk) == 1 && !mtmp->mcan)
if (doseduce(mtmp))
return 3;
break;
}
/*FALLTHRU*/
mhitm_ad_ssex(mtmp, mattk, &g.youmonst, &mhm);
if (mhm.done)
return mhm.hitflags;
break;
case AD_SITM: /* for now these are the same */
case AD_SEDU:
mhitm_ad_sedu(mtmp, mattk, &g.youmonst, &mhm);