查看: 5213|回复: 11

[已经解决] 如何令裝備窗口也顯示 + dex 和 +agi ?

[复制链接]
梦石
0
星屑
50
在线时间
110 小时
注册时间
2010-7-28
回帖
23
发表于 2010-8-19 16:24:08 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
本帖最后由 石仔 于 2010-8-19 21:53 编辑

ScreenHunter_01 Aug. 19 16.07.gif
默認的只顯示 + attack, def, magic def
已搜索網站 但找不到方法~ 望前輩指點
梦石
0
星屑
80
在线时间
39 小时
注册时间
2008-9-25
回帖
291
发表于 2010-8-19 18:55:10 | 显示全部楼层
本帖最后由 azdet54639 于 2010-8-19 19:43 编辑

我记得我以前也自己制作过
只不过我自己制作的那个工程已经损坏了【可恨的360误杀】
这样吧
这个帖子我预留 等我制作好了就编辑
PS:实现LZ的脚本有两种
1.自己动手
2.KGC装备扩展脚本

制作完毕
附件:
Project9.rar (227.79 KB, 下载次数: 243)

评分

参与人数 1星屑 +2 收起 理由
石仔 + 2 解决

查看全部评分

回复

使用道具 举报

梦石
0
星屑
50
在线时间
110 小时
注册时间
2010-7-28
回帖
23
 楼主| 发表于 2010-8-19 19:38:40 | 显示全部楼层
回复 azdet54639 的帖子

感謝 T_T !
   

点评

不用谢 只要把游戏只做好 6R随时帮忙  发表于 2010-8-19 19:49
不用谢 只要把游戏只做好 6R随时帮忙  发表于 2010-8-19 19:47
回复

使用道具 举报

梦石
0
星屑
80
在线时间
39 小时
注册时间
2008-9-25
回帖
291
发表于 2010-8-19 19:44:56 | 显示全部楼层
回复 石仔 的帖子


    已经完成 附件在原贴子内 请验收
回复

使用道具 举报

梦石
0
星屑
50
在线时间
110 小时
注册时间
2010-7-28
回帖
23
 楼主| 发表于 2010-8-19 20:56:21 | 显示全部楼层
感謝大大的劇本!!
我insert 到 main 後, 出現了劇本衝突
1.JPG
2.JPG
請問可以如何修正?
再次感激~!!
回复

使用道具 举报

梦石
0
星屑
80
在线时间
39 小时
注册时间
2008-9-25
回帖
291
发表于 2010-8-19 20:57:34 | 显示全部楼层
在第3個nil後面加上4個nil
回复

使用道具 举报

梦石
0
星屑
80
在线时间
39 小时
注册时间
2008-9-25
回帖
291
发表于 2010-8-19 20:58:00 | 显示全部楼层
我的範例也有改的
為了不連帖
發短信ing...
回复

使用道具 举报

梦石
0
星屑
50
在线时间
110 小时
注册时间
2010-7-28
回帖
23
 楼主| 发表于 2010-8-19 21:34:16 | 显示全部楼层
劇本的衝突解決了!
正努力在嘗試調整這個數字出現的位置...
ScreenHunter_05 Aug. 19 21.30.jpg

点评

和我第一次修改是一样的状况 直接复制我的脚本得了  发表于 2010-8-19 21:47
回复

使用道具 举报

梦石
0
星屑
80
在线时间
39 小时
注册时间
2008-9-25
回帖
291
发表于 2010-8-19 21:46:11 | 显示全部楼层
其实可以直接将我的脚本复制上去
回复

使用道具 举报

梦石
0
星屑
80
在线时间
39 小时
注册时间
2008-9-25
回帖
291
发表于 2010-8-19 21:48:43 | 显示全部楼层
  1.     if @new_atk != nil
  2.       self.contents.font.color = system_color
  3.       self.contents.draw_text(160, 50, 40, 30, "→", 1)
  4.       self.contents.font.color = normal_color
  5.       self.contents.draw_text(200, 50, 36, 30, @new_atk.to_s, 2)
  6.     end
  7.     if @new_pdef != nil
  8.       self.contents.font.color = system_color
  9.       self.contents.draw_text(160, 75, 40, 30, "→", 1)
  10.       self.contents.font.color = normal_color
  11.       self.contents.draw_text(200, 75, 36, 30, @new_pdef.to_s, 2)
  12.     end
  13.     if @new_mdef != nil
  14.       self.contents.font.color = system_color
  15.       self.contents.draw_text(160, 100, 40, 30, "→", 1)
  16.       self.contents.font.color = normal_color
  17.       self.contents.draw_text(200, 100, 36, 30, @new_mdef.to_s, 2)
  18.     end
  19.     if @new_str != nil
  20.       self.contents.font.color = system_color
  21.       self.contents.draw_text(160, 125, 40, 30, "→", 1)
  22.       self.contents.font.color = normal_color
  23.       self.contents.draw_text(200, 125, 36, 30, @new_str.to_s, 2)
  24.     end
  25.     if @new_dex != nil
  26.       self.contents.font.color = system_color
  27.       self.contents.draw_text(160, 150, 40, 30, "→", 1)
  28.       self.contents.font.color = normal_color
  29.       self.contents.draw_text(200, 150, 36, 30, @new_dex.to_s, 2)
  30.     end
  31.     if @new_agi != nil
  32.       self.contents.font.color = system_color
  33.       self.contents.draw_text(160, 175, 40, 30, "→", 1)
  34.       self.contents.font.color = normal_color
  35.       self.contents.draw_text(200, 175, 36, 30, @new_agi.to_s, 2)
  36.     end
  37.     if @new_int != nil
  38.       self.contents.font.color = system_color
  39.       self.contents.draw_text(160, 200, 40, 30, "→", 1)
  40.       self.contents.font.color = normal_color
  41.       self.contents.draw_text(200, 200, 36, 30, @new_int.to_s, 2)
  42.     end
  43.   end
复制代码

评分

参与人数 1星屑 +600 收起 理由
「旅」 + 600 辛苦了~~~

查看全部评分

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部