this commit adds AVRs new ability soulbond.
it requires an update to your mtg rules txt...
the coding is as follows
[card]
name=Arbor Elf
mana={g}
auto=soulbond 1/3
auto=soulbond {t}:add{g}
abilities=soulbond
type=Creature
subtype=Elf Druid
power=1
toughness=1
[/card]
auto=soulbond *any ability supported by wagic*
abilities=soulbond
the above arbor elf gives itself and its soulbond creature a 1/3 bonus and the ability to tap for green mana.
This commit is contained in:
@@ -255,7 +255,24 @@ public:
|
||||
virtual MTGBlockRule * clone() const;
|
||||
~MTGBlockRule();
|
||||
};
|
||||
|
||||
//soulbond rule
|
||||
class MTGSoulbondRule: public PermanentAbility
|
||||
{
|
||||
public:
|
||||
vector<MTGCardInstance*>soulbonders;
|
||||
TargetChooser * tcb;
|
||||
MTGAbility * pairAbility;
|
||||
MTGAbility * targetAbility;
|
||||
MTGAbility * targetAbility1;
|
||||
MTGAbility * mod;
|
||||
MTGAbility * activatePairing;
|
||||
vector<MTGAbility*>pairing;
|
||||
MTGSoulbondRule(GameObserver* observer, int _id);
|
||||
int receiveEvent(WEvent * event);
|
||||
virtual ostream& toString(ostream& out) const;
|
||||
virtual MTGSoulbondRule * clone() const;
|
||||
~MTGSoulbondRule();
|
||||
};
|
||||
/* Persist Rule */
|
||||
class MTGPersistRule: public PermanentAbility
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user