[BUG][.913]Obsession Spell ability shows up in combat instead of strategic map

The Obsession spell ability that a few heroes have shows up in the combat instead of on the strategic map where it could be put to use.  I believe the problem is in the xml in the CoreAbilities.xml file on line 5277:

Code: xml
  1. <AbilityBonus InternalName="Spell_ObsessionAbility">
  2. <AbilityBonusOption InternalName="Spell_Obsession">
  3. <DisplayName>Obsession</DisplayName>
  4. <Description>Allows the unit to cast Obsession</Description>
  5. <Icon>S_EnchantedHammers_Icon.png</Icon>
  6. <GameModifier>
  7. <ModType>Unit</ModType>
  8. <Attribute>UnlockCombatAbility</Attribute>
  9. <StrVal>Obsession</StrVal>
  10. <Provides>+3 Production per Material (+1 per death shard) in the enchanted city</Provides>
  11. </GameModifier>
  12. <HideWhenUpgraded>0</HideWhenUpgraded>
  13. <IsCombatAbility>1</IsCombatAbility>
  14. <AIData AIPersonality="AI_General">
  15. <AIPriority>5</AIPriority>
  16. </AIData>
  17. </AbilityBonusOption>
  18. </AbilityBonus>
  19.  

 

It has a unlockCombatAbility instead of adding it as a strategic spell.

2,152 views 2 replies
Reply #2 Top

Fixed, thanks