decomp DBCServer_Release and inspect/document database

This commit is contained in:
Benjamin Palko 2026-10-14 23:22:03 -04:00
parent 4b267cbe05
commit 7834b98bf0
28222 changed files with 843300 additions and 144 deletions

View file

@ -0,0 +1,30 @@
CREATE PROCEDURE [dbo].[up_update_pet_status]
@pet_id [uniqueidentifier]
,@character_id [uniqueidentifier]
,@hp INT
,@mp INT
,@physical_attack FLOAT
,@physical_defence FLOAT
,@magical_attack FLOAT
,@magical_defence FLOAT
,@loyalty FLOAT
as
set nocount on
UPDATE dbo.PetTable SET
hp = @hp
,mp = @mp
,physical_attack = @physical_attack
,physical_defence = @physical_defence
,magical_attack = @magical_attack
,magical_defence = @magical_defence
,loyalty = @loyalty
where pet_id = @pet_id;
select * from dbo.PetTable with (READUNCOMMITTED) where character_id = @character_id
return @@error