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

Spells enum for CombatTraining seems to be casting Whispering instead? #1636

Open
andrueandersoncs opened this issue Sep 18, 2023 · 0 comments

Comments

@andrueandersoncs
Copy link

Describe the bug
Spells enum for CombatTraining seems to be casting Whispering instead?

To Reproduce
Steps to reproduce the behavior:

  1. Open the scripting interface
  2. Use the Spells enum to cast CombatTraining (e.g. player.cast(Spells.CombatTraining);)
  3. Notice that it's not using the CombatTraining skill.. the headMsg is the wrong one

Expected behavior
I expected it to use CombatTraining

Screenshots

Shard

  • Name of the shard:

Information (please complete the following information):
Web client

Additional context
It seems that the enum is off-by-one, I switch to a number literal of 744 (instead of the Spells enum which evaluates to 743) and it works fine

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

No branches or pull requests

1 participant