mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +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
|
||||
Types:Instant
|
||||
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
|
||||
SVar:Rarity:Common
|
||||
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()){
|
||||
Card c = ability.getSourceCard();
|
||||
fromZone = AllZone.getZone(c);
|
||||
fromZone.remove(c);
|
||||
if (fromZone != null)
|
||||
fromZone.remove(c);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user