Beispiel #1
0
        public override bool SupplySth(PeEntity entity, CSAssembly asAssembly)
        {
            // find in package
            int _curOwn = entity.GetItemCount(costId);

            if (_curOwn > BULLET_Supply_min)
            {
                return(false);
            }

            //find In csstorage
            return(NpcSupply.CsStorageSupply(entity, asAssembly, costId, BULLET_Supply_once));
        }