Example #1
0
        public Scorpio()
        {
            Name        = "scorpio";
            SpriteClass = typeof(ScorpioSprite);

            HP           = HT = 95;
            defenseSkill = 24;
            viewDistance = Light.Distance;

            Exp    = 14;
            MaxLvl = 25;

            loot       = new PotionOfHealing();
            lootChance = 0.125f;
        }
Example #2
0
        public Bat()
        {
            Name        = "vampire bat";
            SpriteClass = typeof(BatSprite);

            HP           = HT = 30;
            defenseSkill = 15;
            baseSpeed    = 2f;

            Exp    = 7;
            MaxLvl = 15;

            Flying = true;

            loot       = new PotionOfHealing();
            lootChance = 0.125f;
        }
Example #3
0
        protected internal override bool AffectHero(Hero hero)
        {
            Sample.Instance.Play(Assets.SND_DRINK);

            PotionOfHealing.Heal(hero);
            hero.Belongings.UncurseEquipped();
            hero.Buff <Hunger>().Satisfy(Hunger.Starving);

            CellEmitter.Get(Pos).Start(ShaftParticle.Factory, 0.2f, 3);

            Dungeon.Hero.Interrupt();

            GLog.Positive(TxtProcced);

            Journal.Remove(Journal.Feature.WELL_OF_HEALTH);

            return(true);
        }