标题: 屏蔽某些武器 [打印本页] 作者: kula1900 时间: 2009-5-13 20:51 标题: 屏蔽某些武器 # 添加可以装备的武器
if @equip_type == 0
weapon_set = $data_classes[@actor.class_id].weapon_set
for i in 1...$data_weapons.size
print $kind
if $game_party.weapon_number(i) > 0 and weapon_set.include?(i) and #修改#id != 10
@data.push($data_weapons)
end
end
end
我如何屏蔽掉 id为⑩的武器?我那样修改貌似不对~~没有理解武器id的变量
[LINE]1,#dddddd[/LINE]版务信息:本贴由楼主自主结贴~作者: 后知后觉 时间: 2009-5-13 21:44
if $game_party.weapon_number(i) > 0 and weapon_set.include?(i) and i != 10