06-02-2022, 01:47 AM
(This post was last modified: 06-02-2022, 01:50 AM by DerVVulfman.)
Paralyzed!? Ooh. Status ailments to the rescue. Yeah, that's something I had not considered. So indeed, something will need to be done.
Insofar as your 'Character 2' attacking out of turn... Does he/she share a Database position index as an attacker? By that, consider that the Sahagin is enemy #3 as well as Cyrus being actor #3. I would have sworn this was not an issue at all, but if this is the case, let me know.
As to:
Line 221:No method error occured.
undefined method ' ' for nil:NilClass
... the system performs a few tests before a counter attack is performed. And within in phase_4_step5, I have this bit of code
Initially, I thought it was adequate. But I figure one additional like would be worthwhile:
next if chance == 0
Place this before the line that reads
next if chance < rand(100)
And if no 'chance' for a combo attack still exists... SKIP IT!
Currently, that is why I dub this script
Temporarily of course. I still need to consider the Restriction Level 4(Can't Move) for any Paralyze-styled status ailments.
Insofar as your 'Character 2' attacking out of turn... Does he/she share a Database position index as an attacker? By that, consider that the Sahagin is enemy #3 as well as Cyrus being actor #3. I would have sworn this was not an issue at all, but if this is the case, let me know.
As to:
Line 221:No method error occured.
undefined method ' ' for nil:NilClass
... the system performs a few tests before a counter attack is performed. And within in phase_4_step5, I have this bit of code
Code:
# Define chance
chance = 0
# Determine counterattack chance for enemy/actor
if target.is_a?(Game_Enemy)
if CounterAttack::ENEMY.has_key?(target.id)
chance = CounterAttack::ENEMY[target.id][0]
end
else
if CounterAttack::ACTOR.has_key?(target.id)
chance = CounterAttack::ACTOR[target.id][0]
end
end
#
Initially, I thought it was adequate. But I figure one additional like would be worthwhile:
next if chance == 0
Place this before the line that reads
next if chance < rand(100)
And if no 'chance' for a combo attack still exists... SKIP IT!
Currently, that is why I dub this script
BUMP
to version 1.1
to version 1.1
Temporarily of course. I still need to consider the Restriction Level 4(Can't Move) for any Paralyze-styled status ailments.