v0.7.3: fixed cases where transmog effect may trigger on mage's staff

This commit is contained in:
Evan Debenham 2019-05-14 18:04:40 -04:00
parent 401c79815c
commit f08a064812

View File

@ -426,7 +426,8 @@ public class CursedWand {
//random transmogrification //random transmogrification
case 3: case 3:
if (origin == null){ //skips this effect if there is no item to transmogrify
if (origin == null || !Dungeon.hero.belongings.contains(origin)){
cursedZap(origin, user, bolt, afterZap); cursedZap(origin, user, bolt, afterZap);
return; return;
} }