summaryrefslogtreecommitdiff
path: root/db/constants.conf
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-04-23 03:03:33 +0200
committerGitHub <noreply@github.com>2017-04-23 03:03:33 +0200
commita4e270959babb7f56d7cf216f731a33695ba0adb (patch)
tree78dff9922d9c141b7798498911fb424b35791cce /db/constants.conf
parent34336519849be37f6082fa272e3fe990def55ab9 (diff)
parenta6ca899ac0aa2be7ce1c04beec847f3d3e703b01 (diff)
downloadhercules-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 'db/constants.conf')
-rw-r--r--db/constants.conf68
1 files changed, 66 insertions, 2 deletions
diff --git a/db/constants.conf b/db/constants.conf
index d98a3d036..d108e0976 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -3744,7 +3744,7 @@ constants_db: {
MOUNT_DRAGON_BLUE: 7
MOUNT_DRAGON_RED: 8
- comment__: "gettime"
+ comment__: "Gettime Types"
GETTIME_SECOND: 1
GETTIME_MINUTE: 2
GETTIME_HOUR: 3
@@ -3767,7 +3767,14 @@ constants_db: {
UNITTYPE_HOM: 4
UNITTYPE_MER: 5
UNITTYPE_ELEM: 6
-
+
+ comment__: "Unit AI Types"
+ AI_NONE: 0 //0: Normal mob.
+ AI_ATTACK: 1 //1: Standard summon, attacks mobs.
+ AI_SPHERE: 2 //2: Alchemist Marine Sphere
+ AI_FLORA: 3 //3: Alchemist Summon Flora
+ AI_ZANZOU: 4 //4: Summon Zanzou
+
comment__: "Colors"
C_AQUA: 0x00FFFF
C_BLACK: 0x000000
@@ -3794,4 +3801,61 @@ constants_db: {
comment__: "Genders"
SEX_FEMALE: 0
SEX_MALE: 1
+
+ comment__: "Script Unit Data Types"
+ UDT_TYPE: 0
+ UDT_SIZE: 1
+ UDT_LEVEL: 2
+ UDT_HP: 3
+ UDT_MAXHP: 4
+ UDT_SP: 5
+ UDT_MAXSP: 6
+ UDT_MASTERAID: 7
+ UDT_MASTERCID: 8
+ UDT_MAPIDXY: 9
+ UDT_WALKTOXY: 10
+ UDT_SPEED: 11
+ UDT_MODE: 12
+ UDT_AI: 13
+ UDT_SCOPTION: 14
+ UDT_SEX: 15
+ UDT_CLASS: 16
+ UDT_HAIRSTYLE: 17
+ UDT_HAIRCOLOR: 18
+ UDT_HEADBOTTOM: 19
+ UDT_HEADMIDDLE: 20
+ UDT_HEADTOP: 21
+ UDT_CLOTHCOLOR: 22
+ UDT_SHIELD: 23
+ UDT_WEAPON: 24
+ UDT_LOOKDIR: 25
+ UDT_CANMOVETICK: 26
+ UDT_STR: 27
+ UDT_AGI: 28
+ UDT_VIT: 29
+ UDT_INT: 30
+ UDT_DEX: 31
+ UDT_LUK: 32
+ UDT_ATKRANGE: 33
+ UDT_ATKMIN: 34
+ UDT_ATKMAX: 35
+ UDT_MATKMIN: 36
+ UDT_MATKMAX: 37
+ UDT_DEF: 38
+ UDT_MDEF: 39
+ UDT_HIT: 40
+ UDT_FLEE: 41
+ UDT_PDODGE: 42
+ UDT_CRIT: 43
+ UDT_RACE: 44
+ UDT_ELETYPE: 45
+ UDT_ELELEVEL: 46
+ UDT_AMOTION: 47
+ UDT_ADELAY: 48
+ UDT_DMOTION: 49
+ UDT_HUNGER: 50
+ UDT_INTIMACY: 51
+ UDT_LIFETIME: 52
+ UDT_MERC_KILLCOUNT: 53
+ UDT_STATADD: 54
}