Amonkhet Spoiler Season
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Amonkhet Spoiler Season
by austinio7116 » 21 Apr 2017, 16:49
I believe the implementation of the Decimator Beetle card has a mistake:
SVar:DBPutCounter:DB$ PutCounter | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target creature defending player controls | CounterType$ M1M1 | CounterNum$ 1 | TargetingPlayer$ DefendingPlayer
When I cast the card I am unable to choose which opposing creature to target - I suspect it is allowing the opposition player (the AI) to select the target (unless it is randomly being selected). Perhaps it is the TargetingPlayer parameter that is incorrect - but I am very new to the card scripting language.
Edit - I have tested it with the TargetingPlayer parameter removed completely ( so it defaults to the active player) and I think that works assuming that I have understood the card correctly. So the updated line would be:
SVar:DBPutCounter:DB$ PutCounter | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target creature defending player controls | CounterType$ M1M1 | CounterNum$ 1
SVar:DBPutCounter:DB$ PutCounter | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target creature defending player controls | CounterType$ M1M1 | CounterNum$ 1 | TargetingPlayer$ DefendingPlayer
When I cast the card I am unable to choose which opposing creature to target - I suspect it is allowing the opposition player (the AI) to select the target (unless it is randomly being selected). Perhaps it is the TargetingPlayer parameter that is incorrect - but I am very new to the card scripting language.
Edit - I have tested it with the TargetingPlayer parameter removed completely ( so it defaults to the active player) and I think that works assuming that I have understood the card correctly. So the updated line would be:
SVar:DBPutCounter:DB$ PutCounter | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target creature defending player controls | CounterType$ M1M1 | CounterNum$ 1
-
austinio7116 - Posts: 451
- Joined: 10 Mar 2017, 11:59
- Has thanked: 47 times
- Been thanked: 169 times
Re: Amonkhet Spoiler Season
by austinio7116 » 22 Apr 2017, 11:44
There is a typo in the Manticore of the Gauntlet script shown in bold below, this is causing it not to perform the sub-ability so no 3-damage to opponent:
SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ M1M1 | IsCurse$ True | SubAbility$ DBDealDAmage | CounterNum$ 1
SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumDmg$ 3
SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ M1M1 | IsCurse$ True | SubAbility$ DBDealDAmage | CounterNum$ 1
SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumDmg$ 3
-
austinio7116 - Posts: 451
- Joined: 10 Mar 2017, 11:59
- Has thanked: 47 times
- Been thanked: 169 times
Re: Amonkhet Spoiler Season
by stormcat » 25 Apr 2017, 17:41
:r33841
It seems that life gain effect of Trespasser's Curse doesn't working.
It seems that life gain effect of Trespasser's Curse doesn't working.
Re: Amonkhet Spoiler Season
by austinio7116 » 29 Apr 2017, 11:18
I think there is an issue with Glorious End. When I played it and failed to win on my turn, the opponent was the one that was targeted by the end of turn lose the game trigger.
Match result: Mark: 2 Sue: 1
Game outcome: Sue has lost due to effect of spell 'Glorious End'
Game outcome: Mark has won because all opponents have lost
Resolve stack: Lose the game. [Phase: Mark]
Add to stack: Sue triggered Glorious End (3).
Phase: Mark's End of Turn
Resolve stack: Fling (15) - Deals 5 damage to Sue.
Damage: Fling (15) deals 5 non-combat damage to Sue.
Add to stack: Mark cast Fling (15) targeting Sue.
Mana: Mountain (31) - : Add to your mana pool.
Mana: Mountain (30) - : Add to your mana pool.
Phase: Mark's Main, postcombat
Phase: Mark's End Combat
Damage: Samut, Voice of Dissent (1) deals 3 combat damage to Sue.
Damage: Hooded Brawler (12) deals 5 combat damage to Sue.
Phase: Mark's Combat Damage
Damage: Samut, Voice of Dissent (1) deals 3 combat damage to Sue.
Phase: Mark's First Strike Damage
Combat: Sue didn't block Hooded Brawler (12).
Sue didn't block Samut, Voice of Dissent (1).
Phase: Mark's Declare Blockers
Resolve stack: When you exert Hooded Brawler (12), it gets +2/+2 until end of turn. [Exerted: Hooded Brawler (12)]
Add to stack: Mark triggered Hooded Brawler (12).
Combat: Mark assigned Samut, Voice of Dissent (1) and Hooded Brawler (12) to attack Sue.
Phase: Mark's Declare Attackers
Phase: Mark's Begin Combat
Land: Mark played Forest (36)
Phase: Mark's Main, precombat
Phase: Mark's Draw
Phase: Mark's Upkeep
Phase: Mark's Untap
Turn: Turn 16 (Mark)
Resolve stack: Glorious End (3) - End the turn. Lose the game.
Add to stack: Mark cast Glorious End (3).
Mana: Plains (28) - : Add to your mana pool.
Mana: Mountain (31) - : Add to your mana pool.
Mana: Mountain (30) - : Add to your mana pool.
Match result: Mark: 2 Sue: 1
Game outcome: Sue has lost due to effect of spell 'Glorious End'
Game outcome: Mark has won because all opponents have lost
Resolve stack: Lose the game. [Phase: Mark]
Add to stack: Sue triggered Glorious End (3).
Phase: Mark's End of Turn
Resolve stack: Fling (15) - Deals 5 damage to Sue.
Damage: Fling (15) deals 5 non-combat damage to Sue.
Add to stack: Mark cast Fling (15) targeting Sue.
Mana: Mountain (31) - : Add to your mana pool.
Mana: Mountain (30) - : Add to your mana pool.
Phase: Mark's Main, postcombat
Phase: Mark's End Combat
Damage: Samut, Voice of Dissent (1) deals 3 combat damage to Sue.
Damage: Hooded Brawler (12) deals 5 combat damage to Sue.
Phase: Mark's Combat Damage
Damage: Samut, Voice of Dissent (1) deals 3 combat damage to Sue.
Phase: Mark's First Strike Damage
Combat: Sue didn't block Hooded Brawler (12).
Sue didn't block Samut, Voice of Dissent (1).
Phase: Mark's Declare Blockers
Resolve stack: When you exert Hooded Brawler (12), it gets +2/+2 until end of turn. [Exerted: Hooded Brawler (12)]
Add to stack: Mark triggered Hooded Brawler (12).
Combat: Mark assigned Samut, Voice of Dissent (1) and Hooded Brawler (12) to attack Sue.
Phase: Mark's Declare Attackers
Phase: Mark's Begin Combat
Land: Mark played Forest (36)
Phase: Mark's Main, precombat
Phase: Mark's Draw
Phase: Mark's Upkeep
Phase: Mark's Untap
Turn: Turn 16 (Mark)
Resolve stack: Glorious End (3) - End the turn. Lose the game.
Add to stack: Mark cast Glorious End (3).
Mana: Plains (28) - : Add to your mana pool.
Mana: Mountain (31) - : Add to your mana pool.
Mana: Mountain (30) - : Add to your mana pool.
-
austinio7116 - Posts: 451
- Joined: 10 Mar 2017, 11:59
- Has thanked: 47 times
- Been thanked: 169 times
Re: Amonkhet Spoiler Season
by friarsol » 29 Apr 2017, 13:27
Sounds like an issue with the delayed trigger not having the right controller. That's odd.austinio7116 wrote:I think there is an issue with Glorious End. When I played it and failed to win on my turn, the opponent was the one that was targeted by the end of turn lose the game trigger.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Amonkhet Spoiler Season
by Agetian » 29 Apr 2017, 13:45
Yeah, for whatever reason getActivatingPlayer() is returning the wrong player, not sure what's causing it. Using "SourceController" instead of "You" in the LosesGame DB seems to fix the issue, but is that viable and does it change anything about card interaction? :/friarsol wrote:Sounds like an issue with the delayed trigger not having the right controller. That's odd.austinio7116 wrote:I think there is an issue with Glorious End. When I played it and failed to win on my turn, the opponent was the one that was targeted by the end of turn lose the game trigger.
- Agetian
- Agetian
- Programmer
- Posts: 3472
- Joined: 14 Mar 2011, 05:58
- Has thanked: 677 times
- Been thanked: 561 times
Re: Amonkhet Spoiler Season
by austinio7116 » 29 Apr 2017, 14:53
On the other hand if we keep it like it is the card might see some play..
-
austinio7116 - Posts: 451
- Joined: 10 Mar 2017, 11:59
- Has thanked: 47 times
- Been thanked: 169 times
Re: Amonkhet Spoiler Season
by friarsol » 29 Apr 2017, 15:54
No i think that's fine until we figure out whay delayed trigger is doingAgetian wrote:Yeah, for whatever reason getActivatingPlayer() is returning the wrong player, not sure what's causing it. Using "SourceController" instead of "You" in the LosesGame DB seems to fix the issue, but is that viable and does it change anything about card interaction? :/friarsol wrote:Sounds like an issue with the delayed trigger not having the right controller. That's odd.austinio7116 wrote:I think there is an issue with Glorious End. When I played it and failed to win on my turn, the opponent was the one that was targeted by the end of turn lose the game trigger.
- Agetian
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Who is online
Users browsing this forum: No registered users and 83 guests