Slight tweak (field name) to #983 "Override LEVEL and INT aggro blocking".

If you already ran the previous SQL, use this instead:
ALTER TABLE `npc_types` CHANGE `always_aggros_foes` `always_aggro` TINYINT(1) NOT NULL DEFAULT '0';
This commit is contained in:
JJ
2020-03-05 22:31:54 -05:00
parent 09e9c0b504
commit 4915e86aba
9 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -2507,7 +2507,7 @@ const NPCType *ZoneDatabase::LoadNPCTypesData(uint32 npc_type_id, bool bulk_load
"npc_types.stuck_behavior, "
"npc_types.model, "
"npc_types.flymode, "
"npc_types.always_aggros_foes "
"npc_types.always_aggro "
"FROM npc_types %s",
where_condition.c_str()
);
@@ -2709,7 +2709,7 @@ const NPCType *ZoneDatabase::LoadNPCTypesData(uint32 npc_type_id, bool bulk_load
temp_npctype_data->stuck_behavior = atoi(row[109]);
temp_npctype_data->use_model = atoi(row[110]);
temp_npctype_data->flymode = atoi(row[111]);
temp_npctype_data->always_aggros_foes = atoi(row[112]);
temp_npctype_data->always_aggro = atoi(row[112]);
temp_npctype_data->skip_auto_scale = false; // hardcoded here for now