summaryrefslogtreecommitdiff
path: root/example/scripts/damage.lua
AgeCommit message (Collapse)AuthorFilesLines
2013-08-26Allowed to push attributeinfos for the attribute recalculationErik Schilling1-4/+4
While on it I replaced the id usage in the server with the usage of the AttributeInfo directly. Next steps: - Dehardcode the core attribute ids and store their attributeinfos somewhere in AttributeManager (for now i simply wrapped the ids with getAttributeInfo(). - Move AttributeInfo out of AttributeManager to shorten the usage + to allow using a pointer in ModifierLocation without forward declaring it.
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-0/+31