Can remove some steps
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
8 posts
• Page 1 of 1
Can remove some steps
by Max mtg » 02 Jun 2013, 00:30
With new phase loop we can remove COMBAT_DECLARE_ATTACKERS_INSTANT_ABILITY and COMBAT_DECLARE_BLOCKERS_INSTANT_ABILITY steps.
Turn-based actions will be executed from onPhaseBegin, and then after triggers are ordered and put on stack the system will give each player priority.
Also, this will make scripting of Odric, Master Tactician easier.
Turn-based actions will be executed from onPhaseBegin, and then after triggers are ordered and put on stack the system will give each player priority.
Also, this will make scripting of Odric, Master Tactician easier.
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Can remove some steps
by friarsol » 02 Jun 2013, 00:59
Ah nice. This will require certain cards to update their scripts. But definitely a good change.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Can remove some steps
by Max mtg » 02 Jun 2013, 06:42
I have commited the code that removes the named steps - r21895
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Can remove some steps
by swordshine » 02 Jun 2013, 07:52
Shall we remove all the " - Play Instants and Abilities" in card scripts?Max mtg wrote:I have commited the code that removes the named steps - r21895
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Can remove some steps
by moomarc » 02 Jun 2013, 08:12
Going to have to remove them otherwise the condition checks will fail
-Marc
-

moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Can remove some steps
by Max mtg » 02 Jun 2013, 08:32
How do you find any of these in scripts?swordshine wrote:Shall we remove all the " - Play Instants and Abilities" in card scripts?Max mtg wrote:I have commited the code that removes the named steps - r21895
There are no matches in *.txt files on "INSTANT_ABILITY" case-insensitive search
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Can remove some steps
by swordshine » 02 Jun 2013, 08:37
Just search "Declare Attackers - Play Instants and Abilities" and "Declare Blockers - Play Instants and Abilities" in *.txtMax mtg wrote:How do you find any of these in scripts?swordshine wrote:Shall we remove all the " - Play Instants and Abilities" in card scripts?Max mtg wrote:I have commited the code that removes the named steps - r21895
There are no matches in *.txt files on "INSTANT_ABILITY" case-insensitive search
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: Timothysow and 22 guests