summaryrefslogtreecommitdiffstats
path: root/example/abilities.xml
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2013-05-05 10:35:36 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-05-12 09:58:12 +0200
commit323b14db576e9fec6f714f907aec07264a47d57a (patch)
tree72b9bffe52b7ae5b249bc348730fa81740bd8bc4 /example/abilities.xml
parentd64e1c6d41362c5305a1b5f06fc34d9794f82a88 (diff)
downloadmanaserv-323b14db576e9fec6f714f907aec07264a47d57a.tar.gz
manaserv-323b14db576e9fec6f714f907aec07264a47d57a.tar.xz
manaserv-323b14db576e9fec6f714f907aec07264a47d57a.zip
Added a first very basic monster ai version
The ai is similar to the old c++ version. Only the target searching is executed every 10 ticks only now to prevent performance issues with too many lua calls.
Diffstat (limited to 'example/abilities.xml')
-rw-r--r--example/abilities.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/example/abilities.xml b/example/abilities.xml
index 0cbcd23..5b8a380 100644
--- a/example/abilities.xml
+++ b/example/abilities.xml
@@ -12,4 +12,15 @@
useaction="attack"
/>
</ability-category>
+ <ability-category name="Monster attack">
+ <ability
+ id="2"
+ name="Basic Monster strike"
+ rechargeable="true"
+ needed="100"
+ rechargeattribute="21"
+ target="being"
+ useaction="attack"
+ />
+ </ability-category>
</abilities>