mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Converted obsessive search, fixed null error in SA_Reqs
This commit is contained in:
@@ -2,8 +2,8 @@ Name:Obsessive Search
|
|||||||
ManaCost:U
|
ManaCost:U
|
||||||
Types:Instant
|
Types:Instant
|
||||||
Text:no text
|
Text:no text
|
||||||
K:spDrawCards:1:Draw a card.:Obsessive Search - draw a card.
|
A:SP$Draw | Cost$ U | NumCards$ 1 | SpellDescription$ Draw a card.
|
||||||
K:Madness:U
|
K:Madness:U
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/obsessive_search.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/obsessive_search.jpg
|
||||||
End
|
End
|
||||||
@@ -21,7 +21,8 @@ public class SpellAbility_Requirements {
|
|||||||
if (!ability.getSourceCard().isCopiedSpell()){
|
if (!ability.getSourceCard().isCopiedSpell()){
|
||||||
Card c = ability.getSourceCard();
|
Card c = ability.getSourceCard();
|
||||||
fromZone = AllZone.getZone(c);
|
fromZone = AllZone.getZone(c);
|
||||||
fromZone.remove(c);
|
if (fromZone != null)
|
||||||
|
fromZone.remove(c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user