v0.7.3: fixed cases where transmog effect may trigger on mage's staff
This commit is contained in:
parent
401c79815c
commit
f08a064812
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user