赞 | 0 |
VIP | 2 |
好人卡 | 1 |
积分 | 6 |
经验 | 27196 |
最后登录 | 2023-12-29 |
在线时间 | 169 小时 |
Lv2.观梦者
- 梦石
- 0
- 星屑
- 594
- 在线时间
- 169 小时
- 注册时间
- 2008-10-29
- 帖子
- 431
|
一开始 skillp 都定义好了吗
那句话 应该没问题啊
位置放对了吗
放在
def setup(actor_id)
actor = $data_actors[actor_id]
@actor_id = actor_id
@name = actor.name
@character_name = actor.character_name
@character_hue = actor.character_hue
@battler_name = actor.battler_name
@battler_hue = actor.battler_hue
@class_id = actor.class_id
@weapon_id = actor.weapon_id
@armor1_id = actor.armor1_id
@armor2_id = actor.armor2_id
@armor3_id = actor.armor3_id
@armor4_id = actor.armor4_id
@level = actor.initial_level
@exp_list = Array.new(101)
make_exp_list
@exp = @exp_list[@level]
@skills = []
@hp = maxhp
@sp = maxsp
@states = []
@states_turn = {}
@maxhp_plus = 0
@maxsp_plus = 0
@str_plus = 0
@dex_plus = 0
@agi_plus = 0
@int_plus = 0
的后面好了
还不行的话 先让它等于 10 或者随便一个自然数
看看有没有问题 |
|