updates to version 6.1

This commit is contained in:
infinitefusion
2024-03-28 17:14:35 -04:00
parent e952a6f574
commit 1635409e6d
1151 changed files with 509422 additions and 5972 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -2993,10 +2993,10 @@ class PokeBattle_Move_0EB < PokeBattle_Move
@battle.pbDisplay(_INTL("But it failed!"))
return true
end
if @battle.wildBattle? && target.level>user.level
@battle.pbDisplay(_INTL("But it failed!"))
return true
end
# if @battle.wildBattle? && target.level>user.level
# @battle.pbDisplay(_INTL("But it failed!"))
# return true
# end
if @battle.trainerBattle?
canSwitch = false
@battle.eachInTeamFromBattlerIndex(target.index) do |_pkmn,i|

View File

@@ -2069,17 +2069,29 @@ class PokeBattle_Move_164 < PokeBattle_Move_163
@calcCategory = (realAtk > realSpAtk) ? 0 : 1
if user.hasActiveItem?(:NECROZIUM) && (user.isFusionOf(:NECROZMA) && !user.pokemon.spriteform_body && !user.pokemon.spriteform_head)
user.type2 = :DRAGON if user.pokemon.hasBodyOf?(:NECROZMA)
user.attack*=1.3
user.spatk*=1.3
user.defense*=0.5
user.spdef*=0.5
user.speed*=1.5
user.changeForm(1,:NECROZMA)
# user.type2 = :DRAGON if user.pokemon.hasBodyOf?(:NECROZMA)
# user.attack*=1.3
# user.spatk*=1.3
# user.defense*=0.5
# user.spdef*=0.5
# user.speed*=1.5
user.changeFormSpecies(:NECROZMA,:U_NECROZMA,"UltraBurst2")
#user.changeForm(1,:NECROZMA)
end
end
end
#change back at the end of battle
Events.onEndBattle += proc { |_sender,_e|
$Trainer.party.each_with_index do |value, i|
pokemon = $Trainer.party[i]
if pokemon.isFusionOf(:U_NECROZMA)
pokemon.changeFormSpecies(:U_NECROZMA,:NECROZMA)
end
end
}
#===============================================================================
# Negates the target's ability while it remains on the field, if it has already
# performed its action this round. (Core Enforcer)