Merge branch 'master' of https://github.com/Card-Forge/forge into adventure

 Conflicts:
	forge-gui-mobile/src/forge/adventure/world/WorldSave.java
This commit is contained in:
Grimm
2022-08-09 13:50:01 +02:00
3 changed files with 442 additions and 447 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -55,14 +55,18 @@ public class Assets implements Disposable {
}
@Override
public void dispose() {
for (BitmapFont bitmapFont : counterFonts.values())
bitmapFont.dispose();
for (Texture texture : generatedCards.values())
texture.dispose();
for (Texture texture : fallback_skins.values())
texture.dispose();
for (Texture texture : tmxMap.values())
texture.dispose();
if (counterFonts != null)
for (BitmapFont bitmapFont : counterFonts.values())
bitmapFont.dispose();
if (generatedCards != null)
for (Texture texture : generatedCards.values())
texture.dispose();
if (fallback_skins != null)
for (Texture texture : fallback_skins.values())
texture.dispose();
if (tmxMap != null)
for (Texture texture : tmxMap.values())
texture.dispose();
if (defaultImage != null)
defaultImage.dispose();
if (dummy != null)

View File

@@ -0,0 +1,12 @@
Name:Big Spender
ManaCost:1 R
Types:Creature Devil Citizen
PT:2/1
K:Haste
T:Mode$ AttackerBlockedOnce | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigTreasure | TriggerDescription$ Whenever one or more creatures you control become blocked, create a Treasure token.
SVar:TrigTreasure:DB$ Token | TokenScript$ c_a_treasure_sac
A:AB$ Draft | Cost$ Sac<2/Artifact> | Spellbook$ Arcane Encyclopedia,Daredevil Dragster,Diamond Mare,Filigree Familiar,Fountain of Renewal,Gilded Lotus,Golden Egg,Guild Globe,Heraldic Banner,Honored Heirloom,Key to the City,Prophetic Prism,Stuffed Bear,Treasure Vault,Zephyr Boots | SpellDescription$ Draft a card from CARDNAME's spellbook.
DeckHas:Ability$Sacrifice|Token|Discard|LifeGain & Type$Treasure|Artifact|Horse|Fox|Food|Equipment|Bear
DeckHints:Type$Treasure
SVar:AIPreference:SacCost$Treasure.Token,Artifact.Token
Oracle:Haste\nWhenever one or more creatures you control become blocked, create a Treasure token.\nSacrifice two artifacts: Draft a card from Big Spender's spellbook.