mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 06:52:02 -08:00
* [LTR] Implement Barrow-Blade * Took ideas from Wooden Stake, Humble and Shadowspear * Play tested effects * Simpler constructor for equip * Revamped BlocksOrBlockedAttachedTriggeredAbility * New logic in `BlocksOrBlockedAttachedTriggeredAbility` * Changed `Ferocity` and `Gift Of The Woods` * Removed custom class from `Barrow Blade` * New class, revert changes in cards * Added the new class `BlocksOrBlockedByCreatureAttachedTriggeredAbility()` * Reverted changes to `BlocksOrBlockedAttachedTriggeredAbility()` but including `AttachmentType` in constructor * Reverted changes to `Ferocity` and `GiftOfTheWoods` * Changed `Barrow-Blade` to use `BlocksOrBlockedByCreatureAttachedTriggeredAbility()` * Added a few comments * Tried optimizing the IF statements in the new class but whenever I tried some condition would stop working, accepting suggestions * Null check added * Added a null check for game.getPermanent(sourceId) * Changed checks to the top to avoid unnecessary processing when encountering any null variable * Removed unnecessary import |
||
|---|---|---|
| .. | ||
| src/mage | ||
| pom.xml | ||