diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-19 15:36:18 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-08-26 22:56:46 +0200 |
commit | 1fdbc0af01b9e515a8610b20c4e0cb760a3635eb (patch) | |
tree | e88082ebd9431a3dccafe2d32bafcb72be4841d5 /example | |
parent | 3598685c0fcbb9b5fdbcdbbaee258e2b55d5c98a (diff) | |
download | manaserv-1fdbc0af01b9e515a8610b20c4e0cb760a3635eb.tar.gz manaserv-1fdbc0af01b9e515a8610b20c4e0cb760a3635eb.tar.bz2 manaserv-1fdbc0af01b9e515a8610b20c4e0cb760a3635eb.tar.xz manaserv-1fdbc0af01b9e515a8610b20c4e0cb760a3635eb.zip |
[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.
Diffstat (limited to 'example')
-rw-r--r-- | example/abilities.xml | 6 |
1 files changed, 3 insertions, 3 deletions
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" /> <ability @@ -14,7 +14,7 @@ name="Test Spell 2" rechargeable="true" needed="1000" - rechargespeed="10" + rechargeattribute="6" target="being" /> <ability @@ -22,7 +22,7 @@ name="Test Spell 3" rechargeable="true" needed="10000" - rechargespeed="10" + rechargeattribute="6" target="point" /> </ability-category> |