MeleeAppliesSpell on Ranged Weapons

Has anyone had any success getting spells to Proc from ranged weapons? (i.e. bows)  The below GameModifier tag from Vetrar's Fist mace procs Slow when the target is struck.  But I've never gotten the MeleeAppliesSpell attribute to work on a bow.  Anyone figured out an alternative method or a way to make this work?

 

            <GameModifier>
                <ModType>Unit</ModType>
                <Attribute>MeleeAppliesSpell</Attribute>
                <StrVal>Slow_Effect</StrVal>
                <Provides>Units struck suffer a -1 to Initiative</Provides>
            </GameModifier>

 

The Core "Poison" bows don't even work as they depend on a procced spell.

3,205 views 2 replies
Reply #1 Top

MeleeAppliesSpell will only work for a hand to hand attack. Bow attacks are already "spells" turned into abilities. What you would need to do is to clone one of the bows with an effect (fire) and place your effect. You might also be able to unlock the ability (spell) with a weapon (bow) as well. I'm sure HF knows the correct setup with the items in his mods and can answer better.

Reply #2 Top

Well, if you want a Bow of Slowing, you can just create a special ranged attack for it. But, as far as I know, there is no way to have things such as "vial of poison" (an accessory) work with a ranged bow to apply a spell. TECHNICALLY you could have a "check" inside your ranged attack spell, to see if the user has equipped a certain item, but it would be really painful to manage and I don't recommend it.