Version 04/04 and multiple blockers
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Version 04/04 and multiple blockers
by DennisBergkamp » 13 Apr 2009, 19:59
By the way, I think I've figured it out Rares, I guess you might be using the non-resizable version of MTGForge ? I'm getting the same problem when I use that setting, since that setting does use GUI_Multiple_Blockers! My previous fix should fix it, except GUI_Display2.java needs to be updated as well:
On line 37:
On line 37:
- Code: Select all
public void assignDamage(Card attacker, CardList blockers, int damage)
{
new Gui_MultipleBlockers(attacker, blockers, damage, this);
}
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Version 04/04 and multiple blockers
by mtgrares » 13 Apr 2009, 20:00
Yes I uses "non-resizable", I always do so.
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
Re: Version 04/04 and multiple blockers
by mtgrares » 13 Apr 2009, 20:03
Bug fixing is hard work, lol. "One small step for DennisBergkamp, one giant leap for mankind."
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
Re: Version 04/04 and multiple blockers
by DennisBergkamp » 13 Apr 2009, 20:03
Ahh, yes, so that has to be the problem
The code (GUI_Multiple_Blockers.java and small fix in GUIDisplay2.java) I posted should fix the damage assignment to multiple blockers.
The code (GUI_Multiple_Blockers.java and small fix in GUIDisplay2.java) I posted should fix the damage assignment to multiple blockers.
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
19 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 60 guests