moo-man / WFRP4e-FoundryVTT

The premiere system for running grim and perilous games of Warhammer Fantasy Role-play in the Foundry VTT environment.
Apache License 2.0
90 stars 53 forks source link

[WFRP4e System] Some targetted effects apply twice #2042

Closed moo-man closed 5 months ago

moo-man commented 5 months ago

Not sure why, but some effects from spells that apply with targetting apply their scripts twice (effect itself is not duplicated).

What we found out was Scythe of Shyish spell which adds two scythes. I cannot easily find others, so it may be limited to addItems trigger.

Worth noting is that it only happens if both Player and GM are present. If GM is not present and Player targets themselves with this spell's effect, only one Scythe item is created.


From: forien
foundry: 11.315
wfrp4e: 7.1.5
wfrp4e-core: 5.0.4
wfrp4e-dotr: 5.0.2
wfrp4e-owb2: 5.0.1
wfrp4e-up-in-arms: 5.0.0
wfrp4e-wom: 5.0.2
Active Modules: ATL, chat-commander-wfrp4e, forien-actors-summary, forien-ammo-swapper, forien-armoury, forien-easy-polls, foundryvtt-simple-calendar, item-piles, lib-wrapper, quick-insert, sidebar-macros, socketlib, times-up, token-action-hud-core, token-action-hud-wfrp4e, wfrp4e-gm-toolkit, _chatcommands