decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
|
|
@ -0,0 +1,21 @@
|
|||
CREATE PROCEDURE [dbo].[up_item_durability_update]
|
||||
@item_id [uniqueidentifier],
|
||||
@durability int
|
||||
as
|
||||
set nocount on
|
||||
|
||||
if exists ( select [item_uid] from dbo.N_EquipItem with (READUNCOMMITTED) where item_uid = @item_id )
|
||||
begin
|
||||
update dbo.N_EquipItem set
|
||||
durability = @durability
|
||||
where item_uid = @item_id;
|
||||
end
|
||||
else
|
||||
begin
|
||||
update dbo.N_InventoryItem set
|
||||
durability = @durability
|
||||
where item_uid = @item_id;
|
||||
end
|
||||
|
||||
|
||||
return @@error
|
||||
Loading…
Add table
Add a link
Reference in a new issue