Page 7 of 34

Re: PSCD 0.8.4 - beta demo!

Posted: Fri Dec 04, 2015 7:28 am
by jack1974
Yes will use another verb :)

Re: PSCD 0.8.4 - beta demo!

Posted: Fri Dec 04, 2015 10:30 am
by Franka
Good times.

Image

Re: PSCD 0.8.4 - beta demo!

Posted: Fri Dec 04, 2015 2:13 pm
by jack1974
Haha depends who the turn is! (joking, I know it's your turn).

Re: PSCD 0.8.4 - beta demo!

Posted: Fri Dec 04, 2015 5:44 pm
by Franka
That's why I left the flash on. :P

Re: PSCD 0.8.4 - beta demo!

Posted: Sat Dec 05, 2015 10:22 pm
by jack1974
I am coding mission 20 now. It's a rather tough fight against Queen Shiler in person, so I wanted to add some really nasty spell cards. The only issue I'm having is that I made a nice card:
Healing Chant
"Restores 5 hit points for each Marada alive on the battlefield."

but the AI is dumb so uses it even if the HP is at full :lol:
So I first need to find out how to tell the AI to use it only when is seriously injured!!

Re: PSCD 0.8.4 - beta demo!

Posted: Sun Dec 06, 2015 1:37 am
by Troyen
Can you add card restrictions? E.g. I believe Hearthstone prevents you from healing something at full health.

Re: PSCD 0.8.4 - beta demo!

Posted: Sun Dec 06, 2015 5:29 am
by SparkleBits
@troyen
He might be able to but it also wouldn't be good if the AI used the card when only 5 HP is missing or something, it seems like something you might want to only whip out at half health or below.

Re: PSCD 0.8.4 - beta demo!

Posted: Sun Dec 06, 2015 8:29 am
by Franka
You'll also want some units in play before the AI uses it, and it should play its units of the turn before the healing card. I'll be interested to see if you can get it to work.

Potentially it can give 35 life, that seems a bit over the top. Considering the AI can already toss out 5 small Matrick units in one turn on hard, if it can do the same with the Marada faction, this is going to be a bit rough.

Re: PSCD 0.8.4 - beta demo!

Posted: Sun Dec 06, 2015 8:37 am
by jack1974
My idea was to have it trigger only when the AI health is half or something (you both start at 50HP this battle) and if there were at least 2-3 units.
It might seem overpowered? well, like in Hearthstone, is your choice if you want to focus on hammering the opponent ignoring the played units, or try to kill the units quickly because they could be buffed and counterattack/destroy you :wink:

Currently though all those AI tweaks is quite problematic because it's not done in python but through a new system that I'm not yet familiar with :oops:
I was hoping Anima could write a manual like he did for the card design :lol: (this framework is definitely much more complex and powerful than anything we've done before, including the RPG ones)

Re: PSCD 0.8.4 - beta demo!

Posted: Sun Dec 06, 2015 12:31 pm
by Franka
jack1974 wrote:It might seem overpowered? well, like in Hearthstone, is your choice if you want to focus on hammering the opponent ignoring the played units, or try to kill the units quickly because they could be buffed and counterattack/destroy you :wink:
My only real concern is if the AI plays 4-5 units the same turn it plays the healing. There's not much we can do to get rid of those units after all. :)