It is currently 27 Apr 2024, 12:28
   
Text Size

Planeswalker combat problem

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, 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: 3207
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 701 times
Been thanked: 594 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 115 guests

cron

Who is online

In total there are 115 users online :: 0 registered, 0 hidden and 115 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 115 guests

Login Form