kypvalanx / Foundry-VTT-StarWars-SagaEdition

25 stars 7 forks source link

Update actor.mjs to resolve speed as int #410

Closed vertigoogle closed 11 months ago

vertigoogle commented 1 year ago

This makes the speed attribute easier for use in modules like the drag ruler

vertigoogle commented 1 year ago

Please check for side effects as I did not read the whole system code :)

kypvalanx commented 12 months ago

i've been working pretty head down on updates for the last month and just saw this. i'll take a look soon.

kypvalanx commented 12 months ago

this is resolved as a string including the movement type because of the multiple movement types. idk how the plugin works, but could an int version of the speed be returned from another getter? this getter is used to populate the sheet itself.

vertigoogle commented 11 months ago

Hi, indeed a new getter would fit also. Shall I implement one or would you like to do this?