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