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

[Quest API] Add GetDefaultRaceSize() overloads to Perl/Lua #3320

Merged
merged 1 commit into from Apr 30, 2023

Conversation

Kinglykrab
Copy link
Contributor

Perl

  • Add $mob->GetDefaultRaceSize(race_id).
  • Add $mob->GetDefaultRaceSize(race_id, gender_id).

Lua

  • Add mob:GetDefaultRaceSize(race_id).
  • Add mob:GetDefaultRaceSize(race_id, gender_id).

Notes

  • This allows you to get a default size for a race and gender that isn't the current mob's race and gender.

# Perl
- Add `$mob->GetDefaultRaceSize(race_id)`.
- Add `$mob->GetDefaultRaceSize(race_id, gender_id)`.

# Lua
- Add `mob:GetDefaultRaceSize(race_id)`.
- Add `mob:GetDefaultRaceSize(race_id, gender_id)`.

# Notes
- This allows you to get a default size for a race and gender that isn't the current mob's race and gender.
@Akkadius Akkadius merged commit 6a393bf into master Apr 30, 2023
2 checks passed
@Akkadius Akkadius deleted the quest_api/getdefaultracesize_overload branch April 30, 2023 00:53
@Akkadius Akkadius mentioned this pull request Apr 30, 2023
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.

None yet

2 participants