lipefl / swade-tools

A Fondry VTT module with automations for Savage Worlds (SWADE)
15 stars 13 forks source link

[ENH] return SwadeRoll  when calling game.swadetools.run #285

Closed mrcomac closed 5 months ago

mrcomac commented 6 months ago

Is it possible to maintain the same behavior as the core module by returning a SwadeRoll when calling game.swadetools.run(actor)?

When calling actor.rollRunningDie(), it returns the roll from which I can obtain the result.

lipefl commented 6 months ago

game.swadetools functions are used for another module (Token Action HUD), if i change the way they behave, it wont work properly. Couldn't you just call actor.rollRunningDie() instead? What are you trying to accomplish?