<p>I'm having trouble running this through a java compiler.</p><p>What seems to be wrong with it?</p><p><strong>The error that's showing is from this:</strong></p><p><strong>error:</strong> cannot find symbol</p><p>int damageTaken = rand.nextInt(EnemyAttackDamage);</p><p>symbol: variable EnemyAttackDamage</p><p>location: class