Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OriginalGladiator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ryan Hoppe (rmh898)
OriginalGladiator
Commits
324f7c19
Commit
324f7c19
authored
8 years ago
by
Ryan Hoppe (rmh898)
Browse files
Options
Downloads
Patches
Plain Diff
Proposed weapon stats thrown into the arena controller script
parent
c2bd2a1d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Zookeepers Trial/Assets/Scripts/ArenaCombatControl.cs
+34
-1
34 additions, 1 deletion
Zookeepers Trial/Assets/Scripts/ArenaCombatControl.cs
with
34 additions
and
1 deletion
Zookeepers Trial/Assets/Scripts/ArenaCombatControl.cs
+
34
−
1
View file @
324f7c19
...
...
@@ -20,6 +20,7 @@ public class ArenaCombatControl : MonoBehaviour {
weapons
[
currentWeapon
].
attackSpeed
=
1f
;
Player
=
GetComponent
<
Rigidbody2D
>();
myAnimator
=
GetComponent
<
Animator
>();
//required for animation *******
SetWeaponStats
();
}
// Update is called once per frame
...
...
@@ -117,4 +118,36 @@ public class ArenaCombatControl : MonoBehaviour {
}
}
}
}
//a few proposed weapon stats
private
void
SetWeaponStats
()
{
weapons
[
1
].
damageMin
=
1
;
weapons
[
1
].
damageMax
=
5
;
weapons
[
1
].
attackSpeed
=
1
;
weapons
[
2
].
damageMin
=
2
;
weapons
[
2
].
damageMax
=
5
;
weapons
[
2
].
attackSpeed
=
2
;
weapons
[
3
].
damageMin
=
3
;
weapons
[
3
].
damageMax
=
6
;
weapons
[
3
].
attackSpeed
=
2
;
weapons
[
4
].
damageMin
=
3
;
weapons
[
4
].
damageMax
=
4
;
weapons
[
4
].
attackSpeed
=
4
;
weapons
[
5
].
damageMin
=
6
;
weapons
[
5
].
damageMax
=
12
;
weapons
[
5
].
attackSpeed
=
1
;
weapons
[
6
].
damageMin
=
5
;
weapons
[
6
].
damageMax
=
10
;
weapons
[
6
].
attackSpeed
=
3
;
}
}
\ No newline at end of file
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