Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evolution Pokémon #1371

Merged
merged 3 commits into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/tcgwars/logic/impl/gen4/GreatEncounters.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -510,15 +510,16 @@ public enum GreatEncounters implements LogicCardInfo {
}
}
move "Cotton Cloud", {
text "60 damage. During your opponent's nest turn, any damage done to Altaria by attacks from your opponent's Evolved Pokémon is reduced by 30"
text "60 damage. During your opponent's nest turn, any damage done to Altaria by attacks from your opponent's Evolution Pokémon is reduced by 30."
//Errata: Evolution 「進化ポケモン」, not Evolved 進化している. https://www.pokemon-card.com/card-search/details.php/card/10118/regu/all
energyCost C, C, C
onAttack {
damage 60
afterDamage {
delayed {
before APPLY_ATTACK_DAMAGES, {
bg.dm().each {
if(it.from.evolution && it.from.owner == self.owner.opposite && it.notNoEffect && it.dmg.value){
if(it.from.realEvolution && it.from.owner == self.owner.opposite && it.notNoEffect && it.dmg.value){
bc "${thisMove.name} -30"
it.dmg-=30
}
Expand Down
5 changes: 3 additions & 2 deletions src/tcgwars/logic/impl/gen4/MysteriousTreasures.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1704,11 +1704,12 @@ public enum MysteriousTreasures implements LogicCardInfo {
}
}
move "Triple Pick", {
text "Choose 3 of your opponent’s Evolved Pokémon. This attack does 30 damage to each of them. (Don’t apply Weakness and Resistance for Benched Pokémon.)"
text "Choose 3 of your opponent’s Evolution Pokémon. This attack does 30 damage to each of them. (Don’t apply Weakness and Resistance for Benched Pokémon.)"
//Errata: Evolution 「進化ポケモン」, not Evolved 進化している. https://www.pokemon-card.com/rules/faq/search.php?freeword=トリプルピッキング
energyCost C, C, C
attackRequirement {}
onAttack {
multiSelect(opp.all.findAll{it.evolution}, 3, text).each{
multiSelect(opp.all.findAll{it.realEvolution}, 3, text).each{
targeted(it){
damage 30, it
}
Expand Down
10 changes: 6 additions & 4 deletions src/tcgwars/logic/impl/gen4/RisingRivals.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,11 @@ public enum RisingRivals implements LogicCardInfo {
}
}
move "Power Swing", {
text "60+ damage. Does 60 damage plus 10 more damage for each Evolved Pokémon on your Bench."
text "60+ damage. Does 60 damage plus 10 more damage for each Evolution Pokémon on your Bench."
//Errata: Evolution 「進化ポケモン」, not Evolved 進化している. https://www.pokemon-card.com/rules/faq/search.php?freeword=パワースイング
energyCost C, C, C
onAttack {
damage 60 + 10 * my.bench.findAll{it.evolution}.size()
damage 60 + 10 * my.bench.findAll{it.realEvolution}.size()
}
}

Expand Down Expand Up @@ -2717,11 +2718,12 @@ public enum RisingRivals implements LogicCardInfo {
return basic (this, hp:HP050, type:WATER, retreatCost:1) {
weakness L, PLUS10
move "Cosmic Draw", {
text "If your opponent has any Evolved Pokémon in play, draw 3 cards."
text "If your opponent has any Evolution Pokémon in play, draw 3 cards."
//Errata: Evolution 「進化ポケモン」, not Evolved 進化している. https://www.pokemon-card.com/card-search/details.php/card/22091/regu/all
energyCost C
attackRequirement {
assert my.deck : "Your deck is empty"
assert opp.all.find{it.evolution} : "Your opponent doesn't have any Evolved Pokémon in play"
assert opp.all.find{it.realEvolution} : "Opponent doesn't have any Evolution Pokémon in play"
}
onAttack {
draw 3
Expand Down
5 changes: 3 additions & 2 deletions src/tcgwars/logic/impl/gen4/SecretWonders.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2187,11 +2187,12 @@ f
weakness R, PLUS20
resistance F, MINUS20
pokeBody "Cotton Balloon", {
text "If Skiploom has any [G] Energy attached to it, any damage done to Skiploom by attacks from your opponent’s Evolved Pokémon is reduced by 20."
text "If Skiploom has any [G] Energy attached to it, any damage done to Skiploom by attacks from your opponent’s Evolution Pokémon is reduced by 20."
//Errata: Evolution 「進化ポケモン」, not Evolved 進化している. https://www.pokemon-card.com/card-search/details.php/card/3007/regu/all
delayedA {
before APPLY_ATTACK_DAMAGES, {
bg.dm().each{
if (self.cards.energyCount(G) && it.to == self && it.from.owner != self.owner && it.from.evolution && it.notNoEffect && it.dmg.value) {
if (self.cards.energyCount(G) && it.to == self && it.from.owner != self.owner && it.from.realEvolution && it.notNoEffect && it.dmg.value) {
bc "Cotton Balloon -20"
it.dmg -= hp(20)
}
Expand Down