Skip to content
Snippets Groups Projects

New ability fire rework. (Charging)

Merged Robin Halseth Sandvik requested to merge master into main
12 files
+ 327
150
Compare changes
  • Side-by-side
  • Inline
Files
12
@@ -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