Thread: [Essentials script] Simple Level Modifier
View Single Post
  #4    
Old March 20th, 2011 (09:25 AM).
Luka S.J.'s Avatar
Luka S.J. Luka S.J. is offline
@LukaSJ0
 
Join Date: Dec 2008
Location: Croatia
Age: 22
Gender: Male
Nature: Adamant
Posts: 892
Another thing would be random ranges for NPC wild battles and/or trainers
Code:
def pbLevelRange(min,max)
  difference=max-min
  level=rand(difference+1)
  level+=min
  return level
end
min would be the lowest possible level, and max would be the highest possible level that the Pokemon could reach. Where it falls between that line, is completely random.
__________________
Reply With Quote