Vauryx / advancedspelleffects

This module will use Sequencer, Tagger, JB2A spell effects and socketlib to create advanced spell functionality without relying on finicky macros to do the heavy lifting.
Other
19 stars 12 forks source link

[V10 beta] Vampirc Touch initial attack happens two times #129

Open Tupsi opened 1 year ago

Tupsi commented 1 year ago

When you attack a token with vampiric attack ASE attacks with both the normal attack roll AND the one created in "At-Will".

image

if the first attack misses, the concentration flag/effect does not get applied and the "At-Will" spell and the animation on the actor never expires and gets removed. Same goes for the mutation, so casting it again gives you a warning that there is already a mutation on that actor.

image

Also the "At-Will" spell does NOT get created in that case, even though the info line suggests it.

I have to run this in order to get the actor working again, meaning the at-will gets created and the error of the double mutation goes away.

const stack = warpgate.mutationStack(token.document);
await stack.deleteAll().commit();
Tupsi commented 1 year ago

More testing reveals that the problem of losing concentration but not the mutation already accurs when only the first attack misses. Seems to have nothing todo with the At-Will missing, so amending my post.