12
edits
Line 25: | Line 25: | ||
; max ammo capacity | ; max ammo capacity | ||
int AmmoCapacity = instanceData.GetAmmoCapacity(thisInstance) as int | int AmmoCapacity = instanceData.GetAmmoCapacity(thisInstance) as int | ||
; increase capacity by 1 | ; increase capacity by 1 | ||
instancedata.SetAmmoCapacity(thisInstance, AmmoCapacity + 1) | instancedata.SetAmmoCapacity(thisInstance, AmmoCapacity + 1) |
edits