mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
[Bug Fix] Fix ScaleNPC() in Perl (#4196)
# Notes - We were not passing `override_special_abilities` in the right parameter slot. - Default `always_scale` to `true` when using the Perl/Lua method.
This commit is contained in:
+1
-1
@@ -758,7 +758,7 @@ void Lua_NPC::SetLDoNTrapDetected(bool is_detected) {
|
||||
void Lua_NPC::ScaleNPC(uint8 npc_level)
|
||||
{
|
||||
Lua_Safe_Call_Void();
|
||||
self->ScaleNPC(npc_level);
|
||||
self->ScaleNPC(npc_level, true);
|
||||
}
|
||||
|
||||
void Lua_NPC::ScaleNPC(uint8 npc_level, bool override_special_abilities)
|
||||
|
||||
Reference in New Issue
Block a user