mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 08:38:20 +00:00
[Scaling] Add support for zone ID and instance version to NPC Scaling (#2968)
* [Scaling] Add support for zone ID and instance version to NPC Scaling # Notes - Adds `zone_id` and `instance_version` to `npc_scale_global_base` table to allow for zone and version-specific scaling. - Defaults back to `zone_id` of `0` and `instance_version` of `0` for global scaling. - Scaling load precedence is as follows: - `zone_id` of current zone and `instance_version` of current instance - `zone_id` of current zone and `instance_version` of `0` - `zone_id` of `0` and `instance_version` of `0` * Remove debug comment. * Use zone not NPC. * SQL
This commit is contained in:
+5
-1
@@ -4205,7 +4205,11 @@ void Mob::ExecWeaponProc(const EQ::ItemInstance *inst, uint16 spell_id, Mob *on,
|
||||
}
|
||||
|
||||
uint32 Mob::GetZoneID() const {
|
||||
return(zone->GetZoneID());
|
||||
return zone->GetZoneID();
|
||||
}
|
||||
|
||||
uint16 Mob::GetInstanceVersion() const {
|
||||
return zone->GetInstanceVersion();
|
||||
}
|
||||
|
||||
int Mob::GetHaste()
|
||||
|
||||
Reference in New Issue
Block a user