mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Fixed Bushido not working for blockers.
This commit is contained in:
@@ -1290,6 +1290,7 @@ Cease-Fire =25
|
||||
Ceaseless Searblades =25
|
||||
Celestial Ancient =43
|
||||
Celestial Convergence =35
|
||||
Celestial Colonnade =539
|
||||
Celestial Crusader =5
|
||||
Celestial Dawn =25
|
||||
Celestial Gatekeeper =25
|
||||
|
||||
@@ -1454,6 +1454,12 @@ public class CombatUtil {
|
||||
|
||||
for (Card c:cl)
|
||||
{
|
||||
if (!c.getCreatureBlockedThisCombat()) {
|
||||
for(Ability ab:CardFactoryUtil.getBushidoEffects(c)) {
|
||||
AllZone.Stack.add(ab);
|
||||
}
|
||||
}
|
||||
|
||||
if (c.getKeyword().contains("Defender") && !c.getCreatureBlockedThisCombat())
|
||||
{
|
||||
final Card crd = c;
|
||||
@@ -1536,11 +1542,6 @@ public class CombatUtil {
|
||||
for(Ability ab:CardFactoryUtil.getBushidoEffects(a))
|
||||
AllZone.Stack.add(ab);
|
||||
}
|
||||
if (!b.getCreatureBlockedThisCombat()) {
|
||||
for(Ability ab:CardFactoryUtil.getBushidoEffects(b))
|
||||
AllZone.Stack.add(ab);
|
||||
b.setCreatureBlockedThisCombat(true);
|
||||
}
|
||||
|
||||
if(a.getKeyword().contains("Flanking") && !b.getKeyword().contains("Flanking")) {
|
||||
int flankingMagnitude = 0;
|
||||
|
||||
Reference in New Issue
Block a user