Skip to content

Commit

Permalink
Fixed AFR, STA, STX and J21 sets, fixed "_PROLIFERATE_" macro and fix…
Browse files Browse the repository at this point in the history
…ed primitives with "proliferate" ability, fixed all primitives with "mutate" ability, improved "proliferate" and "duplicatecounters" keywords, added a new target "permanent" to target togheter a player and permanents on battlefield (e.g. cards with "proliferate").
  • Loading branch information
Vitty85 committed Sep 13, 2021
1 parent 04a6a4b commit 2af470e
Show file tree
Hide file tree
Showing 10 changed files with 80 additions and 36 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

## [master] (https://github.com/WagicProject/wagic/tree/master)

### 13/09/21
- *Committed:* Fixed AFR, STA, STX and J21 sets, fixed "_PROLIFERATE_" macro and fixed primitives with "proliferate" ability, fixed all primitives with "mutate" ability, improved "proliferate" and "duplicatecounters" keywords, added a new target "permanent" to target togheter a player and permanents on battlefield (e.g. cards with "proliferate"). ([Vitty85](https://github.com/Vitty85))

### 12/09/21
- *Committed:* Added/Fixed primitives, updated the "missing_cards_by_sets" folder, added a new option "keepname" to keep the original name after the copy (e.g. Olag, Ludevic's Hubris), implemented a fix to avoid triggering of oneshot abilities when "flip" ability is used to return from a copy, fixed an issue with colors and "transforms" keyword, implemented a fix to avoid crashes when the card paying extracost has also a cost alteration (e.g. combo with "Pirate's Pillage" and "Ruby Medallion"), added a new keyword "totmanaspent" to return the real amount of mana spent to cast a card (e.g. Memory Deluge), added new keywords "pnumofidentitycols" and "onumofidentitycols" to return the total amount of commander identity colors for controller or opponent (e.g. War Room), improved "totcnt" keyword, added new keywords "totalcololorsinplay" and "oppototalcololorsinplay" to return the total amount of colors on controller or opponent battlefield (e.g. Moonveil Regent), added new keywords "pcoven" and "ocoven" to return if a player controls three or more creatures with different powers (e.g. Augur of Autumn). ([Vitty85](https://github.com/Vitty85))
- *Committed:* Added/Fixed primitives, updated the "missing_cards_by_sets" folder, added a new option "keepname" to keep the original name after the copy (e.g. Olag, Ludevic's Hubris), implemented a fix to avoid triggering of oneshot abilities when "flip" ability is used to return from a copy, fixed an issue with colors and "transforms" keyword, implemented a fix to avoid crashes when the card paying extracost has also a cost alteration (e.g. combo with "Pirate's Pillage" and "Ruby Medallion"), added a new keyword "totmanaspent" to return the real amount of mana spent to cast a card (e.g. Memory Deluge), added new keywords "pnumofidentitycols" and "onumofidentitycols" to return the total amount of commander identity colors for controller or opponent (e.g. War Room), improved "totcnt" keyword, added new keywords "totalcololorsinplay" and "oppototalcololorsinplay" to return the total amount of colors on controller or opponent battlefield (e.g. Moonveil Regent), added new keywords "pcoven" and "ocoven" to return if a player controls three or more creatures with different powers (e.g. Augur of Autumn). https://github.com/WagicProject/wagic/commit/04a6a4bfe2a4ae6fd2541723e3a338343320d851 ([Vitty85](https://github.com/Vitty85))

### 07/09/21
- *Committed:* Added/fixed primitives, updated the "missing_cards_by_sets" folder, added new ability "hasstrive" to implement Strive cost with multikicker and refactored all cards with Strive cost (now they use a special version of multikicker but they don't count as kicked spell), improved "targeted" and "vampired" trigger to allow the "turnlimited" option, improved Android gesture to emulate "option menu" button pressure (slide down) and emulate "back" button pressure (slide up). https://github.com/WagicProject/wagic/commit/9aa15766d455c6b9f5fec1bb003ca35a34cbb5fc ([Vitty85](https://github.com/Vitty85))
Expand Down
2 changes: 1 addition & 1 deletion projects/mtg/bin/Res/sets/AFR/_cards.dat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[meta]
author=Wagic Team
name=Adventures in the Forgotten Realms
orderindex=EXP-ZZI.AFR
orderindex=EXP-ZZJ.AFR
year=2021-07-23
total=313
[/meta]
Expand Down
2 changes: 1 addition & 1 deletion projects/mtg/bin/Res/sets/J21/_cards.dat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[meta]
author=Wagic Team
name=Jumpstart: Historic Horizons
orderindex=ONL-E.J21
orderindex=REP-K.J21
year=2021-08-26
total=446
[/meta]
Expand Down
2 changes: 1 addition & 1 deletion projects/mtg/bin/Res/sets/STA/_cards.dat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[meta]
author=Wagic Team
name=Strixhaven Mystical Archive
orderindex=EXP-K.STA
orderindex=EXP-J.STA
year=2021-04-23
total=63
[/meta]
Expand Down
2 changes: 1 addition & 1 deletion projects/mtg/bin/Res/sets/STX/_cards.dat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[meta]
author=Wagic Team
name=Strixhaven: School of Mages
orderindex=REP-J.STX
orderindex=EXP-ZZI.STX
year=2021-04-23
total=340
[/meta]
Expand Down
6 changes: 1 addition & 5 deletions projects/mtg/bin/Res/sets/primitives/_macros.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,7 @@ $AUTO_DEFINE _CLASH_ Put here a code if compare the casting cost based on Errati
#AUTO_DEFINE _CONSPIRE_ @movedTo(this|myStak):may {T(creature|myBattlefield)}{T(creature|myBattlefield)} castcard(copied noevent) target(*|myStack)

# Proliferate
#AUTO_DEFINE _PROLIFERATE_ name(Proliferate) notatarget(<anyamount>*[artifact;creature;enchantment;land;planeswalker;player]) duplicatecounters(single)

# Proliferate, still need to target players since the old code doesn't work (*[artifact;creature;...;players]) just let you target creature and player
#AUTO_DEFINE _OLDPROLIFERATE_ name(Proliferate) notAtarget(<anyamount>*[artifact;creature;enchantment;land;planeswalker;player]) propagate
#AUTO_DEFINE _OLDOLDPROLIFERATE_ name(proliferate) notatarget(<anyamount>*[artifact;creature;enchantment;land;planeswalker;player]) proliferate
#AUTO_DEFINE _PROLIFERATE_ name(Proliferate) notatarget(<anyamount>player^permanent) proliferate

# Scavenge
#AUTO_DEFINE _SCAVENGE_($cost) name(Scavenge) autograveyard={$cost}{E}:counter(1/1,$c) target(creature) asSorcery
Expand Down
Loading

0 comments on commit 2af470e

Please sign in to comment.