Fixed symbols and images download from wizards;

This commit is contained in:
Oleg Agafonov 2019-06-23 18:56:25 +04:00
parent 63a9a505e1
commit d0638e71af
11 changed files with 18 additions and 18 deletions

View file

@ -62,7 +62,7 @@ class CreepingDreadEffect extends OneShotEffect {
each player selects a card from their hand without revealing it,
sets it aside, and then all of those cards are revealed and discarded at once.
http://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=409851
https://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=409851
*/
@Override
public boolean apply(Game game, Ability source) {

View file

@ -69,7 +69,7 @@ public final class ScarredPuma extends CardImpl {
public boolean applies(Permanent permanent, Ability source, Game game) {
if (permanent.getId().equals(source.getSourceId())) {
for (Permanent creature : game.getBattlefield().getActivePermanents(filter, source.getControllerId(), source.getSourceId(), game)) {
//excludes itself (http://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=23067)
//excludes itself (https://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=23067)
if (!Objects.equals(creature.getId(), source.getSourceId())) {
ObjectColor color = creature.getColor(game);
if (color.isBlack() || color.isGreen()) {

View file

@ -69,7 +69,7 @@ public final class VulshokBattlemaster extends CardImpl {
filter.add(new SubtypePredicate(SubType.EQUIPMENT));
for (Permanent equipment : game.getBattlefield().getAllActivePermanents(filter, game)) {
if (equipment != null) {
//If an Equipment can't equip Vulshok Battlemaster, it isn't attached to the Battlemaster, and it doesn't become unattached (if it's attached to a creature). (http://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=48125)
//If an Equipment can't equip Vulshok Battlemaster, it isn't attached to the Battlemaster, and it doesn't become unattached (if it's attached to a creature). (https://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=48125)
if (!battlemaster.cantBeAttachedBy(equipment, game)) {
battlemaster.addAttachment(equipment.getId(), game);
}