Commit Graph

3250 Commits

Author SHA1 Message Date
omegablast2002@yahoo.com
55d58b6425 fixed a reported bug where blinking cards with "nonbattlezone" code was not activating triggers. :( accidently forgot to add the MY_EXILE to the list of non-battle. :) all good now. 2011-03-22 02:49:49 +00:00
omegablast2002@yahoo.com
aeb4a839b2 fixed a report crash with auras that "teach(" an activated ability to a creature which can phaseout. 2011-03-22 02:25:02 +00:00
omegablast2002@yahoo.com
43711786fd fixed a reported bug where a player would respond to a targeted ability by phasing out a creature and the targeted ability would still resolve on the phased card. 2011-03-22 02:15:10 +00:00
omegablast2002@yahoo.com
a866adb8ea updated the altercost cards to remove the "resetcost" code. 2011-03-22 01:20:07 +00:00
omegablast2002@yahoo.com
f2c905225b cleaned up resetting cost for altercost code, its *almost* where i want it to be, removed the need to have "resetcost" coding on card code. removed "resetcost" keyword.
i was not 100% successful in getting the correct cost on altercost which reduced the amounts. however altercost which increased the amounts are now clean code. so the reducers are still using a dirty method of putting the card from the hand back into the hand to get the correct amounts.

the issue i ran into is how to get the correct amount in this situation.
target cost {5} 
have 3 reducers that - {2}
thats {1} of overkill reduce...
heres the issue. now remove all the reducers from play. the cost returns to {6} instead of 5. 
you would think, will have it track the over kill. which leads to another. have the 3rd card which would contain the overkill removed first, i factor the overkill and increase the amount by what was reduced, but that would not be correct. since the reduce was {2} the increase of removing the overkill card should increase the targets cost by {2} not the amount it actually reduced. as you can see, it is extremely complex. so for now im leaving it dirty, but removing the resetcost code.
2011-03-22 01:12:33 +00:00
omegablast2002@yahoo.com
e9eaef430e unable to repro but i recieved reports of code using "thatmuch" producing massive numbers in edge cases. I realized i never int'ed it to 0, so im hoping that this was the reason for the massive positive and negitives it would produce. 2011-03-21 23:16:59 +00:00
guzhenjie1@gmail.com
096add2236 Fixed Green Sun's Zenith. 2011-03-20 08:58:39 +00:00
guzhenjie1@gmail.com
df7b8283d5 Fixed Prismatic Omen. 2011-03-19 13:31:41 +00:00
Xawotihs
29e9ea62c3 Fixed the build problem with VS2008 and actived multithreaded build while I was at it ... you guys liked to wait ? =) 2011-03-19 08:35:57 +00:00
guzhenjie1@gmail.com
58c556741e Fixed following cards reported in forum:
AEthertow
Balduvian Dead
Barkshell Blessing
Disturbed Burial
Disturbing Plot
Giantbaiting
Gleeful Sabotage
Hornet
Hunted Dragon
Hunted Horror
Hunted Lammasu
Hunted Phantasm
Hunted Troll
Memory Sluice
Pyrohemia
Tetsuo Umezawa
Urborg Emissary
Vampire Hexmage

Updated following cards:
Bazaar of Baghdad
Brood Birthing
Dark Depths
Gemstone Mine
Hickory Woodlot
Icatian Crier
Kulrath Knight
Oblivion Stone
Peat Bog
Plague Boiler
Remote Farm
Sandstone Needle
Saprazzan Skerry

Changed the code of Tidal Wave:
Tidal Wave
auto=token(-3371)
 ==> 
auto=token(Wall,Creature Wall,5/5,defender,treason,blue)

Removed the token card of it in mtg and card.dat:
[card]
name=Wave
power=5
toughness=5
abilities=defender
auto=@next end:moveTo(mygraveyard)
text=Defender
type=Creature
suptype=Wall
color=blue
[/card]

MIR
[card]
primitive=Wave
id=-3371
rarity=T
[/card]
2011-03-17 11:12:53 +00:00
guzhenjie1@gmail.com
2d8a1d0aa0 Fixed following cards:
Archon of Redemption
Avenger en-Dal
Death Watch
Gristleback
Heal the Scars
Rashida Scalebane
Stalking Vengeance
Wave of Reckoning

Corrected text of Chronozoa.
2011-03-15 11:17:34 +00:00
guzhenjie1@gmail.com
0eaaac1500 Fixed Venerated Teacher. 2011-03-14 13:26:24 +00:00
guzhenjie1@gmail.com
a20e0a41c8 Corrected Shaper Parasite and Sword of Vengeance was reported in forum. 2011-03-14 11:05:37 +00:00
Xawotihs
f9be0a6341 - reworked completly the JNetwork, JSocket interface (had to ifdef out the PSP socket code)
- added 2 menus to wait for connection and wait for deck selection
- tested compilation on Qt Linux, Qt Windows and PSP
- deactivated everywhere (NETWORK_SUPPORT to activate).
2011-03-13 21:19:02 +00:00
guzhenjie1@gmail.com
3220f94e00 Corrected code of Unscythe, Killer of Kings. 2011-03-13 08:35:57 +00:00
guzhenjie1@gmail.com
573004dccd Updated Helldozer. 2011-03-12 13:32:40 +00:00
guzhenjie1@gmail.com
4272fe83e9 Updated Mine Layer. 2011-03-12 12:59:17 +00:00
guzhenjie1@gmail.com
d153403b37 Fixed Day of the Dragons. 2011-03-10 11:44:34 +00:00
guzhenjie1@gmail.com
f13a2c8555 Updated Slagstorm. 2011-03-09 15:16:19 +00:00
guzhenjie1@gmail.com
871ef2ba9e Fixed Boros Fury-Shield, Fend Off and Murderous Redcap. 2011-03-09 11:14:21 +00:00
guzhenjie1@gmail.com
7794f01b94 Corrected typo in Dragonskull Summit, Drowned Catacomb and Glacial Fortress. 2011-03-08 11:30:20 +00:00
guzhenjie1@gmail.com
477422a34e Corrected a typo in Lightmine Field's text. 2011-03-07 11:29:49 +00:00
omegablast2002@yahoo.com
f771ceb459 Gempalm Incinerator was allowing the targetting of players with its cycling ability.... 2011-03-06 17:26:26 +00:00
omegablast2002@yahoo.com
e8bbbb45de fixed a reported issue, find it a bit strange tho, as everything else can be adressed in this method without being so specific ie: using hasColor(blah) as in the way "fear" was added in here without addressing "this"....just to be on the safe side im going to specify "this->" becuase doing it without it was returning as tho it could not block even tho the creature did not have "weak"
i suspect this could be true with the intemidate and fear...
2011-03-06 16:23:23 +00:00
guzhenjie1@gmail.com
86dedaa48a Fixed Beastmaster's Magemark, Heart of Bogardan and Shield of the Righteous. 2011-03-06 10:52:26 +00:00
guzhenjie1@gmail.com
956093dab3 Fixed Hoofprints of the Stag, Wall of Resistance and Wall of Reverence. 2011-03-06 07:58:25 +00:00
guzhenjie1@gmail.com
e346a545fd Fixed Dead-Iron Sledge, Defiant Vanguard and Wall of Nets. 2011-03-06 04:13:20 +00:00
guzhenjie1@gmail.com
ab4a0d0657 Added missing text of Mox Opal. 2011-03-05 05:24:00 +00:00
guzhenjie1@gmail.com
cfa1bd21c4 Fixed Boon Reflection, Pious Warrior and Victory's Herald. 2011-03-04 14:29:28 +00:00
guzhenjie1@gmail.com
a2b7aac8c3 Added missing code of Lightning Coils, corrected text of Angelheart Vial and fixed Crazed Armodon.
Changed the code of Tomb of Urami:
Tomb of Urami
auto={2}{B}{B}{T}:moveTo(mygraveyard) all(land|myBattlefield) && token(-74492)
 ==> 
auto={2}{B}{B}{T}:moveTo(mygraveyard) all(land|myBattlefield) && token(Urami,Legendary Creature Demon Spirit, 5/5,flying,black)

Removed the token card of it in mtg and card.dat:
[card]
name=Urami
abilities=flying
text=Flying
type=Legendary Creature
subtype=Demon Spirit
power=5
toughness=5
color=black
[/card]

SOK
[card]
primitive=Urami
id=-74492
rarity=T
[/card]
2011-03-04 11:08:37 +00:00
guzhenjie1@gmail.com
0cce9c27b7 Fixed Angelheart Vial, Rapacious One.
Changed following tokens' name in mtg and card.dat:
Bestial Menace (WWK)
name=Snake
name=Wolf
name=Elephant

Decree of Justice (SCG)
name=Angel
name=Soldier

Elephant Resurgence
name=Elephant T1

Fable of Wolf and Owl (EVE)
name=Wolf
name=Bird

Mitotic Slime (M11)
name=Ooze T1
name=Ooze T2

One Dozen Eyes (MRD)
name=Beast
name=Insect

Sarpadian Empires, Vol. VII (TSP)
name=Citizen
name=Camarid
name=Thrull
name=Goblin
name=Saproling

Sound the Call (CSP)
name=Wolf T1

Wand of the Elements (DST)
name=Elemental T1
name=Elemental T2

Waylay (USG)
name=Knight

Wurmcoil Engine (SOM)
name=Wurm T1
name=Wurm T2

Changed the code of Feral Lightning and Zektar Shrine Expedition:
Feral Lightning
auto=token(-84373)*3
 ==> 
auto=token(Elemental,Creature Elemental,3/1,red,haste,unearth)*3

Zektar Shrine Expedition
auto={C(0/0,-3,Quest)}{S}:token(-183403)
 ==> 
auto={C(0/0,-3,Quest)}{S}:token(Elemental,Creature Elemental,7/1,red,trample,haste,unearth)

Removed two token cards of them:
[card]
name=Elemental Token from Feral Lightning
type=Creature
subtype=Elemental
auto=@next end:moveTo(exile)
abilities=haste
text=Haste
power=3
toughness=1
color=red
[/card]
[card]
name=Elemental Token from Zendikar Shrine
type=Creature
subtype=Elemental
auto=@next end:moveTo(exile)
abilities=trample,haste
text=Trample,haste
power=7
toughness=1
color=red
[/card]
2011-03-03 13:23:39 +00:00
omegablast2002@yahoo.com
ba4c83faa9 of the of "wormfang" cycle had an extra "b" in mybattlefield... 2011-03-03 13:07:19 +00:00
omegablast2002@yahoo.com
a8142350fd added suture priest and pristine Talisman, theyre part of MBS and official cards. 2011-03-03 09:07:44 +00:00
omegablast2002@yahoo.com
eb8a22223b omitted a unneeded include. 2011-03-02 21:35:31 +00:00
omegablast2002@yahoo.com
64a234ef44 added support for customphasering construction in rules txt...
exsample

[INIT]
mode=mtg
[PLAYERS]
life:2000
poisoncount:4
customphasering:untap,firstmain,firstmain,draw,firstmain,upkeep,draw
auto=shuffle
auto=draw:7
auto=@each my draw:draw:1
auto=maxPlay(land)1

by default every turn will have normal order we've always been use to
however
before begins --required added automatically
anything you want in any order
anything you want in any order
anything you want in any order
anything you want in any order
anything you want in any order
anything you want in any order
anything you want in any order
anything you want in any order
cleanup---required added automatically
after end of turn---required added automatically

svntax 
customphasering:blah,blah,blah
listed in the order you want it to go. you can repeat a phase as often as you want, you can omit phases.

please note, this was not designed with MTG in mind..some of the rules require certain phases to work...this is for CUSTOM game building...i repeat NOT DESIGNED FOR MTG...tho it can be used with most(almost all, with the exception of those which require certain phases to work, exsample, ninjitsu will only work in a phasering which contains blockers and attackers)

enjoy.....
2011-03-02 21:33:42 +00:00
omegablast2002@yahoo.com
70236f344e fixed a massive bug report
Issue: 605
2011-03-02 13:48:09 +00:00
wagic.the.homebrew@gmail.com
b021417324 Erwan
-fix for issue 604 (Land play limitation should not apply in all cases)
-- this adds a "castMehod" variable to MTGCardInstance. IF this variable is 0, the card was not "cast" (or for lands, "put into play" as part of the lands rule), but "added" to the battlefield with some other effect. On the other hand, if this variable is set, it means the card was cast 
-- as we discussed, I did not touch the "alternateCostPaid" variable, as I'm still not really sure these two concepts are actually the same
2011-03-02 13:41:24 +00:00
guzhenjie1@gmail.com
8f9b1d5b8d Reverted changes in r3219 2011-03-02 12:03:33 +00:00
wrenczes@gmail.com
baf0343063 Makefile changes in JGE to include the boost path. Added a missing include dependency on shared_ptr. 2011-03-02 09:26:31 +00:00
wrenczes@gmail.com
297f87eb04 Fixed relative path includes of JGE headers. 2011-03-02 09:04:31 +00:00
wrenczes@gmail.com
9901329caf Moved Threading.h into JGE so that it can be used at that level. 2011-03-02 08:14:47 +00:00
guzhenjie1@gmail.com
75e53cd672 Changed Elephant Resurgence, Tombstone Stairwell and tokens of them in mtg to make tokens' image shows up.
Added the following cards in _cards.dat:
MIR: 
Added following card:
[card]
primitive=Tombspawn
id=-3318
rarity=T
[/card]

PCY: 
Added following card:
[card]
primitive=Elephant Token from Elephant Resurgence
id=-21382
rarity=T
[/card]

You also need to add two tokens pictures in All Image Set:
MIR.zip
Tombspawn (Tombstone Stairwell):
Name to 3318t

PCY.zip
Elephant Token from Elephant Resurgence (Elephant Resurgence):
Name to 21382t
2011-03-02 05:42:39 +00:00
guzhenjie1@gmail.com
a27a1fddc2 Fixed Ohran Viper and Sosuke, Son of Seshiro. 2011-03-02 05:02:09 +00:00
omegablast2002@yahoo.com
ae169048c7 updated tap target as cost to remove a bunch of redundent [-tapped] checks...i recently added this check in the canpay...so it is not needed to reinstate a descriptor targetchooser stating -tapped... 2011-03-02 02:02:13 +00:00
omegablast2002@yahoo.com
fb2621047b fixed Sosuke, Son of Seshiro 2011-03-02 01:00:19 +00:00
guzhenjie1@gmail.com
b2ebf451f4 Fixed Isleback Spawn. 2011-03-01 11:19:51 +00:00
guzhenjie1@gmail.com
47e12985d8 Fixed Remote Farm. 2011-03-01 11:10:16 +00:00
wrenczes@gmail.com
be4a7ce412 VS2010 file inclusions. 2011-03-01 10:59:39 +00:00
wrenczes@gmail.com
7b53f30519 Removed an unneeded include. 2011-03-01 09:30:23 +00:00
wrenczes@gmail.com
772828bced Removed some overly noisy log tracing in JFileSystem that I had previously put in. One nice thought would be the addition of a 'volume' to tracing messages so that you could choose how much verbosity you want in the logging output, but that's a luxury for the moment. 2011-03-01 08:57:31 +00:00