mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
updates to version 6.1
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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|
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user