server-re/decomp/schema/RustyHearts/procs/up_update_rearing_info.sql

54 lines
969 B
Transact-SQL

CREATE PROCEDURE [dbo].[up_update_rearing_info]
@rearing_id [uniqueidentifier],
@table_id int,
@job tinyint,
@level int,
@actionpoint int,
@usedturn int,
@endingid int,
@rewarditem int,
@vital int,
@intelligence int,
@strength int,
@temper int,
@charm int,
@resilent int,
@eloquence int,
@exhaust int,
@angry int,
@normal int,
@good int,
@sadness int,
@height float,
@weight float,
@index int
as begin
set nocount on
update dbo.RearingTable
set table_id = @table_id,
job = @job,
level = @level,
actionpoint = @actionpoint,
usedturn = @usedturn,
endingid = @endingid,
rewarditem = @rewarditem,
vital = @vital,
intelligence = @intelligence,
strength = @strength,
temper = @temper,
charm = @charm,
resilent = @resilent,
eloquence = @eloquence,
exhaust = @exhaust,
angry = @angry,
normal = @normal,
good = @good,
sadness = @sadness,
height = @height,
weight = @weight,
[index] = @index
where rearing_id = @rearing_id
end