Card-Forge / Card-Forge/forge

AttackRestriction should be moved to StaticAbilityCantAttackBlock

Open
#6,000 8 comments 0 reactions 3 assignees Claimed by @Northmoc View on GitHub
Game Mechanics keep
Dominant language
Java
Stars
2.7k
Forks
1.1k
Avg merge
1d 1h
Merged PRs (30d)
158

Description

AttackRestriction needs to be reworked too, they should not rely on AttackRestrictionType enum.

- [ ] CARDNAME can only attack alone.
- [ ] CARDNAME can't attack unless a creature with greater power also attacks.
- [ ] CARDNAME can't attack unless a black or green creature also attacks. (especially this one, because Text Change)
- [ ] CARDNAME can't attack or block alone.
- [ ] CARDNAME can't attack unless at least two other creatures attack.

The parts that were using AttackRestriction/Type could use StaticAbility List instead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.