v0.9.3: fixed ratmogrify costing charge when it fails in some cases
This commit is contained in:
parent
77998ff25b
commit
77079ff9a4
|
@ -53,6 +53,7 @@ public class Ratmogrify extends ArmorAbility {
|
|||
} else if (ch == hero){
|
||||
if (!hero.hasTalent(Talent.RATFORCEMENTS)){
|
||||
GLog.w(Messages.get(this, "self_target"));
|
||||
return;
|
||||
} else {
|
||||
ArrayList<Integer> spawnPoints = new ArrayList<>();
|
||||
|
||||
|
@ -96,6 +97,7 @@ public class Ratmogrify extends ArmorAbility {
|
|||
}
|
||||
} else if (Char.hasProp(ch, Char.Property.MINIBOSS) || Char.hasProp(ch, Char.Property.BOSS)){
|
||||
GLog.w(Messages.get(this, "too_strong"));
|
||||
return;
|
||||
} else {
|
||||
TransmogRat rat = new TransmogRat();
|
||||
rat.setup((Mob)ch);
|
||||
|
|
Loading…
Reference in New Issue
Block a user