[1.50 BUG] Summon wilding consistently fails when cast by Wildling Shaman

:moo:

7,443 views 4 replies
Reply #2 Top

The issue is with the spell not calling the correct group...

There are two ways to approach a fix for this... I'll do the simplest

<SpellDef InternalName="SummonWilding_Ability">
    <DisplayName>Summon Wilding</DisplayName>
    <Description>Summon a level 4 Wilding Rider</Description>
    <Image>SandCrawlerRider_Medallion.png</Image>
    <IconFG>Ability_Summon_Wilding_Icon.png</IconFG>
    <Cooldown>5</Cooldown>
    <SpellBookSortCategory>Summon</SpellBookSortCategory>
    <SpellBookSortSubCategory>Summon</SpellBookSortSubCategory>
    <SpellType>Tactical</SpellType>
    <SpellClass>Offensive</SpellClass>
    <SpellSubClass>Summon</SpellSubClass>
    <SpellTargetType>EmptyTile</SpellTargetType>
    <HideInHiergamenon>1</HideInHiergamenon>
    <IsSpecialAbility>1</IsSpecialAbility>
    <GameModifier>
        <ModType>Unit</ModType>
        <Attribute>SummonUnit</Attribute>
        <UnitClass>WildingRider_Party</UnitClass>
        <Duration>-1</Duration>
        <Calculate InternalName="Calc" ValueOwner="CastingUnit">
            <Expression><![CDATA[[UnitStat_BonusSummonLevel] + 4]]></Expression>
        </Calculate>
        <Calculate InternalName="Value">
            <Expression><![CDATA[[Calc]]]></Expression>
        </Calculate>
    </GameModifier>
    <AIData AIPersonality="AI_General">
        <AIPriority>60</AIPriority>
    </AIData>
    <HitSoundFX>Spell_SummonDeathDemon_01</HitSoundFX>
    <SpellDefEffect>
        <EffectName>Y_SummonDeathDemon_Particle</EffectName>
        <LocalPosition>0,0,0</LocalPosition>
        <EffectScale>1</EffectScale>
        <EffectDelay>0</EffectDelay>
        <SnapToTerrain>1</SnapToTerrain>
    </SpellDefEffect>
</SpellDef>

The bolded should be switched from Group to Party, as I have indicated above. Place one file or the other into your mods folder, it will fix the ability.

A fix for those that are interested that changes the spell...

https://dl.dropboxusercontent.com/u/75549875/Fallen%20Enchantress/Abilities/wildingsummonfix.zip

If one would prefer to have a more difficult unit (4 wilding riders instead of 3), use this fix instead...

https://dl.dropboxusercontent.com/u/75549875/Fallen%20Enchantress/Abilities/wildingridergroup.zip

Reply #3 Top

Great!  Stardock - shove this into a patch please.