summaryrefslogtreecommitdiff
path: root/example/scripts/monster/basic_ai.lua
AgeCommit message (Collapse)AuthorFilesLines
2013-08-26Removed ability categoriesErik Schilling1-1/+1
2013-08-26Made cooldowns of abilities scriptableErik Schilling1-0/+1
- Removed hardcoded using of attributes - Simply introduced lua functions to set global and ability cooldowns - Requires database update - Bumps the protocol
2013-08-26Readded level handlingErik Schilling1-2/+20
Things done: Wrote a entity:give_experience function (lua side only). Renamed characterpoints to attributepoints (no db update. Did not want to do one for a simple rename). Temponary introduced a ATTR_LEVEL constant. TODO: dehardcode this. Script binds for settings the correction and attribute points.
2013-08-26Readded Entity:damage as lua functionErik Schilling1-7/+1
2013-08-26Added a first very basic monster ai versionErik Schilling1-38/+110
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.
2013-08-26[Abilities] Added abilities to monstersErik Schilling1-0/+97
Monsters can now either receive abilities at lifetime via scripts, or via the <ability> node in the monsters node.