Anthony Calosa
f960cdea9b
A little border adjustment
...
no more very thin borders on awards and in game...
2016-07-24 20:25:20 +08:00
Anthony Calosa
b70b2a65bc
Merge branch 'master' of https://github.com/kevlahnota/wagic
2016-07-24 20:20:31 +08:00
Anthony Calosa
4a73e90da8
remove test
...
temporarily
2016-07-24 20:19:58 +08:00
zethfoxster
f254ca57c6
Merge pull request #31 from WagicProject/master
...
getting master
2016-07-24 07:32:06 -04:00
Anthony Calosa
5e35dac1da
Update Living_Death.txt
2016-07-24 17:51:26 +08:00
Anthony Calosa
44cbd408ce
Update _tests.txt
2016-07-24 14:25:08 +08:00
Anthony Calosa
6fbe9de1a8
Create Living_Death.txt
2016-07-24 14:24:11 +08:00
Anthony Calosa
3282848631
Normalized Big Quad Border
...
Hopefully all Big Quads have identical border sizes: In Game, Deck
Editor Carousel and Trophies .
2016-07-24 13:12:40 +08:00
Anthony Calosa
f142363bfa
smaller scaled big quad and forced border
...
Ingame big quads are scaled smaller
2016-07-24 12:40:41 +08:00
Anthony Calosa
c0e9800179
added scalpelexis, sphinx's tutelage, grindstone, primal surge
2016-07-24 12:31:16 +08:00
zethfoxster
02992954c2
Merge pull request #30 from WagicProject/master
...
getting master
2016-07-23 09:19:12 -04:00
Anthony Calosa
fe577d9dd0
fix flying and multiple moat in play
...
putrid imp that gains temporary flying cant attack if the opponent has
multiple moat in play, this should fix it.
2016-07-23 09:45:12 +08:00
zethfoxster
bc2d8dab31
corrected my logic for emerge, originally I thought the cost was the same as the original cost, while coding i noticed it can have a completely different cost than the real manacost.
...
moved the extra cost check for "offerings" to a location before canafford in alternative reacttoclick, the reason for this is that the 2 offering cost we have handle the can afford calls, and even cast the card in the dopay. not placing this before it causes the card to not react to click if there is a different manacost attached to the emerge/kill
test codes below.
mana={g}{g}{g}
other={emerge}(r}{4} name(emerge)
mana={6}
other={k(giant|mybattlefield)}
fixed memleaks in killoffering code.
note to devs, remember to make diff costs a variable that you can safe_delete, it creates a manacost object that will become a leak otherwise.
do not use it directly as a function.
source->controller()->getManaPool()->canAfford(source->getManaCost()->Diff(target->getManaCost()))
this will leave a memleak every single time ai checks this cost, or a player accesses the cost even if you cant pay it.
2016-07-22 19:10:06 -04:00
zethfoxster
2d76c8ff0d
Merge pull request #29 from WagicProject/master
...
getting master
2016-07-22 18:05:16 -04:00
zethfoxster
0a3d9f9876
flipped the logic of the 2 deck editor menu buttons left and right, it was a nightmare making an ai deck with the tiny buttons to navigate. having my finger slip slightly off the button made it travel the opposite direction from the button, which was confusing and felt very buggy.
2016-07-22 17:46:52 -04:00
Anthony Calosa
6832049ccc
reserve size
2016-07-22 16:00:29 +08:00
Anthony Calosa
6d72753216
OK quad and COMBATTOUGHNESS for attackers/blockers
...
support doubled res for OK quad, AI should consider toughness as power
if it has COMBATTOUGHNESS ability
2016-07-22 15:38:38 +08:00
zethfoxster
155a7a6582
Merge pull request #28 from WagicProject/master
...
getting master
2016-07-21 22:29:58 -04:00
zethfoxster
6aafe9dee0
added lifegain and oplifegain variable used the same as lifelost, but stores the value of life gained this turn.
2016-07-21 21:11:15 -04:00
zethfoxster
680c9d64cb
Merge pull request #778 from zethfoxster/master
...
getting master
2016-07-21 20:47:28 -04:00
zethfoxster
ca395492d5
added meld(cardname)
...
added meldfrom(cardname|cardname) helper class.
auto={0}:target(arbor colossus|mybattlefield) meld(Arc Runner)
auto=meldfrom(arbor elf|Arbor Colossus)
2016-07-21 20:46:53 -04:00
Anthony Calosa
0c0031455b
Add files via upload
2016-07-21 15:49:32 -05:00
Anthony Calosa
a8a9893ce4
Merge remote-tracking branch 'refs/remotes/WagicProject/master'
2016-07-22 04:22:34 +08:00
Anthony Calosa
5143743661
unlocked images
2016-07-21 22:58:27 +08:00
Anthony Calosa
88a42b25cc
Add files via upload
2016-07-21 02:39:51 -05:00
Anthony Calosa
3bc7ed6f8c
Merge branch 'master' of https://github.com/kevlahnota/wagic
2016-07-21 15:36:22 +08:00
Anthony Calosa
f996510969
psp fix 3
2016-07-21 15:36:16 +08:00
Anthony Calosa
58fd119636
Add files via upload
2016-07-21 02:36:16 -05:00
zethfoxster
9f8ead5e4e
added other={cost}
...
other={emerge}
2016-07-20 20:06:18 -04:00
zethfoxster
9a60a8838f
Merge pull request #27 from WagicProject/master
...
getting master
2016-07-20 19:00:08 -04:00
zethfoxster
bb9e02da6b
fixed a debug assert i introduced.
2016-07-20 18:58:29 -04:00
Anthony Calosa
c89961ebf0
Add files via upload
2016-07-20 17:35:03 -05:00
Anthony Calosa
0f81e82206
psp fix 2
2016-07-21 06:34:14 +08:00
xawotihs
3d7362aa9d
Merge branch 'master' of https://github.com/WagicProject/wagic
2016-07-20 22:16:23 +01:00
Anthony Calosa
2657af1aef
semicolon
2016-07-21 00:38:01 +08:00
Anthony Calosa
05017b0236
Merge remote-tracking branch 'refs/remotes/WagicProject/master'
2016-07-20 19:17:36 +08:00
Anthony Calosa
efd9cce4ef
try to fix psp platform
2016-07-20 19:16:48 +08:00
Anthony Calosa
144c78fa4b
Add files via upload
2016-07-20 19:12:06 +08:00
zethfoxster
7c163592b5
removed the changes I made to selectAbility and created a new function which handles sending an ability and card to have AI do the ability of that card.
...
found a selectability call after blockers that was the cause of a race condition debug assert, but most importantly, the reason AI would sometimes block a creature, then immediately decide not to block. causing it to sometimes take preventable damage, and sometime cause AI to stack a ton of blockers on a single card even tho it did not have a chance to actually kill the creature.
this is still a thing, but wont happen so grossly incorrect now.
2016-07-19 20:16:22 -04:00
xawotihs
a6211e371e
Revert usage of ant release and remove the DEBUG define in the NDK makefile to remove the testsuite
2016-07-19 22:24:26 +01:00
xawotihs
b3d580cada
Changed Android app manifest to be not debuggable.
2016-07-19 21:03:24 +01:00
zethfoxster
6f649bd680
Merge pull request #25 from WagicProject/master
...
getting master
2016-07-18 22:30:30 -04:00
zethfoxster
6316577ec7
taught AI basic attack and block cost.
...
added functionality to send specific abilities to AI "selectAbility" to have it find mana, targets, and use a selected ability at our command.
2016-07-18 22:03:16 -04:00
Anthony Calosa
61cd74fcd0
revert psp cache
2016-07-19 09:52:18 +08:00
zethfoxster
37fd0ebbd2
readded the "fakebar" size adjustments based on string lengths.
...
in debug there is a strange line drawn sometimes on screen, like the buttons on main screen, this is not present in release builds, I'm guessing its some kind of debug related thing with JGE and quads.
2016-07-18 19:02:03 -04:00
zethfoxster
520be9dbe8
Merge pull request #24 from WagicProject/master
...
getting master
2016-07-18 17:23:54 -04:00
Anthony Calosa
b6eea6fe2e
Some Changes to Deck Editor and Others
...
Some Deck Editor changes
2016-07-19 04:33:23 +08:00
Anthony Calosa
dc84c50ea8
add deck editor graphics
2016-07-19 03:32:22 +08:00
Anthony Calosa
bd36590084
offquad for offset bg
2016-07-18 13:52:28 +08:00
Anthony Calosa
4e64ff4ff9
center menu title
2016-07-18 13:51:49 +08:00