| 
 
| 赞 | 2 |  
| VIP | 10 |  
| 好人卡 | 2 |  
| 积分 | 1 |  
| 经验 | 132388 |  
| 最后登录 | 2016-5-9 |  
| 在线时间 | 34 小时 |  
 Lv1.梦旅人 冰王子 
	梦石0 星屑50 在线时间34 小时注册时间2008-1-27帖子1875 | 
| 把 
 复制代码if actor.skill_learn?(@skill.id)
       self.contents.font.color = Color.new(255,255,255,128)
       self.contents.draw_text(44, 80*i+44, 196, 32, "⊙此项特技已经学习⊙",2)        
     else
       self.contents.font.color = Color.new(255,255,0,255)
       self.contents.draw_text(44, 80*i+44, 240, 32, "★此项特技尚未学习★")
     end
   end
覆盖成
 
 复制代码can_learn=false
      for j in $data_classes[actor.class_id].learnings
        if j.skill_id == @skill.id
          can_learn=true
        end
      end
      if can_learn == true
        if actor.skill_learn?(@skill.id)
          self.contents.font.color = Color.new(255,255,255,128)
          self.contents.draw_text(44, 80*i+44, 196, 32, "⊙此项特技已经学习⊙",2)        
        else
          self.contents.font.color = Color.new(255,255,0,255)
          self.contents.draw_text(44, 80*i+44, 240, 32, "★此项特技尚未学习★")
        end
      else
        self.contents.font.color = Color.new(255,255,255,128)
        self.contents.draw_text(44, 80*i+44, 196, 32, "◇此项特技无法学习◇",2)        
      end
    end
系统信息:本贴获得楼主认可,66RPG感谢您的热情解答~
 | 
 |