#--------------------------------------------------------------------------
# ● 增减等级
#--------------------------------------------------------------------------
def command_316
# 获取操作值
value = operate_value(@parameters[1], @parameters[2], @parameters[3])
# 处理重复
iterate_actor(@parameters[0]) do |actor|
# 更改角色的等级
actor.level += value
# 角色升级,回复,加减HP,SP的自动播放指定动画★★★★★★★★★★★★★★★★★★★★★★★★★
if value > 0
actor.recover_all; $game_player.animation_id = 105
for i in $game_party.characters
if i.name == "媚灵狐"
i.animation_id = 105 # 队友们播放的动画ID
elsif i.name == "武尊神"
i.animation_id = 105 # 队友们播放的动画ID
end
end
end
# ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
end
# 继续
return true
end
#--------------------------------------------------------------------------
# ● 增减等级
#--------------------------------------------------------------------------
def command_316
# 获取操作值
value = operate_value(@parameters[1], @parameters[2], @parameters[3])
# 处理重复
iterate_actor(@parameters[0]) do |actor|
# 更改角色的等级
actor.level += value
# 角色升级,回复,加减HP,SP的自动播放指定动画★★★★★★★★★★★★★★★★★★★★★★★★★
if value > 0
actor.recover_all; $game_player.animation_id = 105
for i in $game_party.characters
if i.name == "媚灵狐"
i.animation_id = 105 # 队友们播放的动画ID
elsif i.name == "武尊神"
i.animation_id = 105 # 队友们播放的动画ID
end
end
end
# ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
end
# 继续
return true
end