package dto.Static;

/*
 * Copyright 2015 Taylor Caldwell
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

public class Stats {
	
	private double armor, armorperlevel, attackdamage, attackdamageperlevel, attackrange,
				attackspeedoffset, attackspeedperlevel, crit, critperlevel, hp, hpperlevel,
				hpregen, hpregenperlevel, movespeed, mp, mpperlevel, mpregen, mpregenperlevel,
				spellblock, spellblockperlevel;
	
	public double getArmor() {
		return armor;
	}

	public double getArmorPerLevel() {
		return armorperlevel;
	}

	public double getAttackDamage() {
		return attackdamage;
	}

	public double getAttackDamagePerLevel() {
		return attackdamageperlevel;
	}

	public double getAttackRange() {
		return attackrange;
	}

	public double getAttackSpeedOffset() {
		return attackspeedoffset;
	}

	public double getAttackSpeedPerLevel() {
		return attackspeedperlevel;
	}

	public double getCrit() {
		return crit;
	}

	public double getCritPerLevel() {
		return critperlevel;
	}

	public double getHp() {
		return hp;
	}

	public double getHpPerLevel() {
		return hpperlevel;
	}

	public double getHpRegen() {
		return hpregen;
	}

	public double getHpRegenPerLevel() {
		return hpregenperlevel;
	}

	public double getMoveSpeed() {
		return movespeed;
	}

	public double getMp() {
		return mp;
	}

	public double getMpPerLevel() {
		return mpperlevel;
	}

	public double getMpRegen() {
		return mpregen;
	}

	public double getMpRegenPerLevel() {
		return mpregenperlevel;
	}

	public double getSpellBlock() {
		return spellblock;
	}

	public double getSpellBlockPerLevel() {
		return spellblockperlevel;
	}
	
}

@@ -926,16 +926,107 @@
 evel;%0A%09%0A
+%09public double getBaseAttackSpeed() %7B%0A%09%09return (0.625 / ( 1.0 + attackspeedoffset ));%0A%09%7D%0A%09%0A
 %09public 

Add base attack speed method to Stats DTO (Static Data)