Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Auras with multiple ranges appear as a single color #3426

Closed
kwvanderlinde opened this issue May 29, 2022 · 2 comments
Closed

[Bug]: Auras with multiple ranges appear as a single color #3426

kwvanderlinde opened this issue May 29, 2022 · 2 comments
Assignees
Labels

Comments

@kwvanderlinde
Copy link
Collaborator

kwvanderlinde commented May 29, 2022

Describe the Bug

Although aura definition share the same syntax as for lights, an aura with multiple ranges will always render as a single color despite the same not being true for lights.

To Reproduce

  1. Add the following to the campaign lights:
    Aura Test
    ----
    light: circle 10 20#000000 30#555555 40#aaaaaa 50#ffffff
    aura: aura circle 10 20#000000 30#555555 40#aaaaaa 50#ffffff
    
  2. Add two tokens to the map, equiping one with "light" and the other with "aura"
  3. Observe the rendering differences between the two.

Expected Behaviour

Auras should render each range according to the specified color, just as is done with lights.

Screenshots

This shows the differences between how a light and an aura are rendered despite having the same properties:
image

MapTool Info

1.11.5

Desktop

Linux Mint

Additional Context

No response

@kwvanderlinde
Copy link
Collaborator Author

It's not obvious from the screenshot or details, but what's actually happening is that all of the aura's colors are being drawn at the largest distance. So the result is the same as what you would get by equipping 5 different auras that are all 50' but with a different colors.

@Pmofmalasia
Copy link

The copied aura from the example works correctly for me in 1.13.2:

image

@github-project-automation github-project-automation bot moved this from Needs Testing to Merged in MapTool 1.13.0 Jul 19, 2023
@kwvanderlinde kwvanderlinde moved this from Merged to Done in MapTool 1.13.0 Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants