Laurent - Added new ability "opponentshroud" means "can't be the target of spells or abilities your opponents control." tested and works (see SHM _cards.dat)

Also added Flowstone Side (10E) - Tested and work probably my last addition to 10E.
This commit is contained in:
wagic.laurent
2009-06-21 20:38:40 +00:00
parent 887336aa7c
commit 7ade86e818
9 changed files with 4678 additions and 125 deletions
File diff suppressed because it is too large Load Diff
+11 -11
View File
@@ -53,10 +53,10 @@ PRESS CIRCLE TO GO TO THE DECK EDITOR!=APPUYEZ SUR O POUR CREER UN DECK !
#End of Match #End of Match
Difficulty Bonus=Bonus Difficulte Difficulty Bonus=Bonus Difficulte
'Live dangerously and you live right' Bonus=Bonus 'Live dangerously and you live right' 'Live dangerously and you live right' Bonus=Bonus 'Vivre dangereusement et fierement'
Life Delta Bonus=Bonus Points de vie Life Delta Bonus=Bonus Points de vie
'Decree of Theophilus' Bonus=Bonus 'Decret de Teophile' 'Decree of Theophilus' Bonus=Bonus 'Decret de Teophile'
'Fast and Furious' Bonus=Bonus 'Fast and Furious' 'Fast and Furious' Bonus=Bonus 'Rapide et Dangereux'
Victory=Victoire Victory=Victoire
Congratulations! You earn %i credits=Felicitations, vous gagnez %i credits Congratulations! You earn %i credits=Felicitations, vous gagnez %i credits
You have been defeated=Vous avez perdu You have been defeated=Vous avez perdu
@@ -79,7 +79,7 @@ Blockers=Bloqueurs
Combat damage=Blessures Combat damage=Blessures
Combat ends=Fin du combat Combat ends=Fin du combat
Main phase 2=Phase principale 2 Main phase 2=Phase principale 2
End of turn=Fin du tour End=Fin
Cleanup=Nettoyage Cleanup=Nettoyage
#Stack #Stack
@@ -3590,9 +3590,9 @@ Hearth Charm=Charme de l'atre
Hearth Kami=Kami de l'atre Hearth Kami=Kami de l'atre
Hearthcage Giant=Geant du feu en cage Hearthcage Giant=Geant du feu en cage
Hearthfire Hobgoblin=Lutin atrefeu Hearthfire Hobgoblin=Lutin atrefeu
Heartlash Cinder=Scoriace fouettec?ur Heartlash Cinder=Scoriace fouettecoeur
Heartless Hidetsugu=Hidetsugu le malfaisant Heartless Hidetsugu=Hidetsugu le malfaisant
Heartmender=Gueric?ur Heartmender=Guericoeur
Heartseeker=Cherche-coeur Heartseeker=Cherche-coeur
Heartstone=Pierrecoeur Heartstone=Pierrecoeur
Heartwood Dryad=Dryade de Boiscoeur Heartwood Dryad=Dryade de Boiscoeur
@@ -3816,7 +3816,7 @@ Ichorid=Ichoride
Icy Manipulator=Manipulateur glacial Icy Manipulator=Manipulateur glacial
Icy Prison=Prison glaciale Icy Prison=Prison glaciale
Ideas Unbound=Idees delivrees Ideas Unbound=Idees delivrees
Idle Thoughts=Pensees des?uvrees Idle Thoughts=Pensees desoeuvrees
Idyllic Tutor=Precepteur idyllique Idyllic Tutor=Precepteur idyllique
Igneous Golem=Golem igne Igneous Golem=Golem igne
Ignite Memories=Embrasement des souvenirs Ignite Memories=Embrasement des souvenirs
@@ -4200,7 +4200,7 @@ Kinsbaile Balloonist=Aerostier de Kinsbayel
Kinsbaile Borderguard=Garde frontiere de Kinsbayel Kinsbaile Borderguard=Garde frontiere de Kinsbayel
Kinsbaile Cavalier=Cavalier de Kinsbayel Kinsbaile Cavalier=Cavalier de Kinsbayel
Kinsbaile Skirmisher=Assaillant de Kinsbayel Kinsbaile Skirmisher=Assaillant de Kinsbayel
Kinscaer Harpoonist=Harponneur de Kinsca?E Kinscaer Harpoonist=Harponneur de Kinscaer
Kird Ape=Gorille beringei Kird Ape=Gorille beringei
Kiri-Onna=Kiri-onna Kiri-Onna=Kiri-onna
Kirtar's Desire=Desir selon Kirtar Kirtar's Desire=Desir selon Kirtar
@@ -4210,7 +4210,7 @@ Kiss of Death=Baiser de mort
Kitchen Finks=Fourbes de cuisine Kitchen Finks=Fourbes de cuisine
Kithkin Armor=Armure sangamie Kithkin Armor=Armure sangamie
Kithkin Daggerdare=Defieuse a la dague sangamie Kithkin Daggerdare=Defieuse a la dague sangamie
Kithkin Greatheart=Grandc?ur sangami Kithkin Greatheart=Grandcoeur sangami
Kithkin Harbinger=Annonciatrice sangamie Kithkin Harbinger=Annonciatrice sangamie
Kithkin Healer=Guerisseur sangami Kithkin Healer=Guerisseur sangami
Kithkin Mourncaller=Crieur funebre sangami Kithkin Mourncaller=Crieur funebre sangami
@@ -4730,7 +4730,7 @@ Mark of Sakiko=Marque de Sakiko
Mark of the Oni=Marque des oni Mark of the Oni=Marque des oni
Marker Beetles=Scarabees Balises Marker Beetles=Scarabees Balises
Maro=Maro Maro=Maro
Marrow-Gnawer=Ronge-mo?Ele Marrow-Gnawer=Ronge-moele
Marsh Boa=Boa des marecages Marsh Boa=Boa des marecages
Marsh Crocodile=Crocodile des marais Marsh Crocodile=Crocodile des marais
Marsh Flitter=Voltigeuse des marecages Marsh Flitter=Voltigeuse des marecages
@@ -5903,7 +5903,7 @@ Primal Order=Ordre primordial
Primal Plasma=Plasma primordial Primal Plasma=Plasma primordial
Primal Rage=Rage primordiale Primal Rage=Rage primordiale
Primal Whisperer=Chuchoteur primordial Primal Whisperer=Chuchoteur primordial
Primalcrux=C?ur primordial Primalcrux=Coeur primordial
Primeval Force=Force primitive Primeval Force=Force primitive
Primeval Light=Lumiere primitive Primeval Light=Lumiere primitive
Primeval Shambler=Escogriffe primitif Primeval Shambler=Escogriffe primitif
@@ -6928,7 +6928,7 @@ Shaper Guildmage=Ghildmage des Faconneurs
Shaper Parasite=Parasite forgeur Shaper Parasite=Parasite forgeur
Shapesharer=Partageforme Shapesharer=Partageforme
Shapeshifter=Changeforme Shapeshifter=Changeforme
Shapeshifter's Marrow=Mo?Ele de changeforme Shapeshifter's Marrow=Moele de changeforme
Shard Phoenix=Phenix d'echardes Shard Phoenix=Phenix d'echardes
Shard Volley=Volee d'echardes Shard Volley=Volee d'echardes
Shared Animosity=Animosite partagee Shared Animosity=Animosite partagee
+9
View File
@@ -862,6 +862,15 @@ type=Instant
mana={1}{U} mana={1}{U}
[/card] [/card]
[card] [card]
text=All creatures get +X/-X until end of turn.
id=130542
name=Flowstone Slide
rarity=R
color=Red
type=Sorcery
mana={X}{2}{R}{R}
[/card]
[card]
text={T}: Add {G} to your mana pool. text={T}: Add {G} to your mana pool.
auto={T}: Add {G} auto={T}: Add {G}
id=129561 id=129561
-9
View File
@@ -346,15 +346,6 @@ subtype=Zombie Goblin
toughness=1 toughness=1
[/card] [/card]
[card] [card]
text=All creatures get +X/-X until end of turn.
id=130542
name=Flowstone Slide
rarity=R
color=Red
type=Sorcery
mana={X}{2}{R}{R}
[/card]
[card]
text=Flying (This creature can't be blocked except by creatures with flying or reach.) When Fog Elemental attacks or blocks, sacrifice it at end of combat. text=Flying (This creature can't be blocked except by creatures with flying or reach.) When Fog Elemental attacks or blocks, sacrifice it at end of combat.
id=132073 id=132073
name=Fog Elemental name=Fog Elemental
+13
View File
@@ -232,6 +232,19 @@ subtype=Merfolk Rogue
toughness=2 toughness=2
[/card] [/card]
[card] [card]
text=Drove of Elves's power and toughness are each equal to the number of green permanents you control. Drove of Elves can't be the target of spells or abilities your opponents control.
id=157878
name=Drove of Elves
auto=foreach(*[green]|myinplay) 1/1
abilities=opponentshroud
rarity=U
type=Creature
mana={3}{G}
power=*
subtype=Elf
toughness=*
[/card]
[card]
text={GW}, {T}, Sacrifice Elvish Hexhunter: Destroy target enchantment. text={GW}, {T}, Sacrifice Elvish Hexhunter: Destroy target enchantment.
auto={GW}{T}{S}:destroy target(enchantment) auto={GW}{T}{S}:destroy target(enchantment)
id=141958 id=141958
+2 -13
View File
@@ -58,6 +58,7 @@ mana={GW}
text=Barrenton Cragtreads can't be blocked by red creatures. text=Barrenton Cragtreads can't be blocked by red creatures.
id=142000 id=142000
name=Barrenton Cragtreads name=Barrenton Cragtreads
auto=cantbeblockedby(creature[red])
rarity=C rarity=C
type=Creature type=Creature
mana={2}{WU}{WU} mana={2}{WU}{WU}
@@ -325,7 +326,7 @@ mana={1}{B}
text=You may put a green creature card from your hand into play. text=You may put a green creature card from your hand into play.
id=154003 id=154003
target=creature[green]|myhand target=creature[green]|myhand
auto=moveto(inplay) auto=moveto(myinplay)
name=Dramatic Entrance name=Dramatic Entrance
rarity=R rarity=R
type=Instant type=Instant
@@ -340,18 +341,6 @@ type=Instant
mana={UB} mana={UB}
[/card] [/card]
[card] [card]
text=Drove of Elves's power and toughness are each equal to the number of green permanents you control. Drove of Elves can't be the target of spells or abilities your opponents control.
id=157878
name=Drove of Elves
auto=foreach(*[green]|myinplay) 1/1
rarity=U
type=Creature
mana={3}{G}
power=*
subtype=Elf
toughness=*
[/card]
[card]
text=Whenever a player plays a blue spell, you may pay {1}. If you do, target player puts the top two cards of his or her library into his or her graveyard. text=Whenever a player plays a blue spell, you may pay {1}. If you do, target player puts the top two cards of his or her library into his or her graveyard.
id=142005 id=142005
name=Drowner Initiate name=Drowner Initiate
+2 -1
View File
@@ -96,8 +96,9 @@ class Constants
MUSTATTACK = 38, MUSTATTACK = 38,
CANTBLOCK = 39, CANTBLOCK = 39,
DOESNOTUNTAP =40, DOESNOTUNTAP =40,
OPPONENTSHROUD=41,
NB_BASIC_ABILITIES = 41, NB_BASIC_ABILITIES = 42,
RARITY_M = 'M', RARITY_M = 'M',
+10
View File
@@ -1914,6 +1914,16 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
//-- addon 10E--- //-- addon 10E---
case 130542: //Flowstone Slide
{
TargetChooser * lordTargets = NULL;
int x = spell->cost->getConvertedCost() - 4;
TargetChooserFactory tcf;
lordTargets = tcf.createTargetChooser("creature", card);
game->addObserver (NEW ALordUEOT(id,card,lordTargets,0,x,-x));
break;
}
case 129523: //Demon's Horn case 129523: //Demon's Horn
{ {
game->addObserver( NEW ASpellCastLife(_id, card, Constants::MTG_COLOR_BLACK, NEW ManaCost() , 1)); game->addObserver( NEW ASpellCastLife(_id, card, Constants::MTG_COLOR_BLACK, NEW ManaCost() , 1));
+1
View File
@@ -49,6 +49,7 @@ const char* Constants::MTGBasicAbilities[] = {
"mustattack", "mustattack",
"cantblock", "cantblock",
"doesnotuntap", "doesnotuntap",
"opponentshroud",
}; };
const char* Constants::MTGPhaseNames[] = const char* Constants::MTGPhaseNames[] =