예제 #1
0
 /**
  * Generate an ability ID for this robot based on the ability slot key
  * @param int $ability_key (optional)
  * @return int
  */
 public function get_ability_id($ability_key = 0)
 {
     return rpg_ability::generate_id($this->get_id(), $ability_key);
 }