Hello! While playtesting my game I noticed my attacks missed a lot of times, even with just 5% chance to miss,
I think a streak of bad luck, which is strangely likely to happen, would probably anger the player.
I'd like to have every missing attack deal a certain amount of damage for example rand(a.atk), while still having the miss icon pop-up, I don't need such amount to be different from skill to skill.
I imagined I could accomplish this by changing something in the Game_battler script, around line 500:
but I'm not quite sure, I'm also not too sure about how to check the a.atk outside of the skill damage formula, can you help me? 🙂
I think a streak of bad luck, which is strangely likely to happen, would probably anger the player.
I'd like to have every missing attack deal a certain amount of damage for example rand(a.atk), while still having the miss icon pop-up, I don't need such amount to be different from skill to skill.
I imagined I could accomplish this by changing something in the Game_battler script, around line 500:
#-------------------------------------------------------------------------- # * Apply Effect of Skill/Item #-------------------------------------------------------------------------- def item_apply(user, item) @result.clear @result.used = item_test(user, item) @result.missed = (@result.used && rand >= item_hit(user, item)) @result.evaded = ([email protected] && rand < item_eva(user, item)) if @result.hit? unless item.damage.none? @result.critical = (rand < item_cri(user, item)) make_damage_value(user, item) execute_damage(user) end item.effects.each {|effect| item_effect_apply(user, item, effect) } item_user_effect(user, item) end end