summaryrefslogtreecommitdiff
path: root/db/constants.conf
AgeCommit message (Collapse)AuthorFilesLines
2017-04-23Merge pull request #1584 from Smokexyz/masterHaru1-2/+66
Implementation of unit controlling script commands.
2017-04-18Update NPC IDJedzkie1-0/+45
2017-04-04Implementation of unit controlling script commands.Smokexyz1-2/+66
Setunitdata <GID>, <DataType>, <Val1> {, <Val2>, <Val3>} Getunitdata <GUID>, <DataType> {, <Variable>} Getunitname <unit id> Setunitname <unit id>, <name> Performs alteration and retrieval of real-time unit data for a game object of the types - NPCs, Pets, Monsters, Homunuculus', Mercenaries, Elementals. Applicable data types (available as script constants) - UDT_TYPE: Unit Type value (BL_MOB, BL_NPC, BL_PET, BL_ELEM, BL_MER, BL_HOM) UDT_SIZE: Unit Size UDT_LEVEL: Level UDT_HP: Current HP UDT_MAXHP: Max HP UDT_SP: SP UDT_MAXSP: MAX SP UDT_MASTERAID: Master Account ID (for Summons) UDT_MASTERCID: Master Char ID (for Summons) UDT_MAPIDXY: Warp a Unit to a map. UDT_WALKTOXY: Make a unit walk to certain co-ordinates. UDT_SPEED: Unit Speed UDT_MODE: Mode (Mobs) UDT_AI: Unit AI Type UDT_SCOPTION: Status Options. UDT_SEX: mm Sex. UDT_CLASS: Class of the unit. UDT_HAIRSTYLE: Hair Style of the unit. UDT_HAIRCOLOR: Hair Color. UDT_HEADBOTTOM: Headgear Bottom Sprite. UDT_HEADMIDDLE: Headgear Middle Sprite. UDT_HEADTOP: Headegar Top Sprite. UDT_CLOTHCOLOR: Cloth Color. UDT_SHIELD: Shield Sprite. UDT_WEAPON: Weapon Sprite. UDT_LOOKDIR: Face direction. UDT_CANMOVETICK:Stop a unit from move for n seconds. UDT_STR: Unit STR. UDT_AGI: Unit AGI. UDT_VIT: Unit VIT. UDT_INT: Unit INT. UDT_DEX: Unit DEX. UDT_LUK: Unit LUK. UDT_ATKRANGE: Attack range of a unit. UDT_ATKMIN: Min Atk of a unit. UDT_ATKMAX: Max Atk of a unit. UDT_MATKMIN: Min MATK of a unit. UDT_MATKMAX: Max MATK of a unit. UDT_DEF: DEF. UDT_MDEF: MDEF. UDT_HIT: HIT. UDT_FLEE: FLEE. UDT_PDODGE: Perfect Dodge. UDT_CRIT: Critical Rate. UDT_RACE: Race. (Eg. string constants RC_DemiHuman or Integer 7). UDT_ELETYPE: Element. (Eg. string constants Ele_Neutral or Integer 0). UDT_ELELEVEL: Element Level (int). UDT_AMOTION: AMotion Rate (int). UDT_ADELAY: ADelay Rate (int). UDT_DMOTION: DMotion Rate (int). UDT_HUNGER: Hunger Rate (int) - for summons. UDT_INTIMACY: Intimacy Rate (int) - for summons. UDT_LIFETIME: LifeTime (int) - for summons. UDT_MERC_KILLCOUNT: Kill count for mercenaries (int). UDT_STATPOINT: Status Points (int) - for npcs. Addition of AI constants as well. Documentation is included. Credits: [rA](https://github.com/rathena/rathena/commit/2cee5b6ff1bf53c4ae53bc1278b09ae84b8a0a76) & [Smokexyz](https://github.com/Smokexyz)
2017-03-28add gettimer() buildingumi1-2/+7
2016-10-22Added Summoner Skills(in DB)Dastgir Pojee1-0/+12
Added Summoner SC ID's in status.h
2016-10-22Added Summoner Class.Dastgir Pojee1-0/+3
(Only Placeholder, other things related to summoner will follow-up soon) Added SQL-Upgrade: Added `class` column in charlog
2016-10-16Change *getcharid to use constantsAsheraf1-0/+7
2016-08-29*strnpcinfo now uses constantsAsheraf1-0/+7
- NPC_NAME for the whole npc name including hidden part - NPC_NAME_VISIBLE for the visible part of the npc name - NPC_NAME_HIDDEN for the hidden part of the npc name - NPC_NAME_UNIQUE for the npc unique name - NPC_MAP for npc map
2016-08-01Update Old Glastheim announces to use C_colorAsheraf1-20/+21
* now announce commands use constant colors instead of hexadecimal. * added new color C_SPRINGGREEN
2016-03-11Hardcore Parameters from constant database to avoid synchronize issues with ↵hemagx1-118/+0
source now defining new parameters in the constants.conf database is deprecated and should be defined in source instead
2016-02-29Added gender-related constants SEX_MALE/SEX_FEMALEEmistry1-0/+4
2016-02-27Update NPC ID'sJedzkie1-0/+25
2016-01-25Added source support for special comments in the constdbHaru1-45/+42
- To be used by the constdb2doc plugin Signed-off-by: Haru <haru@dotalux.com>
2016-01-16set_constant the LOOK_ constantsAnnieRuru1-16/+0
2016-01-16Remove VAR_ constantsAnnieRuru1-10/+37
- there are 2 same constants for setlook script command, remove the wrong one - VAR_ constant added by lone_wolf is invalid https://github.com/HerculesWS/Hercules/commit/f4278f36db32f35e535a0ea8feb1cf83ca95019e, so use the LOOK_ constant
2016-01-13Marked Job_Alchem and Job_Baby_Alchem as deprecatedHaru1-2/+8
Use respectively Job_Alchemist and Job_Alchemist instead. Signed-off-by: Haru <haru@dotalux.com>
2016-01-13Added support to mark constants in db/constants.conf as deprecatedHaru1-0/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-01-13Converted const.txt to libconfig formatHaru1-0/+3791
- This is necessary for upcoming improvements Signed-off-by: Haru <haru@dotalux.com>