Removed unused GetCurrentWeight() from _00E_FS_SpectralChestSC
This commit is contained in:
parent
aab3523500
commit
164100d4e8
Binary file not shown.
@ -30,27 +30,6 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
|
|||||||
|
|
||||||
EndEvent
|
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
|
; PROPERTIES
|
||||||
;=====================================================================================
|
;=====================================================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user