Skip to content
Snippets Groups Projects
Commit cde5b976 authored by Robin Halseth Sandvik's avatar Robin Halseth Sandvik
Browse files

Added ability parameters for charging.

parent 60c83e03
No related branches found
No related tags found
1 merge request!56New ability fire rework. (Charging)
......@@ -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
......@@ -30,6 +30,18 @@ namespace BigSock {
*/
Character Actor { get; set; }
/*
How long the ability was charged.
*/
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.
*/
float ChargeTimePercent { get; set; }
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment