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. --- example/abilities.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'example') diff --git a/example/abilities.xml b/example/abilities.xml index 4289d6cd..93a67c0b 100644 --- a/example/abilities.xml +++ b/example/abilities.xml @@ -6,7 +6,7 @@ name="Test Spell 1" rechargeable="true" needed="100" - rechargespeed="10" + rechargeattribute="6" target="point" /> -- cgit v1.2.3-70-g09d2