diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-27 21:09:23 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-05-08 14:02:51 +0200 |
commit | cec65058123f710643290c13b7f2b0512b878381 (patch) | |
tree | 8130d69617e8da8f1920ae5538a0b5a2d8d1bfd5 /example/scripts/maps | |
parent | 0a1332f04b841bc32e09552665e5cd611fa23ca8 (diff) | |
download | manaserv-cec65058123f710643290c13b7f2b0512b878381.tar.gz manaserv-cec65058123f710643290c13b7f2b0512b878381.tar.xz manaserv-cec65058123f710643290c13b7f2b0512b878381.zip |
[Abilities] Removed the old autoattack system
As a side effect i had to remove the monster attack AI for now. I will
readd this as next thing.
Diffstat (limited to 'example/scripts/maps')
-rw-r--r-- | example/scripts/maps/desert.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/example/scripts/maps/desert.lua b/example/scripts/maps/desert.lua index 5f7f2d2..343ee6c 100644 --- a/example/scripts/maps/desert.lua +++ b/example/scripts/maps/desert.lua @@ -130,13 +130,11 @@ function Tamer(npc, ch, list) end local m1 = monster_create("Maggot", ch:position()) - m1:change_anger(ch, 100) -- (The following is not safe, since the being might have been removed by -- the time this function gets executed (especially with the above code)) -- --schedule_in(0.5, function() -- m1:say("Roaaarrrr!!!") - -- m1:change_anger(ch, 100) -- end) end |