| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2015-8-12 |
| 在线时间 | 18 小时 |
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 18 小时
- 注册时间
- 2008-4-25
- 回帖
- 20
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有账号?注册会员
×
求问下VA里怎么获取装备中武器的ID或者某项属性?
XP的
$game_party.actors[0].weapon_id
貌似是不行的……
用这个
$game_actors[1].weapons
倒是搞出了下面一大滩,但是只要其中的ID或者某项属性(如攻击力)该怎么写?
[#<RPG::Weapon:0x3575898 @description="", @name="ff", @icon_index=147, @price=0, @animation_id=0, @note="", @id=1, @features=[#<RPG::BaseItem::Feature:0x35756f4 @code=31, @data_id=1, @value=0>, #<RPG::BaseItem::Feature:0x35756a4 @code=22, @data_id=0, @value=0>], @params=[0, 0, 15, 0, 10, 0, 0, 0], @etype_id=0, @wtype_id=1>]
|
|