赞 | 0 |
VIP | 8 |
好人卡 | 0 |
积分 | 1 |
经验 | 5594 |
最后登录 | 2017-5-24 |
在线时间 | 244 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 244 小时
- 注册时间
- 2008-1-25
- 帖子
- 312
|
3楼
楼主 |
发表于 2008-2-1 00:27:01
|
只看该作者
def initialize(id, prefix_rarity=[], suffix_rarity=[], parameter=0, prefix_id=0, suffix_id=0)
# 初始化数据
@type = id
@name = $data_weapons[id, true].name
@icon_name = $data_weapons[id, true].icon_name
@description = $data_weapons[id, true].description
@reference_value = $data_weapons[id, true].reference_value
@current_rating = $data_weapons[id, true].rating
@animation1_id = $data_weapons[id, true].animation1_id
@animation2_id = $data_weapons[id, true].animation2_id
@price = $data_weapons[id, true].price
@atk = $data_weapons[id, true].atk
@pdef = $data_weapons[id, true].pdef
@mdef = $data_weapons[id, true].mdef
@str_plus = $data_weapons[id, true].str_plus
@dex_plus = $data_weapons[id, true].dex_plus
@agi_plus = $data_weapons[id, true].agi_plus
@int_plus = $data_weapons[id, true].int_plus
@element_set = $data_weapons[id, true].element_set
@plus_state_set = $data_weapons[id, true].plus_state_set
@minus_state_set = $data_weapons[id, true].minus_state_set
@rarity = 0
@reqlevel = 1
都改取消 true? |
|