Exemple #1
0
        //Methods

        private static void basic_herb(CharacterUpgraded chara)
        {
            Stats stat = chara.stats;

            if (stat.hp < (stat.maxHp - 9))
            {
                stat.hp += 10;
                chara.stats.onStatChange(stat);
            }
        }
Exemple #2
0
 public EscortQuest(Character npc, CharacterUpgraded toEscort, Place toWhere, QuestImportance importance) : base(npc, importance, QuestType.ESCORT)
 {
     this.toEscort = toEscort;
     this.toWhere  = toWhere;
 }
Exemple #3
0
 public KillQuest(Character npc, CharacterUpgraded toKill, int times, QuestImportance importance) : base(npc, importance, QuestType.KILL)
 {
     this.toKill = toKill;
     this.times  = times;
 }