pankdm
da7c336dc2
Removed debug code that was added by mistake
2013-10-01 14:49:31 +00:00
pankdm
be76c8a4f1
Fixed issue with cantbeblockerof and cantbeblockedby vs protection
2013-10-01 14:47:39 +00:00
Xawotihs@gmail.com
490752e9da
- Removed dependencies on Boost/string in mtg sources
...
- Removes dependencies on Boost/shared_ptr in mtg sources only for WP8 for the moment
- Various compilation fixes on WP8
2013-09-30 21:25:17 +00:00
pankdm
7894ca3ace
Refactored ABlink: extracted common code as method "returnCardIntoPlay"
2013-09-27 19:25:28 +00:00
pankdm
3761684816
Fixed blinking (until EOT) of creature with X in cost
2013-09-26 14:17:39 +00:00
pankdm
00ebc8c8eb
Fixed issue with blinking creature that has X in cost
2013-09-23 20:27:52 +00:00
pankdm
54d1126c58
Small fix in TestSuite
...
"Update" should pass "dt" since the last update, not since the beginning the game.
2013-09-23 19:44:03 +00:00
pankdm
11f541a627
Fixed:
...
Edge of autumn
Mirrorworks
Clone of the card now have the same image as original
Issue with cloning and trigger "nontoken * enters"
Blitzkrig rules
Hermit druid rules
2013-09-23 19:40:12 +00:00
pankdm
8626451977
Fixed uninitialized value
...
Due to this, activated abilities with {X} in cost sometimes were having X=0 when playing
(This appeared only in Debug mode)
2013-09-16 20:18:36 +00:00
pankdm
4aa5dec51a
Fixed some warnings
...
+ added compile flags to mute some warnings that don't have an obvious fix
2013-09-16 17:42:07 +00:00
wagic.the.homebrew@gmail.com
bd25b12fb2
Fix for issue 962 (Hexproof) by Dmitri
2013-09-15 02:57:29 +00:00
omegablast2002@yahoo.com
7917a70b1b
forgot to reset the opponents miracle on beforebegins. i knew i had coded the miracle to be player independent :P
2013-06-19 13:33:24 +00:00
omegablast2002@yahoo.com
2fa3f468b4
added menutext overriding to transforms.
...
castcard-> is now the copied spell x.
2013-06-19 11:46:09 +00:00
omegablast2002@yahoo.com
b61cd2f69a
megapatch contents
...
added
"whenever a creature enters the battlefield you may pay {1}, if you do gain one life"
conditional may pay({cost}) effect
this version is a super type ability, and can only be used in certain combos.
to nest you will need to use it in its subtype pay[[{cost}]] effect
pay keyword can have sideeffects coded as follows
pay[[{1}]] life:1?life:-1
pay one mana and gain 1 life, if you dont then you lose one life. notice no space between the abilities and the question mark.
added castcard()
a method to cast a targeted card, this contains the following subkeywords which can be used in combinations
(normal)
(restricted)
(copied)
(noevent)
castcard(restricted copied noevent) for example will cast a card that is a copy or the spell without sending a cast event only when the spell is castable.
"normal" subkeyword cast the actual spell, not a copy.
extended the use of exiledeath to everyzone, any card going from any zone to graveyard is placed in exile if it has exiledeath.
limited swipe left to open hand only when hand is closed view.
"moveto(" can now be named.
2013-06-18 01:41:34 +00:00
anthonycalosa@gmail.com
95bbe06c7e
added swipe on Story Mode. So if playing a duel on story mode, you can cancel with swipe down.
2013-06-13 04:34:20 +00:00
Xawotihs@gmail.com
26ab65860e
Fixed a gazillion of warnings occuring when compiling Wagic with Clang with Werror.
2013-06-09 21:16:39 +00:00
anthonycalosa@gmail.com
f0de00086b
added Prowl support.
...
example usage:
other={1}{B} name(Prowl)
otherrestriction=prowl
2013-05-20 02:59:18 +00:00
omegablast2002@yahoo.com
a055044281
added miracle ability.
...
i choose to use other cost instead of creating a brand new cost type.
otherrestriction determines if the card is the miracle for the turn.
[card]
name=Devastation Tide
auto=all(*[-land]) moveto(ownerhand)
other={1}{u} name(Miracle)
otherrestriction=miracle
text=Return all nonland permanents to their owners' hands. -- Miracle {1}{U} (You may cast this card for its miracle cost when you draw it if it's the first card you drew this turn.)
mana={3}{U}{U}
type=Sorcery
[/card]
2013-05-19 01:48:51 +00:00
anthonycalosa@gmail.com
4b167c3776
added Abyssal Gatekeeper, Akki Blizzard-Herder, Archmage Ascension, Runeflare Trap
2013-05-18 16:30:14 +00:00
anthonycalosa@gmail.com
cf74c3480e
added drawCounter. Returns the number of cards drawn this turn (excludes pre-game draw).
...
pdrewcount - player draw count
odrewcount - opponent draw count
2013-05-18 15:31:12 +00:00
omegablast2002@yahoo.com
f6f75ca660
psp comp fix, I was not able to test it though as i am not set up to comp psp builds anymore.
2013-05-11 00:48:21 +00:00
omegablast2002@yahoo.com
9f6a728150
i run the set names through translation now when filtering by sets.
...
what this means is that if a player so choose, they can list the sets 3 letter code in the en.txt as follows
BOK=betrayers of kamikawa
it will now list the names either as the 3 letter code if thier is no entry, or as whatever you call it in the lang->en.txt file.
2013-05-09 01:53:01 +00:00
omegablast2002@yahoo.com
a7e9fe6699
spanish translation stuff, thanks atriel
2013-05-06 23:21:29 +00:00
wagic.the.homebrew@gmail.com
38a203aac8
Reverted the "more than 50 elements in the stack" fix for Exquisite Blood + Sanguine Bond, as this created more issues than it fixed. I'll open a ticket for the Exquisite blood bug
2013-05-05 13:49:51 +00:00
wagic.the.homebrew@gmail.com
2349908f66
Refactored the "fast test", "slow test" bits of the test suite to make the intent clear, and prevent the first test slowness from being broken again. I've kept the fast_test value to 6 (it was originally 3) as Zethfox mentioned weird race conditions when it is set to 6.
2013-05-05 11:56:35 +00:00
omegablast2002@yahoo.com
83ef3aa08c
fixed a crash with flip cards. how does the test for this pass?
2013-05-01 00:02:42 +00:00
omegablast2002@yahoo.com
e8ee356892
fix for issue 913.
2013-04-24 13:29:54 +00:00
omegablast2002@yahoo.com
96adbabea8
fixed a crash that could be reproduced demo->classic->best of 3->endless demo
2013-04-21 02:20:22 +00:00
omegablast2002@yahoo.com
9ffe7349e2
added a hint that allows you to override how ai views a cards effects.
...
#HINT:good(icy prison)
ai will act as though the effects of this card are now good, choosing to cast it on it's own creatures.
#HINT:bad(ancestral recall)
ai will now use this card targeting the opponent.
good in cases where you are trying to mill the opponent
the effects in wagic have gotten so complex that ai simply has no idea what some cards should target. this helps in most of the cases.
2013-04-10 02:38:52 +00:00
omegablast2002@yahoo.com
f9410f695a
added excessum to the deck builder credits.
2013-04-08 02:20:00 +00:00
omegablast2002@yahoo.com
49b6b028c5
fixed a bug with alwaysattack hint, if there was an attack readied it would undo it by clicking it the second time.
2013-04-07 17:30:48 +00:00
omegablast2002@yahoo.com
1c61ebddae
added a shuffle to optimizedhand to avoid drawing the same hand over and over when its optimized.
...
adjusted normal difficulty to include 2 lands, 2 spells under 3 mana.
adjusted hard difficulty to always include 2 lands, the rest are randomly drawn. this prevents ai from being mana screwed on opening hand.
2013-04-07 01:07:00 +00:00
omegablast2002@yahoo.com
6727c1af52
added HINT:alwaysattackwith(targetchooser) and HINT:alwaysblockwith(targetchooser)
2013-04-07 00:56:44 +00:00
omegablast2002@yahoo.com
2a7bcb2170
ifdef on simon font to up the res of simon.
...
you will need to rename your old simon font to pspsimon
only english is effected.
2013-04-07 00:32:11 +00:00
omegablast2002@yahoo.com
80e36c2b92
readjusted the carddisplays for libarary and graveyard for both players to move them off the top of the avatars. you can now click thier respective button to close them when in a targetchooser action.
...
also readded a piece of code i commented out, it does nothing but the compiler saids it expected something there.
2013-03-30 17:09:50 +00:00
omegablast2002@yahoo.com
734b142879
the fix originally only targeted too many triggers unresolved on the stack, moving the other 2 out of the check as it actually causes new bugs to include them in the skip.
2013-03-28 00:05:39 +00:00
omegablast2002@yahoo.com
802c970ec3
#ifdef psp for the increase res font f3 which is by far the worst looking font on higher res devices.
2013-03-27 23:29:18 +00:00
omegablast2002@yahoo.com
b38d6c6bc5
applying the patch for torny mode not awarding credits at end of torny.
2013-03-27 22:58:51 +00:00
Xawotihs@gmail.com
701ca64e8a
Display IP address of game host before connection is established and handles disconnection of peer.
2013-03-26 22:32:29 +00:00
omegablast2002@yahoo.com
810c3967d6
after much testing and corrections, our user Holgern from the forums has completely recreated and reworked the gauntlet mode originally coded for ai vs ai into a completely new way to play wagic, you can choose the number of matchs, various modes, and other wonderful additions. Don't take my word for it, try all the fun new stuff out yourself!
...
THANK YOU Holgern!
2013-03-26 02:10:45 +00:00
omegablast2002@yahoo.com
c994886ca8
polished the actionstack rendering a little. draw only as much black square as we need to render so we dont make a massive black square for nothing.
2013-03-23 20:53:33 +00:00
omegablast2002@yahoo.com
b6a4197d88
fix for a bug i introduced.
2013-03-23 06:21:01 +00:00
omegablast2002@yahoo.com
e2f4dd7095
if its a land you should consider playing it.
2013-03-22 01:35:45 +00:00
omegablast2002@yahoo.com
0578ebde80
minor fixes for combo system.
2013-03-22 00:53:42 +00:00
omegablast2002@yahoo.com
9b44d627a3
changed ai eff return on token creation. over 50 tokens on my battlefield return 0.
...
changed an inefficient check on phaseskip.
2013-03-21 01:28:56 +00:00
omegablast2002@yahoo.com
b436550150
ai simple combo system is finally fully working.
...
added ai hint dontblockwith(targetchooser)
2013-03-16 21:35:10 +00:00
omegablast2002@yahoo.com
90a0f5c86f
as per mtg rules, the effects of unpaid upkeep cost should only happen if the from id was upkeep. ie:skipped phases.
2013-03-15 21:49:35 +00:00
omegablast2002@yahoo.com
3cb0a6c091
psp compilation fix
2013-03-15 21:42:24 +00:00
omegablast2002@yahoo.com
9c0ce5f7bf
more changes to fix the combo system.
2013-03-15 02:08:03 +00:00
omegablast2002@yahoo.com
31ee6d2b90
trying to figure out why ai is cast cards that belong to a combo outside of a combo even though it is told to skip these cards.
2013-03-15 01:44:31 +00:00