Change Opt Level for Destroy Item

06/28/2017 21:59 putzeimer195#1
Hello,

maybe any1 can help me.
How can I change the Opt level when a Item Destroy if I plus it
06/29/2017 02:02 crespo_4ever#2
you mean destroy it with query from sql or destroy it to make elements ?
06/29/2017 02:16 B1Q#3
set CashItem to 1~3 (from 1 to 3 try it yourself)
as far as i remember setting it to 1 makes the item undestroyable.

the rest is done by _AddLogItem eventid 91 = plus failed / destroyed (not sure)

IF(@Operation='91')
BEGIN
declare @[Only registered and activated users can see links. Click Here To Register...]ID int = (select ItemID from SRO_VT_SHARD.._Inventory where Slot=@Slot_From and CharID=@CharID)
update SRO_VT_SHARD.._Items set Optlevel=12 where ID64 @[Only registered and activated users can see links. Click Here To Register...]ID
END

item destroyed eventid is 41

Slot_From = item slot, Slot_To = 255 (DESTROYED), strDesc is empty

i don't think you can undo this operation.

tested.