summaryrefslogtreecommitdiff
path: root/db/const.txt
diff options
context:
space:
mode:
Diffstat (limited to 'db/const.txt')
-rw-r--r--db/const.txt206
1 files changed, 206 insertions, 0 deletions
diff --git a/db/const.txt b/db/const.txt
new file mode 100644
index 00000000..f7c375d2
--- /dev/null
+++ b/db/const.txt
@@ -0,0 +1,206 @@
+// Constants usable in scripts
+
+// This constant is used to define whether unreleased items are equippable. This defaults to on, but should be disabled on the official server.
+debug 1
+
+mf_nomemo 0
+mf_noteleport 1
+mf_nosave 2
+mf_nobranch 3
+mf_nopenalty 4
+mf_pvp 5
+mf_pvp_noparty 6
+mf_pvp_noguild 7
+mf_gvg 8
+mf_gvg_noparty 9
+mf_nozenypenalty 10
+
+StatusPoint 9 1
+BaseLevel 11 1
+SkillPoint 12 1
+Class 19 1
+Upper 56 1
+Zeny 20 1
+Sex 21 1
+Weight 24 1
+MaxWeight 25 1
+JobLevel 55 1
+BaseExp 1 1
+JobExp 2 1
+NextBaseExp 22 1
+NextJobExp 23 1
+Hp 5 1
+MaxHp 6 1
+Sp 7 1
+MaxSp 8 1
+
+bMaxHP 6
+bMaxSP 8
+bStr 13
+bAgi 14
+bVit 15
+bInt 16
+bDex 17
+bLuk 18
+bAtk 41
+bAtk2 42
+bMatk1 43
+bMatk2 44
+bDef 45
+bMdef 47
+bMdef2 48
+bHit 49
+bFlee 50
+bFlee2 51
+bCritical 52
+bAspd 53
+bDeaf 70
+
+bAtkRange 1000
+bAtkEle 1001
+bDefEle 1002
+bCastrate 1003
+bMaxHPrate 1004
+bMaxSPrate 1005
+bUseSPrate 1006
+bAddEle 1007
+bAddRace 1008
+bAddSize 1009
+bSubEle 1010
+bSubRace 1011
+bAddEff 1012
+bResEff 1013
+bBaseAtk 1014
+bAspdRate 1015
+bHPrecovRate 1016
+bSPrecovRate 1017
+bSpeedRate 1018
+bCriticalDef 1019
+bNearAtkDef 1020
+bLongAtkDef 1021
+bDoubleRate 1022
+bDoubleAddRate 1023
+bMatk 1024
+bMatkRate 1025
+bIgnoreDefEle 1026
+bIgnoreDefRace 1027
+bAtkRate 1028
+bSpeedAddRate 1029
+bAspdAddRate 1030
+bMagicAtkDef 1031
+bMiscAtkDef 1032
+bIgnoreMdefEle 1033
+bIgnoreMdefRace 1034
+bMagicAddEle 1035
+bMagicAddRace 1036
+bMagicSubRace 1037
+bPerfectHitRate 1038
+bPerfectHitAddRate 1039
+bCriticalRate 1040
+bGetZenyNum 1041
+bAddGetZenyNum 1042
+bAddDamageClass 1043
+bAddMagicDamageClass 1044
+bAddDefClass 1045
+bAddMdefClass 1046
+bAddMonsterDropItem 1047
+bDefRatioAtkEle 1048
+bDefRatioAtkRace 1049
+bAddSpeed 1050
+bHitRate 1051
+bFleeRate 1052
+bFlee2Rate 1053
+bDefRate 1054
+bDef2Rate 1055
+bMdefRate 1056
+bMdef2Rate 1057
+bSplashRange 1058
+bSplashAddRange 1059
+bAutoSpell 1060
+bHPDrainRate 1061
+bSPDrainRate 1062
+bShortWeaponDamageReturn 1063
+bLongWeaponDamageReturn 1064
+bWeaponComaEle 1065
+bWeaponComaRace 1066
+bAddEff2 1067
+bMagicDamageReturn 1068
+bRandomAttackIncrease 1069
+bAllStats 1070
+bAgiVit 1071
+bAgiDexStr 1072
+bPerfectHide 1073
+bAddAtkRange 2010
+
+equip_head 1
+equip_shield 2
+equip_hand2 3
+equip_hand1 4
+equip_gloves 5
+equip_shoes 6
+equip_misc1 7
+equip_misc2 8
+equip_torso 9
+equip_legs 10
+
+cNone 11
+cWhite 10
+cRed 0
+cGreen 1
+cDarkBlue 2
+cYellow 3
+cLightBlue 4
+cPink 5
+cBlack 6
+cOrange 7
+cPurple 8
+cDarkGreen 9
+
+sc_poison 132
+sc_slowpoison 14
+sc_raiseattackspeed0 37
+sc_raiseattackstrength 185
+sc_berserk 107
+sc_barrier 146
+sc_magnificat 20
+sc_windwalk 116
+
+// Marriage-related
+WEDDING_FEE 100
+DIVORCE_FEE_PER_LEVEL 500
+WEDDING_MIN_LEVEL 32
+
+sfx_skillup 1
+sfx_magic_generic 2
+sfx_magic_life 3
+sfx_magic_war 4
+sfx_magic_transmute 5
+sfx_magic_nature 6
+sfx_magic_astral 7
+
+// Skill pools
+SKILL_FOCUS 339
+SKILL_MALLARDS_EYE 45
+SKILL_BRAWLING 350
+SKILL_LUCKY_COUNTER 351
+SKILL_SPEED 352
+SKILL_RESIST_POISON 353
+SKILL_ASTRAL_SOUL 354
+
+// 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
+
+// Evol skills
+SKILL_GUILD 500
+SKILL_CRAFT 501
+SKILL_DYE 502
+
+NoobQuests_Demon 0
+NoobQuests_OldWitch 1
+
+ShipQuests_Julia 0