| 赞 | 5 |
| VIP | |
| 好人卡 | |
| 积分 | 39 |
| 经验 | |
| 最后登录 | 2026-8-3 |
| 在线时间 | 1899 小时 |
- 梦石
- 0
- 星屑
- 3850
- 在线时间
- 1899 小时
- 注册时间
- 2010-6-19
- 回帖
- 917
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有账号?注册会员
×
本帖最后由 黑米馒头 于 2011-10-27 17:47 编辑
如何写
当角色ID为3的时候
@active_battler.current_action.kind = 0
@active_battler.current_action.basic = 0
除此之外
@active_battler.current_action.kind = 1
不知道这样可不可以
if $data_actors[3].id
@active_battler.current_action.kind = 0
@active_battler.current_action.basic = 0
else
@active_battler.current_action.kind = 1
end
|
|