Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
A ket torony
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sabvente
A ket torony
Commits
f8618b16
Commit
f8618b16
authored
11 years ago
by
Sabvente
Browse files
Options
Downloads
Patches
Plain Diff
balance :)
parent
27f7397b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/world/Tower.java
+2
-2
2 additions, 2 deletions
src/world/Tower.java
with
2 additions
and
2 deletions
src/world/Tower.java
+
2
−
2
View file @
f8618b16
...
...
@@ -42,7 +42,7 @@ public class Tower extends Placeable implements ITickable, IEnemyObserver,
damage
.
put
(
EnemyType
.
ELF
,
30
);
damage
.
put
(
EnemyType
.
HOBBIT
,
30
);
enemiesInRange
=
new
ArrayList
<
Enemy
>();
recoilTime
=
5
;
recoilTime
=
4
;
range
=
1
;
}
...
...
@@ -115,7 +115,7 @@ public class Tower extends Placeable implements ITickable, IEnemyObserver,
if
(!
fogDescends
)
{
if
((
new
Random
()).
nextInt
(
50
)
==
0
)
{
fogDescends
=
true
;
fogTimeLeft
=
3
+
(
new
Random
()).
nextInt
(
2
0
);
fogTimeLeft
=
3
+
(
new
Random
()).
nextInt
(
1
0
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment