v2.1.1: fixed errors with charm from friendly elemental strike
This commit is contained in:
+1
-1
@@ -529,7 +529,7 @@ public class ElementalStrike extends ArmorAbility {
|
|||||||
} else if (ench instanceof Friendly){
|
} else if (ench instanceof Friendly){
|
||||||
for (Char ch : affected){
|
for (Char ch : affected){
|
||||||
if (Random.Float() < 0.5f*powerMulti){
|
if (Random.Float() < 0.5f*powerMulti){
|
||||||
Buff.affect(ch, Charm.class, 6f).target = hero;
|
Buff.affect(ch, Charm.class, 6f).object = hero.id();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user