mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-05 23:56:35 +00:00
[Quest API] Add GetDefaultRaceSize() overloads to Perl/Lua (#3320)
# 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.
This commit is contained in:
+1
-1
@@ -1205,7 +1205,7 @@ public:
|
||||
void SendTo(float new_x, float new_y, float new_z);
|
||||
void SendToFixZ(float new_x, float new_y, float new_z);
|
||||
float GetZOffset() const;
|
||||
float GetDefaultRaceSize() const;
|
||||
float GetDefaultRaceSize(int race_id = -1, int gender_id = -1) const;
|
||||
void FixZ(int32 z_find_offset = 5, bool fix_client_z = false);
|
||||
float GetFixedZ(const glm::vec3 &destination, int32 z_find_offset = 5);
|
||||
virtual int GetStuckBehavior() const { return 0; }
|
||||
|
||||
Reference in New Issue
Block a user