Added the ability for statuses to have data (like duration) and the sleep and toxic status effects

This commit is contained in:
James Daly
2019-06-02 22:46:32 -04:00
parent 40553d36b9
commit 34cd67c36f
7 changed files with 127 additions and 56 deletions
+3 -4
View File
@@ -14,13 +14,12 @@ case class Prop(url : Seq[String])
object Game {
def main(args : Array[String]): Unit = {
println(Element("Water").effect)
println(Status("psn"))
implicit val rng = new scala.util.Random()
val form1 = Form("Diabolo")
val form2 = Form("Chanilla")
val movepool1 = IndexedSeq(Move("Ice Beam"))
val movepool2 = IndexedSeq(Move("Scald"))
val movepool1 = IndexedSeq(Move("Aqua Jet"))
val movepool2 = IndexedSeq(Move("Thunder Wave"))
val p1 = TrainerID("Jaeda", Gender.Female, 0)
val p2 = TrainerID("Wild Monster", Gender.Male, 0)
val party1 = new Party(p1, new MonsterPtr(new Monster(new StorageMon("Allied Mon", 500, Gene.randomGene(null, form1), form1, Statistic.emptyEvs, movepool1))), IndexedSeq())