mirror of
https://github.com/correl/mage.git
synced 2025-03-17 01:06:26 -09:00
More OGW token tweaks.
This commit is contained in:
parent
f51be0b3ef
commit
0271506646
6 changed files with 272 additions and 121 deletions
|
@ -46,7 +46,7 @@ public class AlliedReinforcements extends CardImpl {
|
||||||
this.expansionSetCode = "OGW";
|
this.expansionSetCode = "OGW";
|
||||||
|
|
||||||
// Put two 2/2 white Knight Ally creature tokens onto the battlefield.
|
// Put two 2/2 white Knight Ally creature tokens onto the battlefield.
|
||||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new KnightToken(), 2));
|
this.getSpellAbility().addEffect(new CreateTokenEffect(new KnightAllyToken(), 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
public AlliedReinforcements(final AlliedReinforcements card) {
|
public AlliedReinforcements(final AlliedReinforcements card) {
|
||||||
|
@ -59,10 +59,10 @@ public class AlliedReinforcements extends CardImpl {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class KnightToken extends Token {
|
class KnightAllyToken extends Token {
|
||||||
|
|
||||||
public KnightToken() {
|
public KnightAllyToken() {
|
||||||
super("Knight", "2/2 white Knight Ally creature token");
|
super("Knight Ally", "2/2 white Knight Ally creature token");
|
||||||
this.setExpansionSetCodeForImage("BFZ");
|
this.setExpansionSetCodeForImage("BFZ");
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
||||||
color.setWhite(true);
|
color.setWhite(true);
|
||||||
|
|
|
@ -135,6 +135,8 @@ class ChandraElementalElementalToken extends Token {
|
||||||
|
|
||||||
public ChandraElementalElementalToken() {
|
public ChandraElementalElementalToken() {
|
||||||
super("Elemental", "3/1 red Elemental creature tokens with haste");
|
super("Elemental", "3/1 red Elemental creature tokens with haste");
|
||||||
|
setTokenType(1);
|
||||||
|
setOriginalExpansionSetCode("OGW");
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
||||||
color.setRed(true);
|
color.setRed(true);
|
||||||
subtype.add("Elemental");
|
subtype.add("Elemental");
|
||||||
|
|
|
@ -103,6 +103,7 @@ class SeedGuardianToken extends Token {
|
||||||
|
|
||||||
public SeedGuardianToken(int xValue) {
|
public SeedGuardianToken(int xValue) {
|
||||||
super("Elemental", "X/X green Elemental creature token");
|
super("Elemental", "X/X green Elemental creature token");
|
||||||
|
setTokenType(2);
|
||||||
setOriginalExpansionSetCode("OGW");
|
setOriginalExpansionSetCode("OGW");
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
||||||
color.setGreen(true);
|
color.setGreen(true);
|
||||||
|
|
|
@ -41,6 +41,12 @@ import mage.constants.Zone;
|
||||||
*/
|
*/
|
||||||
public class EldraziScionToken extends Token {
|
public class EldraziScionToken extends Token {
|
||||||
|
|
||||||
|
final static private List<String> tokenImageSets = new ArrayList<>();
|
||||||
|
|
||||||
|
static {
|
||||||
|
tokenImageSets.addAll(Arrays.asList("BFZ", "OGW"));
|
||||||
|
}
|
||||||
|
|
||||||
public EldraziScionToken() {
|
public EldraziScionToken() {
|
||||||
super("Eldrazi Scion", "1/1 colorless Eldrazi Scion creature token with \"Sacrifice this creature: Add {C} to your mana pool.\"");
|
super("Eldrazi Scion", "1/1 colorless Eldrazi Scion creature token with \"Sacrifice this creature: Add {C} to your mana pool.\"");
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
||||||
|
@ -49,8 +55,6 @@ public class EldraziScionToken extends Token {
|
||||||
power = new MageInt(1);
|
power = new MageInt(1);
|
||||||
toughness = new MageInt(1);
|
toughness = new MageInt(1);
|
||||||
addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, Mana.GenericMana(1), new SacrificeSourceCost()));
|
addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, Mana.GenericMana(1), new SacrificeSourceCost()));
|
||||||
setOriginalExpansionSetCode("BFZ");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -59,6 +63,9 @@ public class EldraziScionToken extends Token {
|
||||||
if (getOriginalExpansionSetCode().equals("BFZ")) {
|
if (getOriginalExpansionSetCode().equals("BFZ")) {
|
||||||
this.setTokenType(new Random().nextInt(3) + 1); // 3 different images
|
this.setTokenType(new Random().nextInt(3) + 1); // 3 different images
|
||||||
}
|
}
|
||||||
|
if (getOriginalExpansionSetCode().equals("OGW")) {
|
||||||
|
this.setTokenType(new Random().nextInt(6) + 1); // 6 different images
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public EldraziScionToken(final EldraziScionToken token) {
|
public EldraziScionToken(final EldraziScionToken token) {
|
||||||
|
|
|
@ -43,7 +43,7 @@ public class ZombieToken extends Token {
|
||||||
final static private List<String> tokenImageSets = new ArrayList<>();
|
final static private List<String> tokenImageSets = new ArrayList<>();
|
||||||
|
|
||||||
static {
|
static {
|
||||||
tokenImageSets.addAll(Arrays.asList("10E", "M10", "M11", "M12", "M13", "M14", "M15", "MBS", "ALA", "ISD", "C14", "C15", "CNS", "MMA", "BNG", "KTK", "DTK", "ORI"));
|
tokenImageSets.addAll(Arrays.asList("10E", "M10", "M11", "M12", "M13", "M14", "M15", "MBS", "ALA", "ISD", "C14", "C15", "CNS", "MMA", "BNG", "KTK", "DTK", "ORI", "OGW));
|
||||||
}
|
}
|
||||||
|
|
||||||
public ZombieToken() {
|
public ZombieToken() {
|
||||||
|
|
141
hs_err_pid4700.log
Normal file
141
hs_err_pid4700.log
Normal file
|
@ -0,0 +1,141 @@
|
||||||
|
#
|
||||||
|
# There is insufficient memory for the Java Runtime Environment to continue.
|
||||||
|
# Native memory allocation (malloc) failed to allocate 1048576 bytes for AllocateHeap
|
||||||
|
# Possible reasons:
|
||||||
|
# The system is out of physical RAM or swap space
|
||||||
|
# In 32 bit mode, the process size limit was hit
|
||||||
|
# Possible solutions:
|
||||||
|
# Reduce memory load on the system
|
||||||
|
# Increase physical memory or swap space
|
||||||
|
# Check if swap backing store is full
|
||||||
|
# Use 64 bit Java on a 64 bit OS
|
||||||
|
# Decrease Java heap size (-Xmx/-Xms)
|
||||||
|
# Decrease number of Java threads
|
||||||
|
# Decrease Java thread stack sizes (-Xss)
|
||||||
|
# Set larger code cache with -XX:ReservedCodeCacheSize=
|
||||||
|
# This output file may be truncated or incomplete.
|
||||||
|
#
|
||||||
|
# Out of Memory Error (memory/allocation.inline.hpp:61), pid=4700, tid=4912
|
||||||
|
#
|
||||||
|
# JRE version: (7.0_71-b14) (build )
|
||||||
|
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.71-b01 mixed mode windows-amd64 compressed oops)
|
||||||
|
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
|
||||||
|
#
|
||||||
|
|
||||||
|
--------------- T H R E A D ---------------
|
||||||
|
|
||||||
|
Current thread (0x000000000223f000): JavaThread "Unknown thread" [_thread_in_vm, id=4912, stack(0x00000000025b0000,0x00000000026b0000)]
|
||||||
|
|
||||||
|
Stack: [0x00000000025b0000,0x00000000026b0000]
|
||||||
|
[error occurred during error reporting (printing stack bounds), id 0xc0000005]
|
||||||
|
|
||||||
|
|
||||||
|
--------------- P R O C E S S ---------------
|
||||||
|
|
||||||
|
Java Threads: ( => current thread )
|
||||||
|
|
||||||
|
Other Threads:
|
||||||
|
|
||||||
|
=>0x000000000223f000 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=4912, stack(0x00000000025b0000,0x00000000026b0000)]
|
||||||
|
|
||||||
|
VM state:not at safepoint (normal execution)
|
||||||
|
|
||||||
|
VM Mutex/Monitor currently owned by a thread: None
|
||||||
|
|
||||||
|
Heap
|
||||||
|
PSYoungGen total 612352K, used 10506K [0x00000007d5500000, 0x0000000800000000, 0x0000000800000000)
|
||||||
|
eden space 525312K, 2% used [0x00000007d5500000,0x00000007d5f42948,0x00000007f5600000)
|
||||||
|
from space 87040K, 0% used [0x00000007fab00000,0x00000007fab00000,0x0000000800000000)
|
||||||
|
to space 87040K, 0% used [0x00000007f5600000,0x00000007f5600000,0x00000007fab00000)
|
||||||
|
ParOldGen total 1398272K, used 0K [0x000000077ff80000, 0x00000007d5500000, 0x00000007d5500000)
|
||||||
|
object space 1398272K, 0% used [0x000000077ff80000,0x000000077ff80000,0x00000007d5500000)
|
||||||
|
PSPermGen total 21504K, used 694K [0x000000077ad80000, 0x000000077c280000, 0x000000077ff80000)
|
||||||
|
object space 21504K, 3% used [0x000000077ad80000,0x000000077ae2d9f8,0x000000077c280000)
|
||||||
|
|
||||||
|
Card table byte_map: [0x00000000056b0000,0x0000000005ae0000] byte_map_base: 0x0000000001ad9400
|
||||||
|
|
||||||
|
Polling page: 0x0000000000240000
|
||||||
|
|
||||||
|
Code Cache [0x00000000026b0000, 0x0000000002920000, 0x00000000056b0000)
|
||||||
|
total_blobs=37 nmethods=0 adapters=20 free_code_cache=48890Kb largest_free_block=50063104
|
||||||
|
|
||||||
|
Compilation events (0 events):
|
||||||
|
No events
|
||||||
|
|
||||||
|
GC Heap History (0 events):
|
||||||
|
No events
|
||||||
|
|
||||||
|
Deoptimization events (0 events):
|
||||||
|
No events
|
||||||
|
|
||||||
|
Internal exceptions (0 events):
|
||||||
|
No events
|
||||||
|
|
||||||
|
Events (10 events):
|
||||||
|
Event: 0.029 loading class 0x00000000022bed40
|
||||||
|
Event: 0.029 loading class 0x00000000022bed40 done
|
||||||
|
Event: 0.029 loading class 0x00000000022bed90
|
||||||
|
Event: 0.029 loading class 0x00000000022bed90 done
|
||||||
|
Event: 0.029 loading class 0x00000000022bede0
|
||||||
|
Event: 0.029 loading class 0x00000000022bede0 done
|
||||||
|
Event: 0.030 loading class 0x00000000022bfb40
|
||||||
|
Event: 0.030 loading class 0x00000000022bfb40 done
|
||||||
|
Event: 0.030 loading class 0x00000000022bf760
|
||||||
|
Event: 0.030 loading class 0x00000000022bf760 done
|
||||||
|
|
||||||
|
|
||||||
|
Dynamic libraries:
|
||||||
|
0x000000013f320000 - 0x000000013f353000 C:\Program Files\Java\jdk1.7.0_71\bin\java.exe
|
||||||
|
0x00000000770c0000 - 0x0000000077269000 C:\Windows\SYSTEM32\ntdll.dll
|
||||||
|
0x0000000076ea0000 - 0x0000000076fbf000 C:\Windows\system32\kernel32.dll
|
||||||
|
0x000007fefd170000 - 0x000007fefd1dc000 C:\Windows\system32\KERNELBASE.dll
|
||||||
|
0x000007fefd7c0000 - 0x000007fefd89b000 C:\Windows\system32\ADVAPI32.dll
|
||||||
|
0x000007feff300000 - 0x000007feff39f000 C:\Windows\system32\msvcrt.dll
|
||||||
|
0x000007fefe7e0000 - 0x000007fefe7ff000 C:\Windows\SYSTEM32\sechost.dll
|
||||||
|
0x000007fefd8a0000 - 0x000007fefd9cd000 C:\Windows\system32\RPCRT4.dll
|
||||||
|
0x0000000076fc0000 - 0x00000000770ba000 C:\Windows\system32\USER32.dll
|
||||||
|
0x000007fefd230000 - 0x000007fefd297000 C:\Windows\system32\GDI32.dll
|
||||||
|
0x000007fefef50000 - 0x000007fefef5e000 C:\Windows\system32\LPK.dll
|
||||||
|
0x000007feff230000 - 0x000007feff2f9000 C:\Windows\system32\USP10.dll
|
||||||
|
0x000007fefb490000 - 0x000007fefb684000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\COMCTL32.dll
|
||||||
|
0x000007fefe760000 - 0x000007fefe7d1000 C:\Windows\system32\SHLWAPI.dll
|
||||||
|
0x000007feff3a0000 - 0x000007feff3ce000 C:\Windows\system32\IMM32.DLL
|
||||||
|
0x000007fefe9f0000 - 0x000007fefeaf9000 C:\Windows\system32\MSCTF.dll
|
||||||
|
0x000000006ab40000 - 0x000000006ac12000 C:\Program Files\Java\jdk1.7.0_71\jre\bin\msvcr100.dll
|
||||||
|
0x0000000067b10000 - 0x00000000682e3000 C:\Program Files\Java\jdk1.7.0_71\jre\bin\server\jvm.dll
|
||||||
|
0x000007fefa970000 - 0x000007fefa979000 C:\Windows\system32\WSOCK32.dll
|
||||||
|
0x000007fefd690000 - 0x000007fefd6dd000 C:\Windows\system32\WS2_32.dll
|
||||||
|
0x000007fefe9e0000 - 0x000007fefe9e8000 C:\Windows\system32\NSI.dll
|
||||||
|
0x000007fefaf60000 - 0x000007fefaf9b000 C:\Windows\system32\WINMM.dll
|
||||||
|
0x0000000077290000 - 0x0000000077297000 C:\Windows\system32\PSAPI.DLL
|
||||||
|
0x000000006f510000 - 0x000000006f51f000 C:\Program Files\Java\jdk1.7.0_71\jre\bin\verify.dll
|
||||||
|
0x000000006c820000 - 0x000000006c848000 C:\Program Files\Java\jdk1.7.0_71\jre\bin\java.dll
|
||||||
|
0x000000006c860000 - 0x000000006c875000 C:\Program Files\Java\jdk1.7.0_71\jre\bin\zip.dll
|
||||||
|
|
||||||
|
VM Arguments:
|
||||||
|
jvm_args: -Xms2048m -Xmx2048m -Dclassworlds.conf=C:\Program Files\NetBeans 8.0.2\java\maven\bin\m2.conf -Dmaven.home=C:\Program Files\NetBeans 8.0.2\java\maven
|
||||||
|
java_command: org.codehaus.plexus.classworlds.launcher.Launcher -Dmaven.ext.class.path=C:\Users\fireshoes\AppData\Roaming\NetBeans\8.0.2\maven-nblib\netbeans-eventspy.jar -Dfile.encoding=UTF-8 clean install
|
||||||
|
Launcher Type: SUN_STANDARD
|
||||||
|
|
||||||
|
Environment Variables:
|
||||||
|
JAVA_HOME=C:\Program Files\Java\jdk1.7.0_71
|
||||||
|
PATH=c:\Program FIles\Apache Software Foundation\apache-maven-3.2.3\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program FIles\Java\jdk1.7.0_71\bin;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files (x86)\Git\cmd;C:\apache-maven-3.3.9-src\apache-maven-3.3.9\apache-maven\src
|
||||||
|
USERNAME=fireshoes
|
||||||
|
OS=Windows_NT
|
||||||
|
PROCESSOR_IDENTIFIER=AMD64 Family 18 Model 1 Stepping 0, AuthenticAMD
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--------------- S Y S T E M ---------------
|
||||||
|
|
||||||
|
OS: Windows 7 , 64 bit Build 7601 Service Pack 1
|
||||||
|
|
||||||
|
CPU:total 4 (4 cores per cpu, 1 threads per core) family 18 model 1 stepping 0, cmov, cx8, fxsr, mmx, sse, sse2, sse3, popcnt, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv
|
||||||
|
|
||||||
|
Memory: 4k page, physical 3559120k(796500k free), swap 7967852k(857396k free)
|
||||||
|
|
||||||
|
vm_info: Java HotSpot(TM) 64-Bit Server VM (24.71-b01) for windows-amd64 JRE (1.7.0_71-b14), built on Sep 26 2014 16:16:12 by "java_re" with unknown MS VC++:1600
|
||||||
|
|
||||||
|
time: Wed Jan 20 09:21:37 2016
|
||||||
|
elapsed time: 0 seconds
|
||||||
|
|
Loading…
Add table
Reference in a new issue