OSDN Git Service

add alchemy simulator
[amulettoolsmh4/main.git] / model / mh4constnumbers.py
1 # -*- coding: utf-8 -*-
2
3 # constant numbers of MH4
4 # MH4特有の定数値について
5 # 2013/12/18 written by kei9 
6
7 # no data
8 NO_DATA = -1
9
10 # amulet type
11 NAME_AMULET0 = u"謎のお守り"
12 NAME_AMULET1 = u"光るお守り"
13 NAME_AMULET2 = u"古びたお守り"
14 NAME_AMULET3 = u"歪んだお守り"
15 KEY_AMULET0 = u"nazo"
16 KEY_AMULET1 = u"hika"
17 KEY_AMULET2 = u"huru"
18 KEY_AMULET3 = u"yuga"
19
20 # flag to dicide which seed2 or seed1 to use to calc threshold
21 SEED_DECIDE_FLAG = 128
22
23 # slot point for decision to amulet type
24 SLOT_POINT0 = 0
25 SLOT_POINT1 = 2
26 SLOT_POINT2 = 4
27 SLOT_POINT3 = 6
28
29 # -- archamy type --
30 # tenun555
31 KEY_TENUN555 = u"tenun555"
32 TENUN555_MIN = 3
33 TENUN555_MAX = 6
34 TENUN555_DIVISOR = 85
35
36 # tenun888
37 KEY_TENUN888 = u"tenun888"
38 TENUN888_MIN = 5
39 TENUN888_MAX = 7
40 TENUN888_DIVISOR = 100
41
42 # alchemy: tenun nazo
43 TENUN_NAZO_LOOPTIME = 1147
44
45 # alchemy: tenun hikaru
46 TENUN_HIKA_LOOPTIME = 1108
47 TENUN_HIKA_BORDER = 35
48 TENUN_HIKA_MODE = 4
49
50 # alchemy: tenun huru
51 TENUN_YUGA_LOOPTIME = 1723
52
53 # alchemy: tenun yuga
54 TENUN_YUGA_LOOPTIME = 1189
55
56 # alchemy: inishie
57 KEY_INISHIE = u"inishie"
58 INISHIE_LOOPTIME = 1723
59
60 # alchemy: koumyou
61 KEY_KOUMYOU = u"koumyou"
62 KOUMYOU_LOOPTIME = 1108
63
64 # alchemy: nazo
65 KEY_NAZO = u"nazo"
66 NAZO_LOOPTIME = 1147
67
68 # skill2 border
69 SKILL2_BORDER_DICT = {}
70 SKILL2_BORDER_DICT[NAME_AMULET0] = 100   # nazo
71 SKILL2_BORDER_DICT[NAME_AMULET1] = 35   # hika
72 SKILL2_BORDER_DICT[NAME_AMULET2] = 25   # huru
73 SKILL2_BORDER_DICT[NAME_AMULET3] = 20   # yuga
74
75
76 # amulet
77 INISHIE_AMULET = u"古びたお守り"
78 TENUN888_AMULET = u"歪んだお守り"
79
80 # type
81 TYPE_SHINPI = u"神秘の護石"
82 TYPE_MICHI = u"未知の護石"
83 TYPE_RYU = u"龍の護石"
84 TYPE_OU = u"王の護石"
85 TYPE_JOUOU = u"女王の護石"
86 TYPE_JOUSAI = u"城塞の護石"
87 TYPE_KISHI = u"騎士の護石"
88 TYPE_TOUSHI = u"闘士の護石"
89 TYPE_HEISHI = u"兵士の護石"
90
91 # type border
92 TYPE_BORDER_DICT = {}
93 TYPE_BORDER_DICT[NAME_AMULET0] = ((0, TYPE_HEISHI), (8, TYPE_TOUSHI), (8, TYPE_TOUSHI))
94 TYPE_BORDER_DICT[NAME_AMULET1] = ((0, TYPE_KISHI), (8, TYPE_JOUSAI), (8, TYPE_JOUSAI))
95 TYPE_BORDER_DICT[NAME_AMULET2] = ((0, TYPE_JOUOU), (8, TYPE_OU), (13, TYPE_RYU))
96 TYPE_BORDER_DICT[NAME_AMULET3] = ((0, TYPE_MICHI), (16, TYPE_SHINPI), (16, TYPE_SHINPI))