| 赞 | 7 |
| VIP | |
| 好人卡 | |
| 积分 | 15 |
| 经验 | |
| 最后登录 | 2026-6-20 |
| 在线时间 | 815 小时 |
- 梦石
- 0
- 星屑
- 1461
- 在线时间
- 815 小时
- 注册时间
- 2013-8-3
- 回帖
- 355
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有账号?注册会员
×
这个脚本显示多人状态都重叠在一个位置了,我想要分别排开
脚本[pre lang="ruby"]#角色能力值窗口 v1.0
#----------#
#功能: 显示一个带有角色能力值信息的窗口!
#
#使用方法: 别搞错了哦!
# @(varname) = W_Merc.new(actor id)
# @(varname).dispose
#
#例子: @mew = W_Merc.new(1)
# Random Text Box <<
# @mew.dispose
#
# 如果不使用 dispose, 窗口就不会消失,你就会很难受了 .
#
#----------#
#-- Script by: V.M of D.T
#
#- Questions or comments can be:
# posted on the thread for the script
# given by email: sumptuaryspade@live.ca
# provided on facebook: http://www.facebook.com/DaimoniousTailsGames
# All my other scripts and projects can be found here: http://daimonioustails.weebly.com/
#
#--- Free to use in any project, commercial or non-commercial, with credit given
# - - Though a donation's always a nice way to say thank you~ (I also accept actual thank you's)
class W_Merc < Window_Base
WLH = 24
def initialize(actor, x = 5, y = 5)
super(0, 290, 96*2 - WLH,120)
self.z = 20
@actor = $game_actors[actor]
refresh
end
def refresh
#draw_actor_face(@actor, 0, WLH)
draw_actor_name(@actor, 10, 0)
# draw_actor_nickname(@actor, 0, 96 + WLH)
draw_actor_level(@actor, 80, 0 * 2)
#draw_actor_class(@actor, 0, 96 + WLH * 3)
draw_actor_hp(@actor, 0, 5 * 5)
draw_actor_mp(@actor, 0, 10 * 6)
end
end[/pre] |
-
|