1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

Hunter dogs (guarding/regrouping) and sometimes wolves no longer count as a different kill type (not counted in total kills)

This commit is contained in:
Zeno Rogue 2018-06-12 21:13:59 +02:00
parent 6ca99e347f
commit a2ec40537d

View File

@ -1970,10 +1970,10 @@ void killMonster(cell *c, eMonster who, flagtype deathflags) {
if(m == moGreaterM) m = moLesser; if(m == moGreaterM) m = moLesser;
if(isPrincess(m)) m = moPrincess; if(isPrincess(m)) m = moPrincess;
if(m == moTentacleGhost) m = moGhost; if(m == moTentacleGhost) m = moGhost;
if(!isBulletType(m)) kills[m]++;
if(m == moHunterGuard) m = moHunterDog; if(m == moHunterGuard) m = moHunterDog;
if(m == moHunterChanging) m = moHunterDog; if(m == moHunterChanging) m = moHunterDog;
if(m == moWolfMoved) m = moWolf; if(m == moWolfMoved) m = moWolf;
if(!isBulletType(m)) kills[m]++;
if(!c->item) if(m == moButterfly && (deathflags & AF_BULL)) if(!c->item) if(m == moButterfly && (deathflags & AF_BULL))
c->item = itBull; c->item = itBull;