Laurent - Added cards to USG - First step of Counter adding to parser (does not work yet). Update of AI deck description

This commit is contained in:
wagic.laurent
2009-06-13 19:43:57 +00:00
parent 3e12e7d630
commit 984038e5e2
9 changed files with 123 additions and 37 deletions
+22
View File
@@ -10,6 +10,7 @@
#include "CardGui.h"
#include "GameOptions.h"
#include "Token.h"
#include "Counters.h"
#include "WEvent.h"
#include <JGui.h>
@@ -3249,6 +3250,27 @@ class AStasis:public ActivatedAbility{
//--------------Addon Abra------------------
//Draft for counters
class ACounters: public MTGAbility{
public:
int counter;
int power;
int toughness;
ACounters(int id, MTGCardInstance * _source, MTGCardInstance * _target, int _power, int _toughness):MTGAbility(id,_source,_target),power(_power),toughness(_toughness){
_target->counters->addCounter(power, toughness);
}
virtual ostream& toString(ostream& out) const
{
out << "ACounters ::: counter : " << counter
<< " ; power : " << power
<< " ; toughness : " << toughness
<< " (";
return MTGAbility::toString(out) << ")";
}
};
//Basilik
class ABasilik:public MTGAbility{
public: