Project1
标题:
主页限制型魔法商店脚本有BUG。。
[打印本页]
作者:
羽斗KID
时间:
2008-2-21 12:07
提示:
作者被禁止或删除 内容自动屏蔽
作者:
凌冰
时间:
2008-2-21 12:24
把
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
复制代码
[LINE]1,#dddddd[/LINE]
系统信息:本贴获得楼主认可,66RPG感谢您的热情解答~
作者:
羽斗KID
时间:
2008-2-21 12:59
提示:
作者被禁止或删除 内容自动屏蔽
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1