Exemplo n.º 1
0
        public override void SetDefaults()
        {
            base.SetDefaults();
            Item.damage       = 25;
            Item.width        = 80;
            Item.height       = 80;
            Item.scale        = 0.75f;
            Item.useTime      = 20;
            Item.useAnimation = 20;
            Item.useStyle     = ItemUseStyleID.Swing;
            Item.holdStyle    = 4;
            Item.knockBack    = 3;
            Item.value        = 100;
            Item.rare         = 2;
            Item.UseSound     = SoundID.Item1;
            Item.autoReuse    = true;

            SaveAtributes();
            keyLevel           = 2;
            keyTransformations = new keyTransformation[] { keyTransformation.spear, keyTransformation.drill };
            transSprites       = new string[] { "Items/Weapons/Transformations/Jungle_Drill", "Items/Weapons/Transformations/Jungle_Drill" };
            formChanges        = new keyDriveForm[] { keyDriveForm.blitz };
            animationTimes     = new int[] { 20, 20, 15 };
        }
Exemplo n.º 2
0
        public override void SetDefaults()
        {
            base.SetDefaults();
            Item.damage       = 40;
            Item.width        = 26;
            Item.height       = 26;
            Item.scale        = 2f;
            Item.useStyle     = ItemUseStyleID.Swing;
            Item.holdStyle    = 4;
            Item.knockBack    = 0;
            Item.UseSound     = SoundID.Item1;
            Item.autoReuse    = true;
            Item.useAnimation = Item.useTime = 20;

            SaveAtributes();
            magic              = keyMagic.balloon;
            magicCost          = 5;
            keyTransformations = new keyTransformation[] { };
            transSprites       = new string[] { };
            formChanges        = new keyDriveForm[] { };
            animationTimes     = new int[] { 20, 20 };
            keyLevel           = 2;
            keySummon          = summonType.dumbo;
        }