Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Mr BigSock
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Gard Aleksander Furre
Mr BigSock
Merge requests
!56
New ability fire rework. (Charging)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
New ability fire rework. (Charging)
master
into
main
Overview
0
Commits
7
Pipelines
0
Changes
12
Merged
Robin Halseth Sandvik
requested to merge
master
into
main
2 years ago
Overview
0
Commits
7
Pipelines
0
Changes
12
Expand
New system supporting abilities having fire modes. (Tap to fire, full auto & charge so far)
Charged abilities can set min and max charging time and can receive info about how much they were charged.
Reworked PlayerController to handle these different fire modes on abilities.
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
07fd07cb
7 commits,
2 years ago
12 files
+
327
−
150
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
12
Search (e.g. *.vue) (Ctrl+P)
MrBigsock/Assets/Code/Core/Abilities/Base/AbilityParam.cs
+
12
−
0
Options
@@ -29,6 +29,18 @@ namespace BigSock {
The character that activated the ability.
*/
public
Character
Actor
{
get
;
set
;
}
/*
How long the ability was charged.
*/
public
float
ChargeTime
{
get
;
set
;
}
/*
How much of the allowed charge was done in percent.
Ex.: if min is 1s, max is 3s, and the ability was charged for 2s,
then 0.5 since it was charged for half the time between min and max.
*/
public
float
ChargeTimePercent
{
get
;
set
;
}
}
}
\ No newline at end of file
Loading