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 Pet Owner Methods to Perl/Lua #4115

Merged
merged 2 commits into from Feb 25, 2024

Conversation

Kinglykrab
Copy link
Contributor

Perl

  • Add $mob->IsPetOwnerBot().
  • Add $mob->IsPetOwnerClient().
  • Add $mob->IsPetOwnerNPC().

Lua

  • Add mob:IsPetOwnerBot().
  • Add mob:IsPetOwnerClient().
  • Add mob:IsPetOwnerNPC().

Notes

  • Allows operators to use these short hands instead of doing a GetOwner() && GetOwner()->IsClient().

- Add `$mob->IsPetOwnerBot()`.
- Add `$mob->IsPetOwnerClient()`.
- Add `$mob->IsPetOwnerNPC()`.

- Add `mob:IsPetOwnerBot()`.
- Add `mob:IsPetOwnerClient()`.
- Add `mob:IsPetOwnerNPC()`.

- Allows operators to use these short hands instead of doing a `GetOwner() && GetOwner()->IsClient()`.
@Kinglykrab Kinglykrab merged commit 35fe38c into master Feb 25, 2024
2 checks passed
@Kinglykrab Kinglykrab deleted the quest_api/pet_owner_methods branch February 25, 2024 05:38
joligario added a commit that referenced this pull request Feb 29, 2024
### Character Creation

* Improved Random Name Generator ([#4081](#4081)) @catapultam-habeo 2024-02-27

### Code

* Fix Server Rules Documentation Generation ([#4125](#4125)) @Kinglykrab 2024-02-26
* Remove unnecessary stoptimer logs ([#4128](#4128)) @Kinglykrab 2024-02-28

### Commands

* Add `#forage` command ([#4133](#4133)) @joligario 2024-02-29

### Crash

* Fix crash issue during database dump ([#4127](#4127)) @Akkadius 2024-02-29

### Crash Fix

* D20 crash if mitigation average resulted in 0 ([#4131](#4131)) @nytmyr 2024-02-29

### Fixes

* Fix forage returning first result from table ([#4130](#4130)) @nytmyr 2024-02-29
* Who /all displays incorrect guild name ([#4123](#4123)) @neckkola 2024-02-25

### Quest API

* Add Pet Owner Methods to Perl/Lua ([#4115](#4115)) @Kinglykrab 2024-02-25
@joligario joligario mentioned this pull request Feb 29, 2024
Kinglykrab pushed a commit that referenced this pull request Feb 29, 2024
### Character Creation

* Improved Random Name Generator ([#4081](#4081)) @catapultam-habeo 2024-02-27

### Code

* Fix Server Rules Documentation Generation ([#4125](#4125)) @Kinglykrab 2024-02-26
* Remove unnecessary stoptimer logs ([#4128](#4128)) @Kinglykrab 2024-02-28

### Commands

* Add `#forage` command ([#4133](#4133)) @joligario 2024-02-29

### Crash

* Fix crash issue during database dump ([#4127](#4127)) @Akkadius 2024-02-29

### Crash Fix

* D20 crash if mitigation average resulted in 0 ([#4131](#4131)) @nytmyr 2024-02-29

### Fixes

* Fix forage returning first result from table ([#4130](#4130)) @nytmyr 2024-02-29
* Who /all displays incorrect guild name ([#4123](#4123)) @neckkola 2024-02-25

### Quest API

* Add Pet Owner Methods to Perl/Lua ([#4115](#4115)) @Kinglykrab 2024-02-25
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