Ins_Weapon.php 714 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. namespace loyalsoft;
  3. /**
  4. * Description of Ins_Weapon
  5. *
  6. * @author gwang
  7. */
  8. class Ins_Weapon extends Object_ext {
  9. //put your code here
  10. public $typeId = 0;
  11. public $herouid = 0;
  12. /**
  13. * 星级 突破的时候会长星
  14. * @var type
  15. */
  16. public $starLevel = 0;
  17. /**
  18. * 等级
  19. * @var type
  20. */
  21. public $level=1;
  22. /**
  23. * 经验
  24. * @var type
  25. */
  26. public $exp=0;
  27. public function __construct($arg = null) {
  28. parent::__construct($arg);
  29. }
  30. /**
  31. * @return \sm_item_weapon item_weapon 武器的模板数据
  32. */
  33. public function mo() {
  34. return GameConfig::item_weapon_getItem($this->typeId);
  35. }
  36. }