Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Biota Update Script for Shields #1899

Merged
merged 2 commits into from
May 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
USE `ace_shard`;

UPDATE biota
INNER JOIN biota_properties_int AS itemType ON biota.id=itemType.object_Id
INNER JOIN biota_properties_int AS validLocations ON biota.id=validLocations.object_Id
INNER JOIN biota_properties_int AS combatUse ON biota.id=combatUse.object_Id
SET biota.weenie_Type = 1
WHERE biota.id > 0
AND itemType.type = 1 and itemType.value = 2
AND validLocations.type = 9 and validLocations.value = 2097152
AND combatUse.type = 51 and combatUse.value = 4
AND biota.weenie_Type <> 1
AND biota.weenie_Type <> 40;