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

(Scripts/Spells): Taunt Flag Targeting script uses hardcoded string. #18659

Open
heyitsbench opened this issue Apr 3, 2024 · 1 comment · May be fixed by #18757
Open

(Scripts/Spells): Taunt Flag Targeting script uses hardcoded string. #18659

heyitsbench opened this issue Apr 3, 2024 · 1 comment · May be fixed by #18757

Comments

@heyitsbench
Copy link
Contributor

heyitsbench commented Apr 3, 2024

Current Behaviour

Currently, the Taunt Flag Targeting script uses a hardcoded string.

snprintf(buff, sizeof(buff), "%s plants the Flag of Ownership in the corpse of %s.", caster->GetName().c_str(), target->GetName().c_str());

Expected Blizzlike Behaviour

This string should be contained in DB so it can be localized.

Source

I saw it in a dream

Steps to reproduce the problem

  1. Look at the script for the spell.
  2. Observe plain English text written in the file.

Extra Notes

No response

AC rev. hash/commit

e413663

Operating system

Windows 10 x64

Custom changes or Modules

mod-ptr-template

@heyitsbench
Copy link
Contributor Author

Uses broadcast_text ID 28008.

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

Successfully merging a pull request may close this issue.

1 participant