anathema / anathema_legacy

Anathema is an exhaustive suite for all aspects of Exalted series management. This repository hold the code to support Exalted 1, Exalted 2 and Exalted 2.5.
http://anathema.github.com
69 stars 70 forks source link

Infernals: Intolerable Burning Truths not learning properly #120

Closed smattox closed 12 years ago

smattox commented 12 years ago

This was posted on the forums, and I opted to take a quick look at it. I actually didn't even get as far as being able to learn the various subeffects, for troubling reasons: When I select one, it goes to try to learn it, but it interprets the Charm as being alien, and unless you're a Fiend you cannot learn alien charms.

This is apparently because the character's native type is resolving to Dragon-Blooded, only when trying to learn this charm. Very weird and troubling.

smattox commented 12 years ago

I think I've figured out the source of the problem. The Infernal character was not the first one I'd opened on this launch of the application, I had opened a Dragon-Blooded character previously.

In ComplexMultipleEffectCharm, we create the list of subeffects only once, which will take place only for the very first character that is opened. We effectively pass an ICharmLearnableArbitrator, which is good only for that character, to the subeffect. From that point on, even when new characters are opened, they will be subject to the learnability rules of the first character opened from that session.