Removed unused GetCurrentWeight() from _00E_FS_SpectralChestSC

This commit is contained in:
Eddoursul 2024-02-12 18:31:14 +01:00
parent aab3523500
commit 164100d4e8
2 changed files with 0 additions and 21 deletions

Binary file not shown.

View File

@ -30,27 +30,6 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
EndEvent
Float Function GetCurrentWeight(Actor akActor)
Int NumItems = akActor.GetNumItems()
Int i = 0
Float fCurrentWeight
While (i < NumItems)
Form Entry = akActor.GetNthForm(i)
Float fEntryItemCount = akActor.GetItemCount(Entry) as Float
; iCurrentWeight += math.Ceiling(Entry.GetWeight() * iEntryItemCount)
fCurrentWeight += Entry.GetWeight() * fEntryItemCount
i += 1
EndWhile
Return fCurrentWeight
EndFunction
;=====================================================================================
; PROPERTIES
;=====================================================================================