加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 金芒芒 于 2024-11-8 11:07 编辑
如果使数据库的1号武器==module Equips_data @data_id = 1
module Equips_data @data_id = 1 ICON[@data_id] = "icon_1280" NAME[@data_id] = "测试盾" DISCRIPTION[@data_id] = "测试用的盾,非常坚固,非常" PRICE[@data_id] = 999 #价格[@data_id] #类型: 1.甲 2.盾 3.近战武器 4.远程武器 5.马 TYPE[@data_id] = 2 #限制:只有特定兵种才能装,nil都能装 LIMIT[@data_id] = nil #防具类, 都是加成 AMMOR_HP[@data_id] = 0 SHD_HP[@data_id] = 45 LIVE_CHANCE[@data_id] = 0 MOVEMENT_SPEED[@data_id] = 0 CRITICAL[@data_id] = 0 BASE_ATK[@data_id] = 0 BRO_ATK[@data_id] = 0 S_BASE_ATK[@data_id] = 0 S_BRO_ATK[@data_id] = 0 ANTI_CAV[@data_id] = 0 ANTI_INF[@data_id] = 0 ATK_FR[@data_id] = 0 ACCURATCY[@data_id] = 0 ENGAGE_RANGE[@data_id] = 0 AMMO_MAX[@data_id] = 0 MORALE[@data_id] = 0 end
module Equips_data
@data_id = 1
ICON[@data_id] = "icon_1280"
NAME[@data_id] = "测试盾"
DISCRIPTION[@data_id] = "测试用的盾,非常坚固,非常"
PRICE[@data_id] = 999 #价格[@data_id]
#类型: 1.甲 2.盾 3.近战武器 4.远程武器 5.马
TYPE[@data_id] = 2
#限制:只有特定兵种才能装,nil都能装
LIMIT[@data_id] = nil
#防具类, 都是加成
AMMOR_HP[@data_id] = 0
SHD_HP[@data_id] = 45
LIVE_CHANCE[@data_id] = 0
MOVEMENT_SPEED[@data_id] = 0
CRITICAL[@data_id] = 0
BASE_ATK[@data_id] = 0
BRO_ATK[@data_id] = 0
S_BASE_ATK[@data_id] = 0
S_BRO_ATK[@data_id] = 0
ANTI_CAV[@data_id] = 0
ANTI_INF[@data_id] = 0
ATK_FR[@data_id] = 0
ACCURATCY[@data_id] = 0
ENGAGE_RANGE[@data_id] = 0
AMMO_MAX[@data_id] = 0
MORALE[@data_id] = 0
end
|