value = operate_value(@parameters[1], @parameters[2], @parameters[3])
item_name = load_data("Data/Armors.rxdata")
$game_player.battler.damage = value.to_s + " x "+ item_name[@parameters[0]].name rescue nil
$game_player.battler.damage_pop = true rescue nil
$game_player.battler.item = true rescue nil
end
end
end
end
复制代码
作者: yang1zhi 时间: 2016-11-12 12:19
XAS - Defeat Process里面
module XRXS_CharacterDamagePop里面
def update里面
if @battler_visible
if @battler.damage == nil and @battler.dead?
if @battler.is_a?(Game_Enemy)
$game_system.se_play($data_system.enemy_collapse_se) if not XAS_BA_ENEMY::ITEM_ENEMY.include?(@battler.id)
else
$game_system.se_play($data_system.actor_collapse_se)
end
collapse
@battler_visible = false
end
这里改成
if @battler_visible
if @battler.damage == nil and @battler.dead?
if @battler.is_a?(Game_Enemy)
$game_system.se_play($data_system.enemy_collapse_se) if not XAS_BA_ENEMY::ITEM_ENEMY.include?(@battler.id)
else
#####################################################
$game_temp.common_event_id = 编号
####################################################
$game_system.se_play($data_system.actor_collapse_se)
end
collapse
@battler_visible = false
end