Esempio n. 1
0
		public XPDevModelLib ()
		{
			List<XPDevelopmentModelsRow> rows = XPDevelopmentModels.Instance.Rows;
			for (int i = 0; i < rows.Count; i++) {
				XPDevModel devModel = new XPDevModel(rows[i]);
				list.Add(devModel);
			}
			
		}
Esempio n. 2
0
	public MonsterLibraryRecord(TMMonstersRow aInitData) {
		_id = aInitData._ID;
		_name = aInitData._Name;
		_description = aInitData._Description;
		_evolvesToID = aInitData._EvolvesTo;
		_primaryElement = ElementalLibrary.REF.getElement (aInitData._PrimaryElement);
		_secondaryElement = ElementalLibrary.REF.getElement (aInitData._SecondaryElement);
		_evolvesAt = Convert.ToByte( aInitData._EvolvesAt);
		_hp = aInitData._HP;
		_hpPerLevel = aInitData._HPPerLevel;
		_meleeAttack = aInitData._MeleeAttack;
		_meleeDefense = aInitData._MeleeDefense;
		_rangeAttack = aInitData._RangeAttack;
		_rangeDefense = aInitData._RangeDefense;
		_speed = aInitData._Speed;
	//	_resistance = aInitData._resistance;
		_accuracy = aInitData._Accuracy;
		_agility = aInitData._Agility;
		_meleeAttackPerLevel = aInitData._MeleeAttackPerLevel;
		_meleeDefensePerLevel = aInitData._MeleeDefensePerLevel;
		_rangeAttackPerLevel = aInitData._RangeAttackPerLevel;
		_rangeDefensePerLevel = aInitData._RangeDefensePerLevel;
		_energy = aInitData._Energy;
		_energyPerLevel = aInitData._EnergyPerLevel;
		this._accuracyPerLevel = aInitData._AccuracyPerLevel;
		_speedPerLevel = aInitData._SpeedPerLevel;
		_catchRate = aInitData._CatchRate;
		_moveTree1 = MoveTreeLibrary.REF.GetMoveTree (aInitData._MoveTree1);
		_moveTree2 = MoveTreeLibrary.REF.GetMoveTree (aInitData._MoveTree2);
		_moveTree3 = MoveTreeLibrary.REF.GetMoveTree (aInitData._MoveTree3);
		_moveTree4 = MoveTreeLibrary.REF.GetMoveTree (aInitData._MoveTree4);
		passiveClass = aInitData._PassiveEffectClasses;
		_expVal = aInitData._BaseExperienceYield;
		_xpDevModel = XPDevModelLib.REF.getXPDevModel (aInitData._XPDevModel);
		
		this.companionAString = aInitData._CompanionA;
		this.companionBString = aInitData._CompanionB;
		this.companionALevelDiff = aInitData._CompanionALevelDiff;
		this.companionBLevelDiff = aInitData._CompanionBLevelDiff;
	}