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

AoE Fix #1912

Open
wants to merge 1 commit into
base: effect-refactor
Choose a base branch
from
Open

AoE Fix #1912

wants to merge 1 commit into from

Conversation

Txus5012
Copy link
Contributor

This is a fix for the AoE button in the overcast section of Spells/Prayers rolls.

The system always applied "diameter" in this AoE, now it will only apply diameter for spells.

@@ -36,7 +36,11 @@ export default class AbilityTemplate extends MeasuredTemplate {
{
if (aoeString.toLowerCase().includes(game.i18n.localize("AoE").toLowerCase()))
aoeString = aoeString.substring(aoeString.indexOf("(")+1, aoeString.length-1)


let test = game.messages.get(messageId).getTest();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is clunky, the point of the diameter parameter is to be able to configure this behavior. The solution here should be to call the function with the correct diameter argument

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No clue about this, so you can close this one if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants