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
17
decomp/schema/RustyHearts/procs/up_upate_item_binds.sql
Normal file
17
decomp/schema/RustyHearts/procs/up_upate_item_binds.sql
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
CREATE PROCEDURE [dbo].[up_upate_item_binds]
|
||||
@character_id [uniqueidentifier],
|
||||
@item_id [uniqueidentifier],
|
||||
@binds int
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
|
||||
if @binds = 0
|
||||
begin
|
||||
update N_InventoryItem set ReconNum = ReconNum -1
|
||||
where character_id = @character_id and item_uid = @item_id
|
||||
end
|
||||
update N_InventoryItem set ReconState = @binds
|
||||
where character_id = @character_id and item_uid = @item_id
|
||||
return 0
|
||||
END
|
||||
Loading…
Add table
Add a link
Reference in a new issue