• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Raid Battles [DBK Add-On] [v21.1]

Resource Raid Battles [DBK Add-On] [v21.1] v1.0

Is it possible to set the raid Pokémon to be uncatchable?
Not currently. You can, however set the capture chance to 0% via DBK battle rules.

After a Raid, all subsequent battles start as Raids. How do I fix this?
Idk, sounds like your battle rules werent properly reset somehow.
 
After a Raid, all subsequent battles start as Raids. How do I fix this?
I don't know if this helps, but it fixed that same issue for me.
in [000] Raid Battle - Setup
From line 74-82

# Battle end.
$PokemonGlobal.partner = old_partner
$game_temp.transition_animation_data = nil
if rules[:pokemon]
EventHandlers.trigger(:on_wild_battle_end,
rules[:pokemon].species_data.id, rules[:pokemon].level, decision)
end
return [1, 4].include?(decision)
end

Add this chunck after the first end and before return [1, 4].include?(decision). Hopefully that fixed the issue.
[imath]game_temp.battle_rules.clear if[/imath]game_temp.battle_rules
$PokemonGlobal.nextBattleBGM = nil
[imath]PokemonGlobal.nextBattleBack = nil if[/imath]PokemonGlobal.respond_to?(:nextBattleBack)
[imath]PokemonGlobal.nextBattleBase = nil if[/imath]PokemonGlobal.respond_to?(:nextBattleBase)


# Battle end.
$PokemonGlobal.partner = old_partner
$game_temp.transition_animation_data = nil
if rules[:pokemon]
EventHandlers.trigger(:on_wild_battle_end,
rules[:pokemon].species_data.id, rules[:pokemon].level, decision)
end

[imath]game_temp.battle_rules.clear if[/imath]game_temp.battle_rules
$PokemonGlobal.nextBattleBGM = nil
[imath]PokemonGlobal.nextBattleBack = nil if[/imath]PokemonGlobal.respond_to?(:nextBattleBack)
[imath]PokemonGlobal.nextBattleBase = nil if[/imath]PokemonGlobal.respond_to?(:nextBattleBase)

return [1, 4].include?(decision)

end
 
I don't know if this helps, but it fixed that same issue for me.
in [000] Raid Battle - Setup
From line 74-82

# Battle end.
$PokemonGlobal.partner = old_partner
$game_temp.transition_animation_data = nil
if rules[:pokemon]
EventHandlers.trigger(:on_wild_battle_end,
rules[:pokemon].species_data.id, rules[:pokemon].level, decision)
end
return [1, 4].include?(decision)
end

Add this chunck after the first end and before return [1, 4].include?(decision). Hopefully that fixed the issue.
[imath]game_temp.battle_rules.clear if[/imath]game_temp.battle_rules
$PokemonGlobal.nextBattleBGM = nil
[imath]PokemonGlobal.nextBattleBack = nil if[/imath]PokemonGlobal.respond_to?(:nextBattleBack)
[imath]PokemonGlobal.nextBattleBase = nil if[/imath]PokemonGlobal.respond_to?(:nextBattleBase)


# Battle end.
$PokemonGlobal.partner = old_partner
$game_temp.transition_animation_data = nil
if rules[:pokemon]
EventHandlers.trigger(:on_wild_battle_end,
rules[:pokemon].species_data.id, rules[:pokemon].level, decision)
end

[imath]game_temp.battle_rules.clear if[/imath]game_temp.battle_rules
$PokemonGlobal.nextBattleBGM = nil
[imath]PokemonGlobal.nextBattleBack = nil if[/imath]PokemonGlobal.respond_to?(:nextBattleBack)
[imath]PokemonGlobal.nextBattleBase = nil if[/imath]PokemonGlobal.respond_to?(:nextBattleBase)

return [1, 4].include?(decision)

end
It works! Thank you so much!
 
Not currently. You can, however set the capture chance to 0% via DBK battle rules.


Idk, sounds like your battle rules werent properly reset somehow.
I couldn't set the capture rate to 0% via DBK battle rules. But I managed to solve it another way. In the file [001] Misc - Deluxe Additions, on line 138, I replaced this
battle.raidStyleCapture = true if !battle.raidStyleCapture

with this
if $game_switches[125]
battle.raidStyleCapture = false
else
battle.raidStyleCapture = true if !battle.raidStyleCapture
end
Then I created the switch 125 as RAID and you just need to activate and deactivate it before each RAID battle where you want to be uncatchable. I'll use it on legendaries and boss battles.
 
Back
Top