Reflected Mana
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
2 posts
• Page 1 of 1
Reflected Mana
by Sloth » 16 Feb 2013, 15:07
When i tried to add AI support for ManaReflected i encountered some weird stuff (notably that the variable "reflected" in AbilityManaPart was checked 5 times in the code, but was never set). I fixed these in r19654, but you know that ManaReflected is a dangerous beast, so please report when you encounter some weird stuff.
-

Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Reflected Mana
by Max mtg » 16 Feb 2013, 16:58
A small technical note:
And I don't understand how it reflected mana works as well.
- Code: Select all
else if (sa.getApi().equals(ApiType.ManaReflected)) {
baseMana = abMana.getExpressChoice();
}
And I don't understand how it reflected mana works as well.
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 28 guests