mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Replaced npcspecialatk with special_attacks, needs more testing also gotta export new api for it as I can't remove the legacy one. Too many quests rely on the legacy functionality.
This commit is contained in:
+7
-1
@@ -86,7 +86,13 @@ const NPCType *Horse::BuildHorseType(uint16 spell_id) {
|
||||
NPCType* npc_type = new NPCType;
|
||||
memset(npc_type, 0, sizeof(NPCType));
|
||||
strcpy(npc_type->name,"Unclaimed_Mount"); //this should never get used
|
||||
strcpy(npc_type->npc_attacks,"ABH");
|
||||
|
||||
npc_type->special_abilities = itoa(IMMUNE_MELEE);
|
||||
npc_type->special_abilities += std::string(",1^");
|
||||
npc_type->special_abilities += itoa(IMMUNE_MAGIC);
|
||||
npc_type->special_abilities += std::string(",1^");
|
||||
npc_type->special_abilities += itoa(IMMUNE_AGGRO);
|
||||
npc_type->special_abilities += std::string(",1");
|
||||
npc_type->cur_hp = 1;
|
||||
npc_type->max_hp = 1;
|
||||
npc_type->race = atoi(row[0]);
|
||||
|
||||
Reference in New Issue
Block a user