Erwan
- Fix issue 210 (Resuscitate)
This commit is contained in:
@@ -293,6 +293,7 @@ recover.txt
|
||||
regal_force.txt
|
||||
resounding_roar.txt
|
||||
resurrection.txt
|
||||
resuscitate_i210.txt
|
||||
rhox_meditant.txt
|
||||
rhox_meditant2.txt
|
||||
righteous_cause.txt
|
||||
|
||||
@@ -415,14 +415,14 @@ class GenericActivatedAbility:public ActivatedAbility{
|
||||
|
||||
GenericActivatedAbility * clone() const{
|
||||
GenericActivatedAbility * a = NEW GenericActivatedAbility(*this);
|
||||
a->isClone = 1;
|
||||
a->cost = NEW ManaCost();
|
||||
a->cost->copy(cost);
|
||||
a->ability = ability->clone();
|
||||
return a;
|
||||
}
|
||||
|
||||
~GenericActivatedAbility(){
|
||||
if (!isClone){
|
||||
SAFE_DELETE(ability);
|
||||
}
|
||||
SAFE_DELETE(ability);
|
||||
}
|
||||
|
||||
int testDestroy(){
|
||||
|
||||
Reference in New Issue
Block a user