diff --git a/Database/Updates/Shard/2020-08-05-00-Update-PetDevices.sql b/Database/Updates/Shard/2020-08-05-00-Update-PetDevices.sql new file mode 100644 index 0000000000..d5f140b5e7 --- /dev/null +++ b/Database/Updates/Shard/2020-08-05-00-Update-PetDevices.sql @@ -0,0 +1,179 @@ +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=48956 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=48957 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49212 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49219 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49226 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49233 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49239 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49246 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49253 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49260 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49267 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49274 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49281 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49288 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49295 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49302 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49309 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49316 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49323 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49330 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49337 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49344 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49351 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49358 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49365 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49372 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49379 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49386 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49427 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49434 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49441 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49448 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49530 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49537 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49544 AND useRequiresSkillSpec.value IS NULL; + +INSERT INTO biota_properties_int (object_Id, `type`, value) +SELECT biota.id, 368, 54 /* UseRequiresSkillSpec - Summoning */ FROM biota +LEFT JOIN biota_properties_int useRequiresSkillSpec ON useRequiresSkillSpec.object_Id=biota.id AND useRequiresSkillSpec.`type`=368 +WHERE biota.weenie_Class_Id=49551 AND useRequiresSkillSpec.value IS NULL; diff --git a/Source/ACE.Server/WorldObjects/Player_Location.cs b/Source/ACE.Server/WorldObjects/Player_Location.cs index faced428a8..c9f5127672 100644 --- a/Source/ACE.Server/WorldObjects/Player_Location.cs +++ b/Source/ACE.Server/WorldObjects/Player_Location.cs @@ -94,7 +94,7 @@ public void HandleActionTeleToHouse() EnqueueBroadcast(new GameMessageSystemChat($"{Name} is recalling home.", ChatMessageType.Recall), LocalBroadcastRange, ChatMessageType.Recall); - SendMotionAsCommands(MotionCommand.HouseRecall, CurrentMotionState.Stance); + SendMotionAsCommands(MotionCommand.HouseRecall, MotionStance.NonCombat); var startPos = new Position(Location); @@ -162,7 +162,7 @@ public void HandleActionTeleToLifestone() EnqueueBroadcast(new GameMessageSystemChat($"{Name} is recalling to the lifestone.", ChatMessageType.Recall), LocalBroadcastRange, ChatMessageType.Recall); - SendMotionAsCommands(MotionCommand.LifestoneRecall, CurrentMotionState.Stance); + SendMotionAsCommands(MotionCommand.LifestoneRecall, MotionStance.NonCombat); var startPos = new Position(Location); @@ -220,7 +220,7 @@ public void HandleActionTeleToMarketPlace() EnqueueBroadcast(new GameMessageSystemChat($"{Name} is recalling to the marketplace.", ChatMessageType.Recall), LocalBroadcastRange, ChatMessageType.Recall); - SendMotionAsCommands(MotionCommand.MarketplaceRecall, CurrentMotionState.Stance); + SendMotionAsCommands(MotionCommand.MarketplaceRecall, MotionStance.NonCombat); var startPos = new Position(Location); @@ -296,7 +296,7 @@ public void HandleActionRecallAllegianceHometown() EnqueueBroadcast(new GameMessageSystemChat($"{Name} is going to the Allegiance hometown.", ChatMessageType.Recall), LocalBroadcastRange, ChatMessageType.Recall); - SendMotionAsCommands(MotionCommand.AllegianceHometownRecall, CurrentMotionState.Stance); + SendMotionAsCommands(MotionCommand.AllegianceHometownRecall, MotionStance.NonCombat); var startPos = new Position(Location); @@ -387,7 +387,7 @@ public void HandleActionTeleToMansion() EnqueueBroadcast(new GameMessageSystemChat($"{Name} is recalling to the Allegiance housing.", ChatMessageType.Recall), LocalBroadcastRange, ChatMessageType.Recall); - SendMotionAsCommands(MotionCommand.HouseRecall, CurrentMotionState.Stance); + SendMotionAsCommands(MotionCommand.HouseRecall, MotionStance.NonCombat); var startPos = new Position(Location); @@ -464,7 +464,7 @@ public void HandleActionTeleToPkArena() EnqueueBroadcast(new GameMessageSystemChat($"{Name} is going to the PK Arena.", ChatMessageType.Recall), LocalBroadcastRange, ChatMessageType.Recall); - SendMotionAsCommands(MotionCommand.PKArenaRecall, CurrentMotionState.Stance); + SendMotionAsCommands(MotionCommand.PKArenaRecall, MotionStance.NonCombat); var startPos = new Position(Location); @@ -542,7 +542,7 @@ public void HandleActionTeleToPklArena() EnqueueBroadcast(new GameMessageSystemChat($"{Name} is going to the PKL Arena.", ChatMessageType.Recall), LocalBroadcastRange, ChatMessageType.Recall); - SendMotionAsCommands(MotionCommand.PKArenaRecall, CurrentMotionState.Stance); + SendMotionAsCommands(MotionCommand.PKArenaRecall, MotionStance.NonCombat); var startPos = new Position(Location); diff --git a/appveyor.yml b/appveyor.yml index d2856d8aa6..908cc95f6a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 1.8.{build} +version: 1.9.{build} pull_requests: do_not_increment_build_number: true skip_tags: true