-
Notifications
You must be signed in to change notification settings - Fork 0
/
mnkutil.inc
178 lines (164 loc) · 6.95 KB
/
mnkutil.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|- ihcmnkutil.inc
|- Version 2.0
|- Updated: 4/25/2019
|--------------------------------------------------------------------------------------
|-Setup Variable Environment
|--------------------------------------------------------------------------------------
Sub mnk_setup
|-Create Alias's
|-Declare AA's and Discs
/declare endregen string outer NULL
/declare mnkaura string outer NULL
/declare DichoSpell string outer NULL
/declare Drunken string outer NULL
/declare Curse string outer NULL
/declare Fang string outer NULL
/declare Fists string outer NULL
/declare Precision string outer NULL
/declare Shuriken string outer NULL
/declare Crane string outer NULL
/declare Synergy string outer NULL
/declare Alliance string outer NULL
/declare Storm string outer NULL
/declare Aura1 string outer NULL
/declare Aura2 string outer NULL
/declare Aura1Name string outer NULL
/declare Aura2Name string outer NULL
/declare PosseSpell string outer Origin
|-Defensives
/declare EarthForce string outer NULL
/declare ShadedStep string outer NULL
/declare RejectDeath string outer NULL
|-Declare Main discs
/declare Iron string outer NULL
/declare Heel string outer NULL
/declare Speed string outer NULL
/declare Palm string outer NULL
/declare Poise string outer NULL
/declare ChestItemName string outer "${Me.Inventory[17].Name}"
/declare CastResult string outer
/declare PullTowards string outer NULL
|-Config Options
|- Check for epic
/return
|----------------------------------------------------------------------------
|- SUB: SetupDiscs
|----------------------------------------------------------------------------
Sub mnk_abilities
/if (${Me.AltAbilityReady[Moving Mountains]}) {
/varset PullTowards Moving Mountains
}
/if (${Me.AltAbilityReady[Distant Strike]}) {
/varset pullAbility Distant Strike
/varset pullDistance 150
} else {
/varset pullAbility ${Spell[Throw Stone].RankName}
/varset pullDistance 55
}
|--RejectDeath line
/if (${Me.Level}>=110 && ${Me.CombatAbility[${Spell[Reject Death].RankName}]}) {
/varset RejectDeath ${Spell[Reject Death].RankName}
}
|--Earthforce line
/if (${Me.Level}>=96 && ${Me.CombatAbility[${Spell[Earthforce Discipline].RankName}]}) {
/varset EarthForce ${Spell[Earthforce Discipline].RankName}
}
|--ShadedStep line
/if (${Me.Level}>=97 && ${Me.CombatAbility[${Spell[Shaded Step].RankName}]}) {
/varset ShadedStep ${Spell[Shaded Step].RankName}
}
|---Strom line
/if (${Me.Level}>=98 && ${Me.CombatAbility[${Spell[Eye of the Storm].RankName}]}) {
/varset Storm ${Spell[Eye of the Storm].RankName}
}
|---Alliance line
/if (${Me.Level}>=107 && ${Me.CombatAbility[${Spell[Firewalker's Covenant].RankName}]}) {
/varset Alliance ${Spell[Firewalker's Covenant].RankName}
} else /if (${Me.Level}>=102 && ${Me.CombatAbility[${Spell[Doomwalker's Alliance].RankName}]}) {
/varset Alliance ${Spell[Doomwalker's Alliance].RankName}
}
|---Synergy Line
/if (${Me.Level}>=106 && ${Me.CombatAbility[${Spell[Firewalker's Synergy].RankName}]}) {
/varset Synergy ${Spell[Firewalker's Synergy].RankName}
}
|---DM Line
/if (${Me.Level}>=85 && ${Me.CombatAbility[${Spell[Drunken Monkey Style].RankName}]}) {
/varset Drunken ${Spell[Drunken Monkey Style].RankName}
}
|---Curse Line
/if (${Me.Level}>=108 && ${Me.CombatAbility[${Spell[Curse of Fourteen Fists].RankName}]}) {
/varset Curse ${Spell[Curse of Fourteen Fists].RankName}
} else /if (${Me.Level}>=103 && ${Me.CombatAbility[${Spell[Curse of the Thirteen Fingers].RankName}]}) {
/varset Curse ${Spell[Curse of the Thirteen Fingers].RankName}
}
|---Fang Line
/if (${Me.Level}>=109 && ${Me.CombatAbility[${Spell[Hoshkar's Fang].RankName}]}) {
/varset Fang ${Spell[Hoshkar's Fang].RankName}
}
|---Fists Line
/if (${Me.Level}>=106 && ${Me.CombatAbility[${Spell[Firestorm of Fists].RankName}]}) {
/varset Fists ${Spell[Firestorm of Fists].RankName}
}
|---Precision Line
/if (${Me.Level}>=109 && ${Me.CombatAbility[${Spell[Firewalker's Precision Strike].RankName}]}) {
/varset Precision ${Spell[Firewalker's Precision Strike].RankName}
} else /if (${Me.Level}>=103 && ${Me.CombatAbility[${Spell[Doomwalker's Precision Strike].RankName}]}) {
/varset Precision ${Spell[Doomwalker's Precision Strike].RankName}
}
|---Shuriken Line
/if (${Me.Level}>=106 && ${Me.CombatAbility[${Spell[Vigorous Shuriken].RankName}]}) {
/varset Shuriken ${Spell[Vigorous Shuriken].RankName}
}
|---Crane Line
/if (${Me.Level}>=93 && ${Me.CombatAbility[${Spell[Crane Stance].RankName}]}) {
/varset Crane ${Spell[Crane Stance].RankName}
}
|-Dicho Spell*
/if (${Me.Level}>=${Spell[Dissident Form].Level} && ${Me.CombatAbility[${Spell[Dissident Form].RankName}]}) {
/varset DichoSpell ${Spell[Dissident Form].RankName}
} else /if (${Me.Level}>=${Spell[Dichotomic Form].Level} && ${Me.CombatAbility[${Spell[Dichotomic Form].RankName}]}) {
/varset DichoSpell ${Spell[Dichotomic Form].RankName}
}
|---Fast Endurance regen - No Update
/if (${Me.Level}>=101 && ${Me.CombatAbility[${Spell[Breather].RankName}]}) {
/varset endregen ${Spell[Breather].RankName}
} else /if (${Me.Level}>=96 && ${Me.CombatAbility[${Spell[Rest].RankName}]}) {
/varset endregen ${Spell[Rest].RankName}
} else /if (${Me.Level}>=91 && ${Me.CombatAbility[${Spell[Reprieve].RankName}]}) {
/varset endregen ${Spell[Reprieve].RankName}
} else /if (${Me.Level}>=86 && ${Me.CombatAbility[${Spell[Respite].RankName}]}) {
/varset endregen ${Spell[Respite].RankName}
} else /if (${Me.Level}>=82 && ${Me.CombatAbility[${Spell[Fourth Wind].RankName}]}) {
/varset endregen ${Spell[Fourth Wind].RankName}
} else /if (${Me.Level}>=77 && ${Me.CombatAbility[${Spell[Third Wind].RankName}]}) {
/varset endregen ${Spell[Third Wind].RankName}
} else /if (${Me.Level}>=72 && ${Me.CombatAbility[${Spell[Second Wind].RankName}]}) {
/varset endregen ${Spell[Second Wind].RankName}
}
|-Aura Set up
/if (${Me.Level}>=70 && ${Me.CombatAbility[${Spell[Master's Aura].RankName}]}) {
/varset Aura1 ${Spell[Master's Aura].RankName}
} else /if (${Me.Level}>=55 && ${Me.CombatAbility[${Spell[Disciple's Aura].RankName}]}) {
/varset Aura1 ${Spell[Disciple's Aura].RankName}
}
|-Ironfist line
/if (${Me.Level}>=88 && ${Me.CombatAbility[${Spell[Ironfist Discipline].RankName}]}) {
/varset Iron ${Spell[Ironfist Discipline].RankName}
}
|-Heel line
/if (${Me.Level}>=100 && ${Me.CombatAbility[${Spell[Heel of Zagali].RankName}]}) {
/varset Heel ${Spell[Heel of Zagali].RankName}
}
|-Speed line
/if (${Me.Level}>=63 && ${Me.CombatAbility[${Spell[Speed Focus Discipline].RankName}]}) {
/varset Speed ${Spell[Speed Focus Discipline].RankName}
}
|-Palm line
/if (${Me.Level}>=99 && ${Me.CombatAbility[${Spell[Terrorpalm Discipline].RankName}]}) {
/varset Palm ${Spell[Terrorpalm Discipline].RankName}
}
|-Tiger's Poise line
/if (${Me.Level}>=107 && ${Me.CombatAbility[${Spell[Tiger's Poise].RankName}]}) {
/varset Poise ${Spell[Tiger's Poise].RankName}
}
/return