Пример #1
0
 public Monster(DatabaseID dbID, bool addToWorld)
     : base(dbID, addToWorld)
 {
     DamageLog    = new MonsterDamageLog();
     SkillDelays  = new List <uint>();
     StatusChange = new WorldObjectStatusChangeList();
     LootItem     = new List <Item>();
     Regen        = new WorldObjectRegenerationData(this);
 }
Пример #2
0
        public Character(DatabaseID dbID, bool addToWorld)
            : base(dbID, addToWorld)
        {
            BaseStatus   = new WorldObjectStatus(this);
            BattleStatus = new WorldObjectStatus(this);
            ViewData     = new WorldObjectViewData();
            StatusChange = new WorldObjectStatusChangeList();

            // TODO: i dont where eAthena initialize them realy..
            //		 they using struct, which cant be null x.x
            Regen   = new WorldObjectRegenerationData(this);
            HPRegen = new StatusVariationData();
            SPRegen = new StatusVariationData();
            SRegen  = new CharacterRegenerationData();
            SSRegen = new CharacterRegenerationData();
        }
Пример #3
0
		public Monster(DatabaseID dbID, bool addToWorld)
			: base(dbID, addToWorld) {
			DamageLog = new MonsterDamageLog();
			SkillDelays = new List<uint>();
			StatusChange = new WorldObjectStatusChangeList();
			LootItem = new List<Item>();
			Regen = new WorldObjectRegenerationData(this);
		}
Пример #4
0
		private void CalculateRegenData(WorldObjectStatus status, WorldObjectRegenerationData data) {

		}
Пример #5
0
		private void CalculateRegenRate(WorldObjectRegenerationData data, WorldObjectStatusChangeList sc) {

		}
Пример #6
0
		public Character(DatabaseID dbID, bool addToWorld)
			: base(dbID, addToWorld) {
			BaseStatus = new WorldObjectStatus(this);
			BattleStatus = new WorldObjectStatus(this);
			ViewData = new WorldObjectViewData();
			StatusChange = new WorldObjectStatusChangeList();

			// TODO: i dont where eAthena initialize them realy..
			//		 they using struct, which cant be null x.x
			Regen = new WorldObjectRegenerationData(this);
			HPRegen = new StatusVariationData();
			SPRegen = new StatusVariationData();
			SRegen = new CharacterRegenerationData();
			SSRegen = new CharacterRegenerationData();
		}