summaryrefslogtreecommitdiff
path: root/src/game-server/attribute.h
AgeCommit message (Collapse)AuthorFilesLines
2012-02-02Added a way to specify the min and max attributes values.Yohann Ferreira1-2/+12
This can now be done in attributes.xml through the minimum and maximum attribute parameters. I also changed the AttributeInfo struct as requested by bjorn. Reviewed-by: Erik Schilling, Thorbjørn Lindeijer
2011-03-20Renaming stuff to make the code more readableThorbjørn Lindeijer1-6/+4
SCOPE_TYPES -> ScopeType (plural was confusing) ATTR_BEING -> BeingScope ATTR_CHAR -> CharacterScope ATTR_MOD -> MonsterScope ATTR_MAX -> MaxScope AttributeScopes -> AttributeScope (A single scope seems to include multiple lists of attributes. Seems wrong to me to name this type in plural form.) getAttributeInfoForType -> getAttributeScope (just naming it after what it is actually returning) Reviewed-by: Freeyorp
2011-03-20Moved defines.h and manaserv_protocol.h into 'common'Thorbjørn Lindeijer1-1/+1
Just seems a bit more organized to me.
2011-03-20Some renamings to try to make things more readableThorbjørn Lindeijer1-11/+21
AT_TY -> StackableType TY_ST -> Stackable TY_NST -> NonStackable TY_NSTB -> NonStackableBonus AME_TY -> ModifierEffectType AME_MULT -> Multiplicative AME_ADD -> Additive Got rid of related documentation, which is now stating the obvious. Also renamed many related variables. Reviewed-by: Freeyorp
2010-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira1-0/+184
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.