Commit Graph

3602 Commits

Author SHA1 Message Date
omegablast2002@yahoo.com
46dfe03099 fix psp build, guiphasebar int order error. 2011-08-03 16:27:28 +00:00
omegablast2002@yahoo.com
5cd779094d changed it to 1.4f 2011-08-03 14:56:12 +00:00
guzhenjie1@gmail.com
af18fb0172 Corrected mana cost of Personal Sanctuary. 2011-08-03 13:01:03 +00:00
omegablast2002@yahoo.com
07662b08f6 fixed a warning tried as error in MTGGamePhase... 2011-08-03 12:25:09 +00:00
Xawotihs
56c68e799c Fixed compilation problem on VC2010 2011-08-02 21:48:05 +00:00
Xawotihs
097c40149d Phase bar is now clickable/touchable and animated. 2011-08-01 21:26:12 +00:00
guzhenjie1@gmail.com
32a5b7bb92 Corrected rarity of Thran Golem and Throne of Empires. 2011-08-01 15:21:53 +00:00
wagic.the.homebrew
78efba08b1 - fix for counters slowness on psp 2011-07-30 14:29:12 +00:00
wagic.the.homebrew
fe4b0a11e3 - JP Translation update by Shilf
- put tutorials back in Rules/classic, to help debugging the bug with controls
2011-07-30 03:38:39 +00:00
wagic.the.homebrew
794be140ce - graphical representation of counters. see graphics/counters/quest.jpg for an example
- rewrote some code dealing with text formatting for a card when rendering in text mode. I could swear my code has been reverted. If somebody has good reason to believe we should re-process the string formatting on every frame, please let me now. I believe my change can help rendering speed of text mode a lot.
- counters change to vector instead of array
2011-07-29 17:43:45 +00:00
wagic.the.homebrew
9631171ad1 Cleanup of some Trigger code 2011-07-28 13:51:42 +00:00
omegablast2002@yahoo.com
2e5222bf5d fixed an issue with @discarded...the trigger would only fire once becuase i was not passing the constructors variable for once to the object.... 2011-07-28 11:30:37 +00:00
wagic.the.homebrew
ef5e011e23 - Removed "isClone" flag. This flag was error prone. The "core" classes now have decent copy constructors, and ideally long term we should create copy constructors for the abilities that have additional pointers in them.
-- The test suite passes but this is a big change. I might have introduced some memory leaks or bugs. I might have fixed some bugs, too
2011-07-27 14:31:27 +00:00
omegablast2002@yahoo.com
a26125ee4c readded arbor elfs ability. 2011-07-26 17:23:01 +00:00
omegablast2002@yahoo.com
8bb53ff12f added incrementing of "damageCount" the variable that tracks the damage dealt to a player, to "infect" damaging...this is a rules correction, a creature with "infect" still "deals damage"...it just does it differently.
this fixes an issue with infect creatures not triggering "bloodthirst" ...all other cases this was working correctly, bloodthirst however checks the damageCount.....
2011-07-26 16:56:01 +00:00
omegablast2002@yahoo.com
c1ac119af5 fixed dark depths with while tag. 2011-07-26 16:39:50 +00:00
omegablast2002@yahoo.com
11473e0fb5 added "while" tag to this's i added it to lords a while ago to fix a similar issue where the lords were taking on the "oneshot" variable of their abilities in cases where you really didn't want them too...
its basically an over ride....
2011-07-26 16:39:12 +00:00
omegablast2002@yahoo.com
1f049bdd0c caribou range fixed...typo in the cost...please test cards before adding them, it is very obvious that cards are being added without so much as testing their abilities when i have done 6 typo fixes since release...typos that deemed the card completely un-usable...such as caribou range which would sacrifice the enchantment if you wanted to gain a life. 2011-07-26 15:29:02 +00:00
omegablast2002@yahoo.com
8c99022deb corrected fresh meat, tho it still has a problem...currently we don't keep a count of token creatures that went to the grave...i might look into it later on, tho very very very few cards actually care about this....so if it requires too much code impact, then it will remain simply counting the cards which exist in the grave. 2011-07-26 15:22:42 +00:00
omegablast2002@yahoo.com
c52b8b6983 Reveillark fix...since apparently everyone is reporting this....
if you are going to use the trigger + ability from trigger effect...make sure you create the trigger before you remove the card from play...otherwise the trigger never gets a chance to see it's source leaving play.
2011-07-26 15:14:37 +00:00
omegablast2002@yahoo.com
72d91769d7 safe-ing up some of the getEff checks...i think the rare "trample" crash was actually caused by a check against a "player" as getnextopponent().... 2011-07-23 11:42:59 +00:00
omegablast2002@yahoo.com
42d2ff8661 removed a typo in "dark depths" 2011-07-23 11:14:45 +00:00
omegablast2002@yahoo.com
691914247f updated the kicker workaround into real support...kicker workaround for "if casted" should not be needed any longer...
fixed binding grasp text.
2011-07-23 10:37:27 +00:00
omegablast2002@yahoo.com
444d13b457 added an "ifnot|if then" ability, with the option to turn on kicker payment menu choice, it created issue with the cards which were using the "kicker" workaround to show that a card was cast...
the ability checks against any of the current cast restriction checks and is written in the following syntax
example phaige the untouchable is 
auto=ifnot casted(this) then wingame opponent
if|ifnot condiation then ability
this can also be used in && abilities such as this card
pulse of the grid
auto=draw:2 && target(*|myhand) reject && if type(*|opponenthand)~morethan~type(*|myhand) then moveto(myhand) all(this)

this adds a few cards in its current state, though the aim for this ability was removing the use of "kicker" workaround for cards like the divinity creatures.
i plan to extend this to support such effects as "if spentmana({b}{u}) then effect....and other conditional checks currently not possible even with workarounds.

I'm committing these now since im working on abilities for kiaos mod and don't want to have a 20 page changelog.

also added missing text to binding grasp, it was thought that it was bugged becuase it simply "ended" its effect....however this is a confusion since the effect was ending due to upcost not being paid, however the card text did not reflect that it had a upcost....
2011-07-23 10:36:03 +00:00
omegablast2002@yahoo.com
bd1c31b6f9 moved the parsing of cast restriction into abilityfactory and out of mtgability...this is so new abilities can take adventage of these checks through the use of AbilityFactory af. 2011-07-23 09:03:33 +00:00
guzhenjie1@gmail.com
48fe3251ce Corrected a typo of Goblin Tunneler. 2011-07-22 16:28:29 +00:00
guzhenjie1@gmail.com
41474ae6f7 Corrected a typo of Maelstrom Djinn.
Corrected three typo and added two missed cards in M12 card.dat.
2011-07-22 14:38:16 +00:00
Xawotihs
49944b629d Commit the 0.16.0 version without tutorials activated 2011-07-20 20:28:44 +00:00
omegablast2002@yahoo.com
e080b59db9 fixed the bringers of dawn...fixed avatar of fury... 2011-07-20 18:41:37 +00:00
omegablast2002@yahoo.com
e8b8079ef6 fixed a bug where you could equip opponents creatures with your equipment, it is quite possible that we have *always* been able too but no one has actually tried. anyways "myBattlefield" does not compare to "mybattlefield"...
i seriously think we devs should consider making all ability coding required lowercase. not card names and text, but coding such as targetchoosers "thisForEach(creature[Black;White]|myBattlefield) moveto(myGraveYard) ...<---this is not uniform...and leads to people using such coding in the source ....i think i suggested this once and was instantly shot down...however, this is the 2nd instance where a bug has arose from the comparing of capitalized vs lower case..becuase we all assume that every line is going to be dropped to lower case as the game reads them.....
2011-07-20 17:17:52 +00:00
Xawotihs
ace236e6a3 Improved maemo upgrade scripts and added 0.16.0 maemo release description 2011-07-19 21:32:56 +00:00
omegablast2002@yahoo.com
262c31b708 fixed fresh meat, and umbral mantle 2011-07-18 13:14:52 +00:00
Xawotihs
188a88a621 Readded a reference to zlib needed on unix. 2011-07-17 20:51:59 +00:00
Xawotihs
9dccc885d6 Updated the Qt project to work on Desktop/Maemo/Meego/Symbian. Removed all dependencies except Qt and OpenGl. 2011-07-17 18:18:17 +00:00
solo81@web.de
d81afa93c5 Corrected Giant Shark. 2011-07-15 13:24:40 +00:00
Xawotihs
c2879b0b6e Fixed a selection problem sometimes hapenning on the hand zone in touch/mouse mode and removed dead code. 2011-07-14 21:21:24 +00:00
guzhenjie1@gmail.com
9f80620f0a Corrected Sky Swallower. 2011-07-14 14:12:11 +00:00
wagic.the.homebrew
8c79e0644c Fix memory leak in ATransforms ability
- Blame is on me for the bad design behind the "isClone" flag, I need to get rid of that flag in the long term.
2011-07-14 13:49:46 +00:00
Xawotihs
bf416b0d36 Fixed Qt Creator project for Qt version on Windows. 2011-07-13 20:07:13 +00:00
omegablast2002@yahoo.com
a8837e95c6 fixed a heap corruption caused in atransformer was a mistake in the code.
also, if ai is adding counters and we're greater then or equal to the max amount that counter ability allows, eff = o.
2011-07-13 18:39:51 +00:00
guzhenjie1@gmail.com
69e55dfcbf Corrected Decree of Justice. 2011-07-13 13:43:47 +00:00
wagic.the.homebrew
d834d20c24 Fixed an incorrect card line the game was complaining about 2011-07-13 13:16:22 +00:00
wagic.the.homebrew
a44cd87ca3 Adding Kaio's latest wallpaper 2011-07-13 13:12:54 +00:00
wagic.the.homebrew
fe98b3ca68 Removing the feature that loads the "big" card instead of the thumbnail when the thumbnail does not exist. Too many people using incorrect HQ packages are complaining about performance issues, so this will make the problem go away, and force people creating those packages to make them correctly 2011-07-13 12:58:21 +00:00
omegablast2002@yahoo.com
7775a1e39f bringer of the red dawn:changed test to include a clean up step 2011-07-12 17:10:23 +00:00
omegablast2002@yahoo.com
dab1d92a0d edited the original test to allow "clean up" phase to do its thing. 2011-07-12 16:51:18 +00:00
guzhenjie1@gmail.com
9ad4f8b8cd Corrected Well of Discovery and Well of Life. 2011-07-12 15:30:26 +00:00
wagic.the.homebrew
cbebe0d4e8 -Fix for issue 710 (can't tap mana in story mode). Update your rules and campaigns folders!
-- Zeth, please verify that I didn't break your mods if you have time
-- The test suite does NOT pass in this revision (see issue 711), but I verified that the problem does not come from my change, so we need to dig
-- Campaigns creators will have to update their campaigns to make them compatible with Wagic 0.16. It consists in adding "include mtg.txt" at the top of each one of their rules.txt file.
2011-07-12 15:02:41 +00:00
omegablast2002@yahoo.com
825760fb6c corrected blood lust code 2011-07-12 10:57:13 +00:00
wagic.the.homebrew
9827e3f915 - Attempt at "fixing" issue 705: loading card frames (used for text mode) in 16bits instead of 32 2011-07-11 15:09:39 +00:00