diff options
author | Haru <haru@dotalux.com> | 2017-04-23 03:03:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-23 03:03:33 +0200 |
commit | a4e270959babb7f56d7cf216f731a33695ba0adb (patch) | |
tree | 78dff9922d9c141b7798498911fb424b35791cce /src/map/script.h | |
parent | 34336519849be37f6082fa272e3fe990def55ab9 (diff) | |
parent | a6ca899ac0aa2be7ce1c04beec847f3d3e703b01 (diff) | |
download | hercules-a4e270959babb7f56d7cf216f731a33695ba0adb.tar.gz hercules-a4e270959babb7f56d7cf216f731a33695ba0adb.tar.bz2 hercules-a4e270959babb7f56d7cf216f731a33695ba0adb.tar.xz hercules-a4e270959babb7f56d7cf216f731a33695ba0adb.zip |
Merge pull request #1584 from Smokexyz/master
Implementation of unit controlling script commands.
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h index 0c967a94e..8caec961a 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -350,6 +350,81 @@ enum navigation_service { }; /** + * Unit Types for script handling. + */ +enum script_unit_types { + UNIT_PC = 0, + UNIT_NPC, + UNIT_PET, + UNIT_MOB, + UNIT_HOM, + UNIT_MER, + UNIT_ELEM, +}; + +/** + * Unit Data Types for script handling. + */ +enum script_unit_data_types { + UDT_TYPE = 0, + UDT_SIZE, + UDT_LEVEL, + UDT_HP, + UDT_MAXHP, + UDT_SP, + UDT_MAXSP, + UDT_MASTERAID, + UDT_MASTERCID, + UDT_MAPIDXY, + UDT_WALKTOXY, + UDT_SPEED, + UDT_MODE, + UDT_AI, + UDT_SCOPTION, + UDT_SEX, + UDT_CLASS, + UDT_HAIRSTYLE, + UDT_HAIRCOLOR, + UDT_HEADBOTTOM, + UDT_HEADMIDDLE, + UDT_HEADTOP, + UDT_CLOTHCOLOR, + UDT_SHIELD, + UDT_WEAPON, + UDT_LOOKDIR, + UDT_CANMOVETICK, + UDT_STR, + UDT_AGI, + UDT_VIT, + UDT_INT, + UDT_DEX, + UDT_LUK, + UDT_ATKRANGE, + UDT_ATKMIN, + UDT_ATKMAX, + UDT_MATKMIN, + UDT_MATKMAX, + UDT_DEF, + UDT_MDEF, + UDT_HIT, + UDT_FLEE, + UDT_PDODGE, + UDT_CRIT, + UDT_RACE, + UDT_ELETYPE, + UDT_ELELEVEL, + UDT_AMOTION, + UDT_ADELAY, + UDT_DMOTION, + UDT_HUNGER, + UDT_INTIMACY, + UDT_LIFETIME, + UDT_MERC_KILLCOUNT, + UDT_STATPOINT, + UDT_MAX +}; + +/** * Structures **/ |