targeting against a Spiritual Weapon

Discussion in 'General Modification' started by krunch, Jul 26, 2006.

Remove all ads!
  1. krunch

    krunch moving on in life

    Joined:
    Aug 9, 2005
    Messages:
    3,280
    Likes Received:
    0
    [MOVED to this thread]

    My initial thoughts on How To determine targeting against a Spiritual Weapon.

    There is already a script for the Spiritual Weapon spell, named Spell457 - Spiritual Weapon.py. The script could be modded to add a one-time DC check every time the spell is cast where the one-time DC check is compared to the highest Spellcraft skill of the opposing group of monsters or adventuring party, which ever group the spell is cast against. If successful, a global variable could be set to a particular value and allow the Spiritual Weapon to be targeted. If unsuccessful, the same global variable could be set to a different particular value and not allow the Spiritual Weapon to be targeted.

    If a monster or party member, either, target a Spiritual Weapon and the DC check was not successful when cast - be it through AI Strategy or by existing game default or by player selection, the trick would be to have attacking the Spiritual Weapon fail [fizz-out like a failed spell, whatever you want to call it] whereby the attack would do nothing.

    Finally, the way damage could only be done to the Spiritual Weapon would need to be set so that only, for example, the Disintegration spell or the Dispel Magic spell could do damage to it. When a Rod of Cancellation is modded and becomes available it could be added and the same for a Sphere of Annihilation, too. Attacking a Spiritual Weapon with a melee hand-to-hand or missile weapon should be allowed, but would never do any damage whatsoever to the Spiritual Weapon. The Spiritual Weapon could still be assigned hit points for proper spell attack reasons.

    [EDIT] Afterthought: If a DLL hack would be needed to implement this as a requirement because the game mandates that a monster will try to attack it [like bugbears], maybe a trick would be to have the pySpell457 script change [clear target] the target setting of the monster or, possibly, something like that - maybe use a while statement.
     
Our Host!