Unify ad_sgld

This commit is contained in:
Pasi Kallinen
2020-12-04 09:30:16 +02:00
parent b7899ee014
commit bfe773812e
4 changed files with 78 additions and 48 deletions
+3 -5
View File
@@ -1330,11 +1330,9 @@ register struct attack *mattk;
}
break;
case AD_SGLD:
hitmsg(mtmp, mattk);
if (g.youmonst.data->mlet == mdat->mlet)
break;
if (!mtmp->mcan)
stealgold(mtmp);
mhitm_ad_sgld(mtmp, mattk, &g.youmonst, &mhm);
if (mhm.done)
return mhm.hitflags;
break;
case AD_SSEX: