Example #1
0
		protected internal virtual string toPropStr(RoleAProperty prop)
		{
			StringBuilder _sb = new StringBuilder();
			for (int _i = 0; _i < RoleAProperty._SIZE; _i++)
			{
				_sb.Append(_i).Append("=").Append(prop.get(_i)).Append(",");
			}
			return _sb.ToString();
		}
Example #2
0
		public BattleFighterPropty(BattleFighter fighter)
		{
			this.owner = fighter;
			this.baseProp = new RoleAProperty();
			this.buffProp = new RoleAProperty();
			this.mutiProp = new RoleAProperty();
			this.battleProp = new RoleAProperty();
			initBaseProp();
		}
		protected internal virtual void modifyAttackResult(float result, BattleFighter attacker, BattleFighter defencer)
		{
			RoleAProperty _prop = new RoleAProperty();
			_prop.set(RoleAProperty.ATK, result);

		}
Example #4
0
		public virtual void addAttackProp(AmendTriple amendTriple)
		{
			RoleAProperty _baseProp = new RoleAProperty();
			amendTriple.amend(mutiProp, _baseProp);
			mutiProp.set(amendTriple.AmendIndex, _baseProp.get(amendTriple.AmendIndex));
		}