Erwan
- fixed memory leak in AEquip/ATeach - Test suite now trims strings correctly (allows to have space between comma-separated card names) - Added Paradise Mantle (for ATeach test) - removed a missing wallpaper from wallpapers list
This commit is contained in:
@@ -6,5 +6,4 @@ wallpapers/kaioshin_garruk.jpg
|
||||
wallpapers/kaioshin_jace.jpg
|
||||
graphics/shop.jpg
|
||||
themes/Classic/backdrop.jpg
|
||||
themes/Jade/backdrop.jpg
|
||||
wallpapers/kaioshin_ravager.jpg
|
||||
|
||||
@@ -38929,6 +38929,18 @@ power=6
|
||||
toughness=3
|
||||
[/card]
|
||||
[card]
|
||||
name=Paradise Mantle
|
||||
auto=teach(creature) {t}:add{r}
|
||||
auto=teach(creature) {t}:add{w}
|
||||
auto=teach(creature) {t}:add{b}
|
||||
auto=teach(creature) {t}:add{u}
|
||||
auto=teach(creature) {t}:add{g}
|
||||
auto={1}:equip
|
||||
type=artifact
|
||||
subtype=equipment
|
||||
mana={0}
|
||||
[/card]
|
||||
[card]
|
||||
name=Paradise Plume
|
||||
auto=choice name(White) && counter(0/0,1,White) all(this)
|
||||
auto=choice name(Blue) && counter(0/0,1,Blue) all(this)
|
||||
|
||||
@@ -391,6 +391,7 @@ OneDozenEyes.txt
|
||||
orcish_artillery.txt
|
||||
orcish_lumberjack.txt
|
||||
overrun.txt
|
||||
paradise_mantle.txt
|
||||
paralysis.txt
|
||||
paralysis2.txt
|
||||
persuasion.txt
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
#Bug: "Teach" functionality has a memory leak whenever it equips a creature
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:grizzly bears,raging goblin
|
||||
hand:paradise mantle
|
||||
manapool:{2}
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
paradise mantle
|
||||
paradise mantle
|
||||
grizzly bears
|
||||
paradise mantle
|
||||
raging goblin
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:grizzly bears,raging goblin, paradise mantle
|
||||
[PLAYER2]
|
||||
[END]
|
||||
Reference in New Issue
Block a user