summaryrefslogtreecommitdiff
path: root/world/map/db/const-magic.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/db/const-magic.txt')
-rw-r--r--world/map/db/const-magic.txt62
1 files changed, 62 insertions, 0 deletions
diff --git a/world/map/db/const-magic.txt b/world/map/db/const-magic.txt
new file mode 100644
index 00000000..9bf8e063
--- /dev/null
+++ b/world/map/db/const-magic.txt
@@ -0,0 +1,62 @@
+// NOTE: I think min_casttime should be in battle config if we don't make it a variable
+MIN_CASTTIME 200
+
+// Magic Skills
+SKILL_MAGIC 340
+SKILL_MAGIC_LIFE 341
+SKILL_MAGIC_WAR 342
+SKILL_MAGIC_TRANSMUTE 343
+SKILL_MAGIC_NATURE 344
+SKILL_MAGIC_ASTRAL 345
+SKILL_MAGIC_DARK 346
+
+// Elements
+ELT_NEUTRAL 0
+ELT_WATER 1
+ELT_EARTH 2
+ELT_FIRE 3
+ELT_WIND 4
+ELT_POISON 5
+ELT_SHADOW 6
+ELT_HOLY 7
+ELT_GHOST 8
+ELT_UNDEAD 9
+
+// Status effects
+SC_SHEARED 194
+SC_HIDE 194
+SC_HALT_REGENERATE 195
+SC_FLYING_BACKPACK 196
+SC_MBARRIER 197
+SC_HASTE 198
+SC_PHYS_SHIELD 199
+SO_GMHIDE 64
+SO_GMINVISIBLE 4096
+
+// Special effects
+SFX_DEFAULT 10
+SFX_SUMMON_START 21
+SFX_SUMMON_FIRE 22
+SFX_TELEPORT 24
+SFX_RAIN 25
+SFX_HIT 25
+SFX_ARROW_HAIL 27
+SFX_BARRIER 10
+SFX_UNBARRIER 10
+SFX_HEAL 3
+SFX_LIGHTNING 18
+
+// Magic Spell Const
+MIN_MARRY_LEVEL 32
+MAX_RAIN_SPELL_RADIUS 15
+MAX_MAGIC_LEVEL 2
+MFLAG_MADE_CONC_POTION 16384
+MFLAG_MADE_CONC_POTION_SHIFT 14
+// SCRIPT_XP "MAGIC_EXPERIENCE"
+SCRIPT_XP_MASK 65535
+SCRIPT_XP_SHIFT 0
+SCRIPT_HEALSPELL_MASK 255
+SCRIPT_HEALSPELL_SHIFT 24
+ATTACK_ICON_GENERIC 2000
+ATTACK_ICON_SHEARING 2001
+E10_FLAG_USED_FREE_WARP_SHIFT 17