"Default spell on missed"
chimeric
Member Posts: 1,163
This is in projectile properties. I'm having trouble getting anything to happen, though. Editing ARROW, the projectile all weapons use. I want a miss to explode in a fireball.
0
Comments
Melee weapons use an exclusive version of projectile #1(none) with slightly different behavior, and both versions of projectile #1(none) are still functionally different from projectile #0(default). All of which is hardcoded.
But I'd like to know whether the Default feature was definitely not implemented or you've just never seen it anywhere. I can't think of any spell that does something in case of a miss, not to mention weapons, so it might just never come up. And how would you make a spell miss, anyway? Touch spells just create weapons in the form of glowing hands, and everything seems governed by the same mechanism that does the rolling for weapons. Otherwise spells only shoot in the general direction of the target, like Lightning Bolt, or they always hit, like Agannazar's Scorcher.
8192 - not implemented yet - set for comet (m_sideMove)
Several PSTEE spells do have resources in the default and success spell fields, but as 99% of PSTEE is hardcoded anyway, I don't know whether its actually implemented there or just for show.
Unless... Hm-hm. Is there any trigger for an attempted attack, an attack made? An effect to put in weapon properties?
I tested this with a fireball and hit effects (the immunity gift was on a weapon) are faster than a contingency. The fireball exploded and hurt everyone around, but the victim of the blow only suffered weapon damage...
I did not suggest the "AttackedBy()/When Attacked" trigger because works off any source of hostile action, not just physical attacks.
Such as:
- any spell flagged hostile
- any source of damage(including poison/disease dot)
- any weapon attack(hit or miss, damage or not)
You may be able to patch all weapons/spells, but there isn't much you can do about poison/disease without granting complete immunity (either to them or to the contingent spell while suffering from them).Also because unlike spells, ranged weapons trigger "AttackedBy()/When Attacked" at the to-hit roll, not upon projectile impact, so the contingency fires before the hit effects.