L2PetLevelData.java 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. /*
  2. * This program is free software: you can redistribute it and/or modify it under
  3. * the terms of the GNU General Public License as published by the Free Software
  4. * Foundation, either version 3 of the License, or (at your option) any later
  5. * version.
  6. *
  7. * This program is distributed in the hope that it will be useful, but WITHOUT
  8. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  9. * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  10. * details.
  11. *
  12. * You should have received a copy of the GNU General Public License along with
  13. * this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. package com.l2jserver.gameserver.model;
  16. /**
  17. * Stats definition for each pet level
  18. * @author JIV
  19. *
  20. */
  21. public class L2PetLevelData
  22. {
  23. private int _ownerExpTaken;
  24. private long _petMaxExp;
  25. private float _petMaxHP;
  26. private float _petMaxMP;
  27. private float _petPAtk;
  28. private float _petPDef;
  29. private float _petMAtk;
  30. private float _petMDef;
  31. private int _petMaxFeed;
  32. private int _petFeedBattle;
  33. private int _petFeedNormal;
  34. private float _petRegenHP;
  35. private float _petRegenMP;
  36. private short _petSoulShot;
  37. private short _petSpiritShot;
  38. // Max Exp
  39. public long getPetMaxExp()
  40. {
  41. return _petMaxExp;
  42. }
  43. public void setPetMaxExp(long pPetMaxExp)
  44. {
  45. _petMaxExp = pPetMaxExp;
  46. }
  47. public int getOwnerExpTaken()
  48. {
  49. return _ownerExpTaken;
  50. }
  51. public void setOwnerExpTaken(int pOwnerExpTaken)
  52. {
  53. _ownerExpTaken = pOwnerExpTaken;
  54. }
  55. // Max HP
  56. public float getPetMaxHP()
  57. {
  58. return _petMaxHP;
  59. }
  60. public void setPetMaxHP(float pPetMaxHP)
  61. {
  62. _petMaxHP = pPetMaxHP;
  63. }
  64. // Max Mp
  65. public float getPetMaxMP()
  66. {
  67. return _petMaxMP;
  68. }
  69. public void setPetMaxMP(float pPetMaxMP)
  70. {
  71. _petMaxMP = pPetMaxMP;
  72. }
  73. // PAtk
  74. public float getPetPAtk()
  75. {
  76. return _petPAtk;
  77. }
  78. public void setPetPAtk(float pPetPAtk)
  79. {
  80. _petPAtk = pPetPAtk;
  81. }
  82. // PDef
  83. public float getPetPDef()
  84. {
  85. return _petPDef;
  86. }
  87. public void setPetPDef(float pPetPDef)
  88. {
  89. _petPDef = pPetPDef;
  90. }
  91. // MAtk
  92. public float getPetMAtk()
  93. {
  94. return _petMAtk;
  95. }
  96. public void setPetMAtk(float pPetMAtk)
  97. {
  98. _petMAtk = pPetMAtk;
  99. }
  100. // MDef
  101. public float getPetMDef()
  102. {
  103. return _petMDef;
  104. }
  105. public void setPetMDef(float pPetMDef)
  106. {
  107. _petMDef = pPetMDef;
  108. }
  109. // MaxFeed
  110. public int getPetMaxFeed()
  111. {
  112. return _petMaxFeed;
  113. }
  114. public void setPetMaxFeed(int pPetMaxFeed)
  115. {
  116. _petMaxFeed = pPetMaxFeed;
  117. }
  118. // Normal Feed
  119. public int getPetFeedNormal()
  120. {
  121. return _petFeedNormal;
  122. }
  123. public void setPetFeedNormal(int pPetFeedNormal)
  124. {
  125. _petFeedNormal = pPetFeedNormal;
  126. }
  127. // Battle Feed
  128. public int getPetFeedBattle()
  129. {
  130. return _petFeedBattle;
  131. }
  132. public void setPetFeedBattle(int pPetFeedBattle)
  133. {
  134. _petFeedBattle = pPetFeedBattle;
  135. }
  136. // Regen HP
  137. public float getPetRegenHP()
  138. {
  139. return _petRegenHP;
  140. }
  141. public void setPetRegenHP(float pPetRegenHP)
  142. {
  143. _petRegenHP = pPetRegenHP;
  144. }
  145. // Regen MP
  146. public float getPetRegenMP()
  147. {
  148. return _petRegenMP;
  149. }
  150. public void setPetRegenMP(float pPetRegenMP)
  151. {
  152. _petRegenMP = pPetRegenMP;
  153. }
  154. /**
  155. * @return the _petSoulShot
  156. */
  157. public short getPetSoulShot()
  158. {
  159. return _petSoulShot;
  160. }
  161. /**
  162. * @param soulShot the _petSoulShot to set
  163. */
  164. public void setPetSoulShot(short soulShot)
  165. {
  166. _petSoulShot = soulShot;
  167. }
  168. /**
  169. * @return the _petSpiritShot
  170. */
  171. public short getPetSpiritShot()
  172. {
  173. return _petSpiritShot;
  174. }
  175. /**
  176. * @param spiritShot the _petSpiritShot to set
  177. */
  178. public void setPetSpiritShot(short spiritShot)
  179. {
  180. _petSpiritShot = spiritShot;
  181. }
  182. }