Mana replacement (-> Any)
Post MTG Forge Related Programming Questions Here
	Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
			1 post
			 • Page 1 of 1
		
	
Mana replacement (-> Any)
 by moomarc » 31 Mar 2014, 13:05
by moomarc » 31 Mar 2014, 13:05 
There's a small bug with Pulse of Llanower (or any card that replaces mana with "Any"), where if you try produce the mana while paying for an ability/spell you are prompted twice with which mana you want to replace the default type. This does not apply when generating the mana before playing an ability/spell, so for some reason the replacement is run twice during a cost payment. This becomes especially noticeable when using Harvest Mage and any land that produces more than 1 mana (HM is scriptable with a minor tweak to the code). I'll commit the change and Harvest Mage script, but if we can't resolve the issue it should probably be removed before the next beta.
Edit: I think it's because AbilityManaPart.canProduce(String,SpellAbility) calls the applyManaReplacement which makes the user choose a replacement colour. I'm not sure how to fix it though.
			Edit: I think it's because AbilityManaPart.canProduce(String,SpellAbility) calls the applyManaReplacement which makes the user choose a replacement colour. I'm not sure how to fix it though.
-Marc
		- 
				 
 moomarc
- Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
			1 post
			 • Page 1 of 1
		
	
Who is online
Users browsing this forum: No registered users and 25 guests
