테스트

aion-server 4.8

Gitteol
최고관리자 · 1 · 💬 0 클론/새로받기
 4.8 61f661d · 1 commits 새로받기(Pull)
game-server/src/com/aionemu/gameserver/model/templates/stats/StatsTemplate.java
package com.aionemu.gameserver.model.templates.stats;

import javax.xml.bind.annotation.*;

/**
 * This class is only a container for Stats. Created on: 04.08.2009 14:59:10
 * 
 * @author Aquanox, Estrayl, Neon
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "stats_template")
public class StatsTemplate {

	@XmlAttribute(name = "maxHp")
	private int maxHp;
	@XmlAttribute(name = "maxMp")
	private int maxMp;

	@XmlAttribute(name = "evasion")
	private int evasion;
	@XmlAttribute(name = "block")
	private int block;
	@XmlAttribute(name = "parry")
	private int parry;
	@XmlAttribute(name = "pdef")
	private int pdef;
	@XmlAttribute(name = "mdef")
	private int mdef;
	@XmlAttribute(name = "mresist")
	private int mresist;
	@XmlAttribute(name = "msup")
	private int msup;
	@XmlAttribute(name = "strike_resist")
	private int strikeResist;
	@XmlAttribute(name = "spell_resist")
	private int spellResist;

	@XmlAttribute(name = "attack")
	private int attack;
	@XmlAttribute(name = "accuracy")
	private int accuracy;
	@XmlAttribute(name = "pcrit")
	private int pcrit;

	@XmlAttribute(name = "matk")
	private int matk;
	@XmlAttribute(name = "macc")
	private int macc;
	@XmlAttribute(name = "mcrit")
	private int mcrit;
	@XmlAttribute(name = "mboost")
	private int magicBoost;

	@XmlAttribute(name = "abnormal_resist")
	private int abnormalResistance;

	@XmlElement
	private CreatureSpeeds speeds;

	public int getMaxHp() {
		return maxHp;
	}

	public void setMaxHp(int maxHp) {
		this.maxHp = maxHp;
	}

	public int getMaxMp() {
		return maxMp;
	}

	public void setMaxMp(int maxMp) {
		this.maxMp = maxMp;
	}

	/* ======================================= */

	public int getEvasion() {
		return evasion;
	}

	public void setEvasion(int evasion) {
		this.evasion = evasion;
	}

	public int getBlock() {
		return block;
	}

	public void setBlock(int block) {
		this.block = block;
	}

	public int getParry() {
		return parry;
	}

	public void setParry(int parry) {
		this.parry = parry;
	}

	public int getPdef() {
		return pdef;
	}

	public void setPdef(int pdef) {
		this.pdef = pdef;
	}

	public int getMdef() {
		return mdef;
	}

	public void setMdef(int mdef) {
		this.mdef = mdef;
	}

	public int getMresist() {
		return mresist;
	}

	public void setMresist(int mresist) {
		this.mresist = mresist;
	}

	public int getMsup() {
		return msup;
	}

	public int getStrikeResist() {
		return strikeResist;
	}

	public void setStrikeResist(int strikeResist) {
		this.strikeResist = strikeResist;
	}

	public int getSpellResist() {
		return spellResist;
	}

	public void setSpellResist(int spellResist) {
		this.spellResist = spellResist;
	}

	/* ======================================= */

	public int getAttack() {
		return attack;
	}

	public void setAttack(int attack) {
		this.attack = attack;
	}

	public int getAccuracy() {
		return accuracy;
	}

	public void setAccuracy(int accuracy) {
		this.accuracy = accuracy;
	}

	public int getPcrit() {
		return pcrit;
	}

	public void setPcrit(int pcrit) {
		this.pcrit = pcrit;
	}

	/* ======================================= */

	public int getMagicalAttack() {
		return matk;
	}

	public void setMagicalAttack(int matk) {
		this.matk = matk;
	}

	public int getMacc() {
		return macc;
	}

	public void setMacc(int macc) {
		this.macc = macc;
	}

	public int getMcrit() {
		return mcrit;
	}

	public void setMcrit(int mcrit) {
		this.mcrit = mcrit;
	}

	public int getMagicBoost() {
		return magicBoost;
	}

	/* ======================================= */

	public float getWalkSpeed() {
		return speeds == null ? 0 : speeds.getWalkSpeed();
	}

	public float getRunSpeed() {
		return speeds == null ? 0 : speeds.getRunSpeed();
	}

	public float getGroupWalkSpeed() {
		return speeds == null ? 0 : speeds.getGroupWalkSpeed();
	}

	public float getRunSpeedFight() {
		return speeds == null ? 0 : speeds.getRunSpeedFight();
	}

	public float getGroupRunSpeedFight() {
		return speeds == null ? 0 : speeds.getGroupRunSpeedFight();
	}

	public float getFlySpeed() {
		return speeds == null ? 0 : speeds.getFlySpeed();
	}

	public int getAbnormalResistance() {
		return abnormalResistance;
	}

	public void setAbnormalResistance(int abnormalResistance) {
		this.abnormalResistance = abnormalResistance;
	}

	public int getPower() {
		return 100;
	}

	public int getHealth() {
		return 100;
	}

	public int getAgility() {
		return 100;
	}

	public int getBaseAccuracy() {
		return 100;
	}

	public int getKnowledge() {
		return 100;
	}

	public int getWill() {
		return 100;
	}
}

📎 첨부파일

댓글 작성 권한이 없습니다.
🏆 포인트 랭킹 TOP 10
순위 닉네임 포인트
1 no_profile 타키야겐지쪽지보내기 자기소개 아이디로 검색 전체게시물 102,949
2 no_profile 동가리쪽지보내기 자기소개 아이디로 검색 전체게시물 63,733
3 no_profile 라프텔쪽지보내기 자기소개 아이디로 검색 전체게시물 51,771
4 no_profile 불멸의행복쪽지보내기 자기소개 아이디로 검색 전체게시물 36,923
5 서번트쪽지보내기 자기소개 아이디로 검색 전체게시물 35,011
6 no_profile 닥터스쪽지보내기 자기소개 아이디로 검색 전체게시물 29,470
7 no_profile 검은고양이쪽지보내기 자기소개 아이디로 검색 전체게시물 29,077
8 no_profile Revolution쪽지보내기 자기소개 아이디로 검색 전체게시물 28,199
9 no_profile 보거스쪽지보내기 자기소개 아이디로 검색 전체게시물 26,731
10 no_profile 호롤롤로쪽지보내기 자기소개 아이디로 검색 전체게시물 17,020
알림 0