more Ai training: use ability modifiers on creatures that dont already have the ability and prefferedly during first mains, use life altering cards as often as possible, improved foreach a little more, use untappers on card that are tapped that belong to Ai and tappers on cards that are not tapped that belong to player

This commit is contained in:
omegablast2002@yahoo.com
2010-11-27 18:05:35 +00:00
parent 76dc9a2379
commit e23e3d0728
5 changed files with 85 additions and 10 deletions

View File

@@ -550,6 +550,7 @@ AAFrozen * AAFrozen::clone() const
AALifer::AALifer(int _id, MTGCardInstance * card, Targetable * _target, WParsedInt * life, ManaCost * _cost, int _tap, int who) :
ActivatedAbilityTP(_id, card, _target, _cost, _tap, who), life(life)
{
aType = MTGAbility::LIFER;
}
int AALifer::resolve()
@@ -990,6 +991,7 @@ AATapper::AATapper(int id, MTGCardInstance * card, MTGCardInstance * _target, Ma
ActivatedAbility(id, card, _cost, 0, doTap)
{
target = _target;
aType = MTGAbility::TAPPER;
}
int AATapper::resolve()
@@ -1021,6 +1023,7 @@ AAUntapper::AAUntapper(int id, MTGCardInstance * card, MTGCardInstance * _target
ActivatedAbility(id, card, _cost, 0, doTap)
{
target = _target;
aType = MTGAbility::UNTAPPER;
}
int AAUntapper::resolve()