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.
S.J.Ware HD
 
Join Date: Dec 2008
Age: 21
Gender: Male
Nature: Adamant
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.
__________________
[STOPPED][DEMO] Pokemon Blue Chrome
[DEVELOPING] S.J.Ware
[DEVELOPING] Tykanite
Reply With Quote