summaryrefslogtreecommitdiffstats
path: root/example/attributes.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/attributes.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/attributes.xml')
-rw-r--r--example/attributes.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/example/attributes.xml b/example/attributes.xml
index 425dd96..0ab2626 100644
--- a/example/attributes.xml
+++ b/example/attributes.xml
@@ -179,4 +179,15 @@
minimum="0"
maximum="100" />
<!-- End of core-attributes definition -->
+ <attribute id="21" name="Monster attack speed"
+ desc="Attackspeed of the monster. 0 = no attacks, 100 = one per tick, 10 = one per second"
+ modifiable="false"
+ scope="monster"
+ minimum="0"
+ maximum="100" />
+ <attribute id="22" name="Monster attack damage"
+ desc="damage the monster deals per hit"
+ modifiable="false"
+ scope="monster"
+ minimum="0" />
</attributes>