Erwan
- A few card fixes
This commit is contained in:
@@ -3915,14 +3915,13 @@ class AInstantControlSteal: public InstantAbility{
|
||||
Player * TheftController;
|
||||
AInstantControlSteal(int _id , MTGCardInstance * _source, MTGCardInstance * _target):InstantAbility(_id, _source, _target){
|
||||
TrueController = _target->controller();
|
||||
// TrueController->game->putInZone(_target, TrueController->game->inPlay, source->controller()->game->inPlay);
|
||||
TheftController = source->controller();
|
||||
MTGCardInstance * copy = _target->changeController(game->currentlyActing());
|
||||
TheftController = source->controller();
|
||||
MTGCardInstance * copy = _target->changeController(game->currentlyActing());
|
||||
target = copy;
|
||||
source->target = copy;
|
||||
|
||||
|
||||
copy->summoningSickness = 0;
|
||||
}
|
||||
|
||||
int destroy(){
|
||||
MTGCardInstance * _target = (MTGCardInstance *) target;
|
||||
if (TheftController && TheftController->game->inPlay->hasCard(_target)){ //if the target is still in game -> spell was destroyed
|
||||
|
||||
Reference in New Issue
Block a user