From 1fdbc0af01b9e515a8610b20c4e0cb760a3635eb Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Fri, 19 Apr 2013 15:36:18 +0200 Subject: [Abilities] Made the rechargespeed depending on attributes This allows a lot more flexibility and makes stuff like magical items a lot easier to implement. We will also use this for the attack system in the future. So a attack (abilitiy) would simply depend on some value like Agility (or a derived attribute from it). Which sets the recharge speed. The recharge speed is the modified value of the attribute per game tick. --- src/account-server/character.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/account-server/character.h') diff --git a/src/account-server/character.h b/src/account-server/character.h index f59fe234..53443c4b 100644 --- a/src/account-server/character.h +++ b/src/account-server/character.h @@ -65,7 +65,7 @@ struct AbilityValue : currentPoints(currentPoints) {} - unsigned currentPoints; + int currentPoints; }; struct Status -- cgit v1.2.3-60-g2f50