mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-12 07:35:00 +00:00
Updated to mkxp-z v2.1.1, renamed and rearranged some script files
This commit is contained in:
@@ -166,7 +166,7 @@ class PBPokemon
|
||||
ev.each { |stat| pokemon.ev[stat] = Pokemon::EV_LIMIT / ev.length }
|
||||
end
|
||||
GameData::Stat.each_main { |s| pokemon.iv[s.id] = iv }
|
||||
pokemon.calcStats
|
||||
pokemon.calc_stats
|
||||
return pokemon
|
||||
end
|
||||
end
|
||||
|
||||
@@ -60,14 +60,14 @@ class LevelAdjustment
|
||||
exp=adjustments[0][i]
|
||||
if exp && team1[i].exp!=exp
|
||||
team1[i].exp=exp
|
||||
team1[i].calcStats
|
||||
team1[i].calc_stats
|
||||
end
|
||||
end
|
||||
for i in 0...team2.length
|
||||
exp=adjustments[1][i]
|
||||
if exp && team2[i].exp!=exp
|
||||
team2[i].exp=exp
|
||||
team2[i].calcStats
|
||||
team2[i].calc_stats
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -90,7 +90,7 @@ class LevelAdjustment
|
||||
for i in 0...team1.length
|
||||
if team1[i].level!=adj1[i]
|
||||
team1[i].level=adj1[i]
|
||||
team1[i].calcStats
|
||||
team1[i].calc_stats
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -98,7 +98,7 @@ class LevelAdjustment
|
||||
for i in 0...team2.length
|
||||
if team2[i].level!=adj2[i]
|
||||
team2[i].level=adj2[i]
|
||||
team2[i].calcStats
|
||||
team2[i].calc_stats
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -849,7 +849,7 @@ def pbRuledBattle(team1,team2,rule)
|
||||
next if !p
|
||||
if p.level!=level
|
||||
p.level=level
|
||||
p.calcStats
|
||||
p.calc_stats
|
||||
end
|
||||
items1[i]=p.item_id
|
||||
trainer1.party.push(p)
|
||||
@@ -858,7 +858,7 @@ def pbRuledBattle(team1,team2,rule)
|
||||
next if !p
|
||||
if p.level!=level
|
||||
p.level=level
|
||||
p.calcStats
|
||||
p.calc_stats
|
||||
end
|
||||
items2[i]=p.item_id
|
||||
trainer2.party.push(p)
|
||||
|
||||
Reference in New Issue
Block a user