Commit Graph

4378 Commits

Author SHA1 Message Date
techdragon.nguyen@gmail.com
405df8bd15 refactored gesture recognition for iOS 2012-04-12 11:53:42 +00:00
omegablast2002@yahoo.com
41ccf2e3d9 updated soulbright fire kin code. 2012-04-12 11:47:50 +00:00
omegablast2002@yahoo.com
7dec7bc873 soulbright fire kins ability was not triggering sideeffects...because i forgot to make it happen...opps...im only human :) 2012-04-12 11:46:00 +00:00
techdragon.nguyen@gmail.com
34ee0a82ac fixed issues 832 and 774 2012-04-12 11:07:31 +00:00
techdragon.nguyen@gmail.com
d4e4e3b251 fixed a logic error in determining the default location of user/system folders. 2012-04-12 02:28:18 +00:00
techdragon.nguyen@gmail.com
0db0cb15f9 added a default value for mount points 2012-04-11 22:31:19 +00:00
omegablast2002@yahoo.com
7cd88b83dc demigod of revenge missing "then" in if then ability. 2012-04-11 16:50:22 +00:00
omegablast2002@yahoo.com
ae3cd0d5fb making ifthenability fail a little more gracefully. 2012-04-11 16:46:57 +00:00
techdragon.nguyen@gmail.com
8f11b6ec45 updated core file to 0182 for Android build 2012-04-11 10:59:03 +00:00
techdragon.nguyen@gmail.com
b90b4ae50b updated core file download name 2012-04-11 10:10:01 +00:00
solo81@web.de
7af1e727e1 Fixed Bant Sojourners & Decree of Justice
Fixed Winds of Change

Fixed Gravespawn Sovereign

Fixed Primal Cocoon

Fixed Evolution Vat

Fixed Chimeric Mass

Fixed Elgaud Inquisitor (card.dat)

Fixed Iona, Teferi's Moat, Utopia Sprawl and Zombie Boa.



Added Nomad Mythmaker

Added Prismatic Strands

Added Mist of Stagnation
2012-04-10 23:35:06 +00:00
techdragon.nguyen@gmail.com
e8427452cd incremented build number to 0.18.2 2012-04-09 14:37:24 +00:00
techdragon.nguyen@gmail.com
f9a638143b fixed HollowHenge Spirit card definition. 2012-04-09 13:14:15 +00:00
omegablast2002@yahoo.com
7a6333ffd5 i split storedCard and storedSourceCard and forgot that if we dont have a storedCard we should make it use storedSourceCard in WParsedInt 2012-04-09 13:11:34 +00:00
omegablast2002@yahoo.com
a3848e06f4 fix for that stupid bug where cards get added randomly while quickly going through your collection by pressing cards quickly.
basically if the last tap was less then .05 don't automatically register it as "addremovecard".
2012-04-07 14:13:00 +00:00
omegablast2002@yahoo.com
596aa2b92e corrected animal boneyard, updated consume spirit. 2012-04-07 05:18:04 +00:00
omegablast2002@yahoo.com
18cd8b5082 added limiting of x to a color to fix Consume Spirit from being able to use any color..
{x:black}
{x:color}

creating a snapshot of a card instance in garbage for stored cards, the issue with previous version was it was using base model value instead of what the storedcard was actually at the time it was in battlefield. example, animal boneyard test was coming up 1 toughness short becuase the creature storedcard pointed to was sent to graveyard for the sacrifice. 

changed myStored TargetChooser to use storedSourceCard instead, as this is supposed to point to the actual card and not a snapshot.
2012-04-07 05:16:55 +00:00
omegablast2002@yahoo.com
864727b208 added HINT:castpriority(blah,blah,blah,blah,ect)
this is a method to set the order in which ai decides to play cards, you can for example tell ai to look for 2 instants, before trying to find a creature.
be sure to list all main types of the deck otherwise ai will pass on stuff
this is the current
const char* types[] = {"planeswalker","creature", "enchantment", "artifact", "sorcery", "instant"};

so be sure you include them if the decks need them.
other the above example would be coded
HINT:castpriority(instant,instant,creature,planeswalker,enchantment,artifact,sorcery)

as you can see this deck will now look for and play if possible, 2 instants before any of the other types.
this will really help with decks which rely on cards like dark ritual to produce mana to cast creature, simply by listing instant before creature. if the deck had dark rituals, in the above example, and it had them in hand, it would then cast dark ritual, dark ritual, then one of the remaining types. this is actually tested not just assumed.
2012-04-06 23:10:11 +00:00
omegablast2002@yahoo.com
e4d6f83191 taught ai if the effect of a ability$! spell is good or bad. 2012-04-06 11:01:48 +00:00
omegablast2002@yahoo.com
a514bf6ba0 just adding a few abilities words to ais "badabilities" vector.... 2012-04-06 10:10:18 +00:00
techdragon.nguyen@gmail.com
5a191e5a0c fixed parsing error in mtg.txt
Please double check this is how this card (Kor Outfitter) is supposed to be coded.
2012-04-05 16:21:14 +00:00
solo81@web.de
d55b96f1c8 Fixed Phantasmal Sphere. 2012-04-05 15:00:19 +00:00
solo81@web.de
d94dd6fff0 - Add/Optimized 11 cards based on the previous revision:
Call for Blood
Carrion
Corpse Lunge
Final Strike
Fling
Forge Armor
Ichor Explosion
Momentous Fall
Rite of Consumption
Surge of Strength
Worthy Cause

- Added Stunted Growth

- Fixed Specter's Shroud
2012-04-05 14:35:48 +00:00
omegablast2002@yahoo.com
6af6081cca removed the exploit fix i added to prevent people from using the games esc menu to avoid doing negative effects from abilitiesmenu. 2012-04-05 13:57:36 +00:00
omegablast2002@yahoo.com
eabbbe3f77 passing the storedcard for use by instants and sorceries with extracost in thier manacost, also fixed a parsing oversight with stored values parsing, "-" would throw off the value of s string parsed for stored by 1, returning 0 for these....this is corrected now. 2012-04-05 11:24:57 +00:00
solo81@web.de
5c67985c45 Added 28 cards.
Card List --> First Comment
2012-04-02 18:24:39 +00:00
omegablast2002@yahoo.com
0b1327bf01 fixed a couple memleaks, also added human player targeting for blocking. 2012-04-02 16:48:33 +00:00
omegablast2002@yahoo.com
b705158e13 added "blockable" targetchooser, a targetchooser which shows the cards considered "blockable" by source.
corrected an error in ability$! parsing that prevents transforms to use it in newability[

added "block" keyword. and ability.
2012-04-02 13:32:50 +00:00
omegablast2002@yahoo.com
4dfacaa409 untap target as cost. 2012-04-01 17:39:41 +00:00
omegablast2002@yahoo.com
26fba2d7aa fix for the manaability filter crash. 2012-03-31 18:29:29 +00:00
omegablast2002@yahoo.com
81a8183322 we dont care if it is the current or ->next when checking casted(...we just care about it being cast 2012-03-28 19:02:54 +00:00
techdragon.nguyen@gmail.com
1c43f84b01 fixed Midnight Guard, mistakenly had flash and flying 2012-03-28 11:47:18 +00:00
omegablast2002@yahoo.com
13d979a7ac maxcast on curses was being prematurely testDestroyed because isInPlay() returned that the player was not in play :) 2012-03-28 11:39:03 +00:00
omegablast2002@yahoo.com
3b4e8cf27a Drana, Kalastria Bloodchief code change 2012-03-27 13:59:34 +00:00
omegablast2002@yahoo.com
8a53df8ca5 fixed wall of reverence and refactored adynamic ability a bit. 2012-03-27 13:57:09 +00:00
omegablast2002@yahoo.com
252fe216d4 fire at will corrected 2012-03-27 13:55:34 +00:00
omegablast2002@yahoo.com
33f87b4c58 Circle of Flame fix thanks appleinanorange 2012-03-27 13:48:55 +00:00
omegablast2002@yahoo.com
df38e3977c fixed flip cards not gaining basicabilities of their counterpart cards. 2012-03-26 22:57:32 +00:00
solo81@web.de
ca4eb2e0fb Added/optimized 25 cards based on rev4347.
Added 16 cards we just found while scanning unsupported.txt.
##Vengevine is one of them##

Several card fixes.
2012-03-26 22:54:08 +00:00
omegablast2002@yahoo.com
7e308adba9 updated and(( and updated Phyrexian Unlife. added missing "emblem" keywords to emblem abilities. 2012-03-26 13:53:09 +00:00
omegablast2002@yahoo.com
30b379e1da fixed Issue 819, changed the parsing of and(()) to and!()!, i no longer share the storedstring of transformer, so you can ability$!transforms(( now.... 2012-03-26 13:51:44 +00:00
omegablast2002@yahoo.com
c5128b35e0 fix for sorins destroy andability, actually a fix for and(( in general..have to hide the and(( string from the parser till we need it. 2012-03-26 11:48:22 +00:00
techdragon.nguyen@gmail.com
08b6975300 refactoring change for http://code.google.com/p/wagic/source/detail?r=4364 to ensure bounds for n is always met. 2012-03-25 23:43:59 +00:00
omegablast2002@yahoo.com
5e34cf8bb2 fixed a bug where proliferate menus stopped working, fixed a bug where damage would be considered redirected after killing a planeswalker, fixed a bug intruduced with recent changes to text rendering that made my text message ability stop working, added a lose and win text to abilities which only contained a 1 sided win. 2012-03-25 21:49:13 +00:00
omegablast2002@yahoo.com
bf88bee58a fixed a crash that would occur when hugging the bottem edge of a menu with one option example: auto=choice sacrifice 2012-03-25 19:39:10 +00:00
solo81@web.de
142fcef4c4 Added 211 cards based on rev4331.
AI is able now to make simple decisions like "Chosen Discard", "Chosen Sacrifice" and so on. This leads to a massive card package which contains many powerful and much beloved cards like the Eldrazi creatures:

[card]
name=Kozilek, Butcher of Truth
autostack=draw:4 controller
autograveyard=moveTo(ownerlibrary) && shuffle
auto=@combat(attacking) source(this):name(Annihilate) ability$!name(sacrifice 4 permanents) notatarget(<4>*|mybattlefield) sacrifice!$ opponent
text=When you cast Kozilek, Butcher of Truth, draw four cards. -- Annihilator 4 (Whenever this creature attacks, defending player sacrifices four permanents.) -- When Kozilek is put into a graveyard from anywhere, its owner shuffles his or her graveyard into his or her library.
mana={10}
type=Legendary Creature
subtype=Eldrazi
power=12
toughness=12
[/card]

Tests will follow.

Card list in the first comment. Have fun!
2012-03-25 16:38:52 +00:00
omegablast2002@yahoo.com
5c340a2fb5 made it even more specific to the exploit, when you open the option menu while abilitiesmenu is open for the purpose of canceling then undo last action. 2012-03-25 11:47:17 +00:00
omegablast2002@yahoo.com
a2ca6ce26b treating the esc menu as "undo" when used while an abilitiesmenu is open and waiting for selection. this prevents people from using the games menu as an exploit to avoid having to do negative effects to themselves or thier cards. you either do it or we can repeat this forever :) 2012-03-25 11:40:43 +00:00
omegablast2002@yahoo.com
59bedf0f07 commented out the drawing of a line across the screen,
reasons behind this are as follows:
1:separation of the battlefields is already incredibly clear by the huge gap between the center...
2:a line drawn on battlefield that represents the seperation is something that should be handled outside of the engine, in the actual battlefield graphic.
3:on hires screens this line stands out like a sore thumb.
4:the line is draw on top level above the cards making it stand out even worse when you have a battle going. as well as cutting over the top of the cards in displayed hand view.

over all the battlefield looks cleaner.
2012-03-25 10:36:06 +00:00
omegablast2002@yahoo.com
1879767bb8 fixed sorins abilities. 2012-03-25 09:21:17 +00:00