It is currently 18 Apr 2024, 09:52
   
Text Size

Hour of Devastation spoiler season

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Hour of Devastation spoiler season

Postby austinio7116 » 27 Jun 2017, 09:49

While investigating I noticed that Temporary Insanity also has the same powerLTX scripting - and in that case there is a mismatch between the oracle text and the target prompt text (target text says "less than or equal to" whereas the oracle text is correct just saying "less than"). Perhaps this card was used as an example so the error was propagated from there.
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Hour of Devastation spoiler season

Postby austinio7116 » 27 Jun 2017, 09:50

Marek14 wrote:
austinio7116 wrote:For solemnity we may want to improve the AI so that it realizes it shouldn't play e.g. Harnessed Lightning when a Solemnity is out.
Not necessarily, though, it might still have enough energy banked to kill something.
True - it is more complex than that.
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Hour of Devastation spoiler season

Postby austinio7116 » 27 Jun 2017, 13:14

austinio7116 wrote:Something is not right with Earthshaker Khenra - the ETB trigger did not trigger when I had an opposing creature with equal power to Earthshaker Khenra. I'll test further later today.

Update - further testing suggests it is only when power is equal - perhaps the script phrase "Creature.powerLTX" means less than, rather than less than or equal to as it should be.
Thanks for the fix Agetian
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Hour of Devastation spoiler season

Postby austinio7116 » 27 Jun 2017, 16:09

Resolute Survivors seemed to trigger 3 times when Angel of Condemnation was exerted.
Screenshot_20170627-170442.png
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Hour of Devastation spoiler season

Postby Agetian » 27 Jun 2017, 16:48

No prob, I think I fixed Resolute Survivors too. :)
EDIT: Hmm, or not... :/ I actually can't make it trigger that way with either implementation, old or new...

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Hour of Devastation spoiler season

Postby austinio7116 » 27 Jun 2017, 18:39

Perhaps this log helps show what happened:
Screenshot_20170627-170451.png
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Hour of Devastation spoiler season

Postby austinio7116 » 27 Jun 2017, 19:08

Agetian wrote:No prob, I think I fixed Resolute Survivors too. :)
EDIT: Hmm, or not... :/ I actually can't make it trigger that way with either implementation, old or new...

- Agetian
I can only reproduce it on Android - it seems to work fine on desktop ??
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Hour of Devastation spoiler season

Postby Agetian » 27 Jun 2017, 19:24

Hmm that's odd, I'll see if I can reproduce it on Android :/ It's going to be one weird bug if it's platform-specific...

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Hour of Devastation spoiler season

Postby austinio7116 » 27 Jun 2017, 19:32

Could it be a different AI profile between the two rather than the platform ? I'll try to rule that out later.
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Hour of Devastation spoiler season

Postby austinio7116 » 27 Jun 2017, 19:45

Doesn't seem to be that. The AI seems to get more triggers every time, I have seen 4, then 5 now
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Hour of Devastation spoiler season

Postby austinio7116 » 27 Jun 2017, 20:50

I also noticed that the Resolute Survivors "whenever you exert" trigger appears to active even if the card is in the graveyard.
Last edited by austinio7116 on 28 Jun 2017, 06:14, edited 1 time in total.
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Hour of Devastation spoiler season

Postby Agetian » 28 Jun 2017, 02:52

austinio7116 wrote:While testing this Angel of Condemnation / Resolute Survivors I have noticed that the first Angel of Condemnation ability appears to exile the target card permamently - it does not bounce back from exile - perhaps there is a mistake in the script. Sorry I don't know the scripting syntax well enough to understand if there is a mistake yet.

I also noticed that the Resolute Survivors "whenever you exert" trigger appears to active even if the card is in the graveyard.
Hmm, tried both Angel of Condemnation abilities, they seem to return the creature to the battlefield just fine for me (once again, tested on PC for now, will get to testing on an actual Android device later today). Fixed the Resolute Survivors trigger such that it only triggers when the card is on the battlefield. :)

Oh, here's an idea: can you try dumping the battlefield state in a situation where the AI would get multiple triggers for exert? I can try loading that on my end and seeing if I can repro and fix it. :)

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Hour of Devastation spoiler season

Postby austinio7116 » 28 Jun 2017, 05:24

Try this.

Edit - no need, see below
Attachments
state.txt
(1.81 KiB) Downloaded 167 times
Last edited by austinio7116 on 28 Jun 2017, 06:33, edited 2 times in total.
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Hour of Devastation spoiler season

Postby austinio7116 » 28 Jun 2017, 05:30

Let me see if resolute survivors fix deals with the issue.

Perhaps it was triggering in all zones - including the deck and the difference was on android I was using a deck with the survivors in it, but on PC I was adding it just to the battlefield with Dev mode.

That'll be it.

I'll just confirm.

Thanks
Last edited by austinio7116 on 28 Jun 2017, 06:34, edited 1 time in total.
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Hour of Devastation spoiler season

Postby austinio7116 » 28 Jun 2017, 06:04

Yes that was it, so it's fixed now. And the Angel issue you are right, it's fine, I just misread the rules. Awesome card that angel!
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 62 guests


Who is online

In total there are 62 users online :: 0 registered, 0 hidden and 62 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 62 guests

Login Form