It is currently 07 Jul 2021, 08:11
   
Text Size

Planeswalker combat problem

Post MTG Forge Related Programming Questions Here

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

Planeswalker combat problem

Postby gestalt » 09 Feb 2010, 08:04

Hi,

It seems the planeswalker blocking is not functioning in current svn version. I think changing InputControl.java from
Code: Select all
                return new Input_Block();
to
Code: Select all
             if (AllZone.pwCombat.getAttackers().length != 0)
             {
                 return new Input_Block_Planeswalker();       
             }
             else
                return new Input_Block();
By the way my account just disappeared. I wonder if I did something wrong and I get banned or the forum db had a roll back. Anyways great work guys.
gestalt
 
Posts: 8
Joined: 09 Feb 2010, 08:00
Has thanked: 0 time
Been thanked: 0 time

Re: Planeswalker combat problem

Postby Huggybaby » 09 Feb 2010, 09:46

Sorry about that, you weren't banned. :)
See viewtopic.php?f=26&t=2229
User avatar
Huggybaby
Administrator
 
Posts: 3124
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 628 times
Been thanked: 574 times

Re: Planeswalker combat problem

Postby DennisBergkamp » 09 Feb 2010, 17:53

gestalt wrote:Hi,

It seems the planeswalker blocking is not functioning in current svn version. I think changing InputControl.java from
Code: Select all
                return new Input_Block();
to
Code: Select all
             if (AllZone.pwCombat.getAttackers().length != 0)
             {
                 return new Input_Block_Planeswalker();       
             }
             else
                return new Input_Block();
By the way my account just disappeared. I wonder if I did something wrong and I get banned or the forum db had a roll back. Anyways great work guys.
Ahh, you're right. I'll make this change, thanks :)

By the way, I could give you committer privileges if you PM me your email address.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 9 guests


Who is online

In total there are 9 users online :: 0 registered, 0 hidden and 9 guests (based on users active over the past 10 minutes)
Most users ever online was 1922 on 07 Jun 2021, 06:01

Users browsing this forum: No registered users and 9 guests

Login Form