Elin Decompiled Documentation EA 23.248 Nightly
Loading...
Searching...
No Matches
SKILL.cs
Go to the documentation of this file.
1public class SKILL
2{
3 public const int fireproof = 50;
4
5 public const int climbing = 242;
6
7 public const int throwing = 108;
8
9 public const int weaponCrossbow = 109;
10
11 public const int weaponScythe = 110;
12
13 public const int weaponBlunt = 111;
14
15 public const int armorLight = 120;
16
17 public const int armorHeavy = 122;
18
19 public const int twohand = 130;
20
21 public const int twowield = 131;
22
23 public const int music = 241;
24
25 public const int travel = 240;
26
27 public const int taming = 237;
28
29 public const int milking = 235;
30
31 public const int digging = 230;
32
33 public const int parasite = 227;
34
35 public const int riding = 226;
36
37 public const int lumberjack = 225;
38
39 public const int shield = 123;
40
41 public const int mining = 220;
42
43 public const int swimming = 200;
44
45 public const int stealth = 152;
46
47 public const int evasionPlus = 151;
48
49 public const int evasion = 150;
50
51 public const int strategy = 135;
52
53 public const int eyeofmind = 134;
54
55 public const int marksman = 133;
56
57 public const int tactics = 132;
58
59 public const int spotting = 210;
60
61 public const int weightlifting = 207;
62
63 public const int martial = 100;
64
65 public const int weaponPolearm = 106;
66
67 public const int END = 71;
68
69 public const int STR = 70;
70
71 public const int FPV = 68;
72
73 public const int DMG = 67;
74
75 public const int HIT = 66;
76
77 public const int PV = 65;
78
79 public const int DEX = 72;
80
81 public const int DV = 64;
82
83 public const int mana = 61;
84
85 public const int life = 60;
86
87 public const int evasionPerfect = 57;
88
89 public const int EDR = 56;
90
91 public const int PDR = 55;
92
93 public const int acidproof = 51;
94
95 public const int vigor = 62;
96
97 public const int weaponDagger = 107;
98
99 public const int PER = 73;
100
101 public const int WIL = 75;
102
103 public const int weaponBow = 104;
104
105 public const int weaponStaff = 103;
106
107 public const int weaponAxe = 102;
108
109 public const int weaponSword = 101;
110
111 public const int dmgDealt = 94;
112
113 public const int antiMagic = 93;
114
115 public const int LER = 74;
116
117 public const int penetration = 92;
118
119 public const int critical = 90;
120
121 public const int INT = 80;
122
123 public const int SPD = 79;
124
125 public const int LUC = 78;
126
127 public const int CHA = 77;
128
129 public const int MAG = 76;
130
131 public const int vopal = 91;
132
133 public const int fishing = 245;
134
135 public const int weaponGun = 105;
136
137 public const int carpentry = 255;
138
139 public const int eleNether = 916;
140
141 public const int eleSound = 917;
142
143 public const int eleNerve = 918;
144
145 public const int eleChaos = 920;
146
147 public const int eleMagic = 921;
148
149 public const int eleEther = 922;
150
151 public const int eleAcid = 923;
152
153 public const int eleCut = 924;
154
155 public const int eleImpact = 925;
156
157 public const int eleVoid = 926;
158
159 public const int resFire = 950;
160
161 public const int resCold = 951;
162
163 public const int resLightning = 952;
164
165 public const int resDarkness = 953;
166
167 public const int elePoison = 915;
168
169 public const int resMind = 954;
170
171 public const int resNether = 956;
172
173 public const int resSound = 957;
174
175 public const int resNerve = 958;
176
177 public const int resChaos = 959;
178
179 public const int resHoly = 960;
180
181 public const int resMagic = 961;
182
183 public const int resEther = 962;
184
185 public const int resAcid = 963;
186
187 public const int resCut = 964;
188
189 public const int resImpact = 965;
190
191 public const int resDecay = 970;
192
193 public const int resDamage = 971;
194
195 public const int resCurse = 972;
196
197 public const int gathering = 250;
198
199 public const int resPoison = 955;
200
201 public const int eleMind = 914;
202
203 public const int eleHoly = 919;
204
205 public const int eleLightning = 912;
206
207 public const int anatomy = 290;
208
209 public const int appraising = 289;
210
211 public const int building = 288;
212
213 public const int eleDarkness = 913;
214
215 public const int farming = 286;
216
217 public const int reading = 285;
218
219 public const int negotiation = 291;
220
221 public const int stealing = 281;
222
223 public const int handicraft = 261;
224
225 public const int weaving = 260;
226
227 public const int jewelry = 259;
228
229 public const int sculpture = 258;
230
231 public const int alchemy = 257;
232
233 public const int blacksmith = 256;
234
235 public const int lockpicking = 280;
236
237 public const int investing = 292;
238
239 public const int cooking = 287;
240
241 public const int regeneration = 300;
242
243 public const int eleCold = 911;
244
245 public const int disarmTrap = 293;
246
247 public const int env = 313;
248
249 public const int fun = 312;
250
251 public const int bladder = 311;
252
253 public const int hygine = 310;
254
255 public const int eleFire = 910;
256
257 public const int faith = 306;
258
259 public const int magicDevice = 305;
260
261 public const int casting = 304;
262
263 public const int manaCapacity = 303;
264
265 public const int controlmana = 302;
266
267 public const int meditation = 301;
268
269 public const int memorization = 307;
270
271 public static readonly int[] IDS = new int[134]
272 {
273 50, 242, 108, 109, 110, 111, 120, 122, 130, 131,
274 241, 240, 237, 235, 230, 227, 226, 225, 123, 220,
275 200, 152, 151, 150, 135, 134, 133, 132, 210, 207,
276 100, 106, 71, 70, 68, 67, 66, 65, 72, 64,
277 61, 60, 57, 56, 55, 51, 62, 107, 73, 75,
278 104, 103, 102, 101, 94, 93, 74, 92, 90, 80,
279 79, 78, 77, 76, 91, 245, 105, 255, 916, 917,
280 918, 920, 921, 922, 923, 924, 925, 926, 950, 951,
281 952, 953, 915, 954, 956, 957, 958, 959, 960, 961,
282 962, 963, 964, 965, 970, 971, 972, 250, 955, 914,
283 919, 912, 290, 289, 288, 913, 286, 285, 291, 281,
284 261, 260, 259, 258, 257, 256, 280, 292, 287, 300,
285 911, 293, 313, 312, 311, 310, 910, 306, 305, 304,
286 303, 302, 301, 307
287 };
288}
289public class Skill : Element
290{
291 public override bool ShowEncNumber => false;
292
293 public override bool ShowRelativeAttribute => true;
294
295 public override bool CanLink(ElementContainer owner)
296 {
297 if (!base.IsGlobalElement)
298 {
299 return !base.source.IsWeaponEnc;
300 }
301 return false;
302 }
303
304 public override int GetSourcePotential(int v)
305 {
306 if (v > 1)
307 {
308 return v * 10;
309 }
310 return 0;
311 }
312
313 public override void OnChangeValue()
314 {
315 Chara chara = owner.Chara;
316 switch (id)
317 {
318 case 207:
319 chara?.SetDirtyWeight();
320 break;
321 case 306:
322 chara?.RefreshFaithElement();
323 break;
324 }
325 }
326}
void SetDirtyWeight()
Definition: Card.cs:2554
Definition: Chara.cs:10
void RefreshFaithElement()
Definition: Chara.cs:10184
virtual Chara Chara
ElementContainer owner
Definition: ELEMENT.cs:266
Definition: SKILL.cs:2
const int resImpact
Definition: SKILL.cs:189
const int shield
Definition: SKILL.cs:39
const int vopal
Definition: SKILL.cs:131
const int EDR
Definition: SKILL.cs:89
const int WIL
Definition: SKILL.cs:101
const int tactics
Definition: SKILL.cs:57
const int appraising
Definition: SKILL.cs:209
const int fishing
Definition: SKILL.cs:133
const int handicraft
Definition: SKILL.cs:223
const int faith
Definition: SKILL.cs:257
const int PDR
Definition: SKILL.cs:91
const int resLightning
Definition: SKILL.cs:163
const int weaponScythe
Definition: SKILL.cs:11
const int PV
Definition: SKILL.cs:77
const int evasionPerfect
Definition: SKILL.cs:87
const int casting
Definition: SKILL.cs:261
const int strategy
Definition: SKILL.cs:51
const int fireproof
Definition: SKILL.cs:3
static readonly int[] IDS
Definition: SKILL.cs:271
const int eleCut
Definition: SKILL.cs:153
const int critical
Definition: SKILL.cs:119
const int cooking
Definition: SKILL.cs:239
const int mana
Definition: SKILL.cs:83
const int throwing
Definition: SKILL.cs:7
const int resChaos
Definition: SKILL.cs:177
const int lockpicking
Definition: SKILL.cs:235
const int eleEther
Definition: SKILL.cs:149
const int eleDarkness
Definition: SKILL.cs:213
const int weaponStaff
Definition: SKILL.cs:105
const int END
Definition: SKILL.cs:67
const int INT
Definition: SKILL.cs:121
const int farming
Definition: SKILL.cs:215
const int carpentry
Definition: SKILL.cs:137
const int weaponCrossbow
Definition: SKILL.cs:9
const int mining
Definition: SKILL.cs:41
const int resDamage
Definition: SKILL.cs:193
const int resSound
Definition: SKILL.cs:173
const int eleImpact
Definition: SKILL.cs:155
const int resFire
Definition: SKILL.cs:159
const int eleCold
Definition: SKILL.cs:243
const int resDarkness
Definition: SKILL.cs:165
const int twowield
Definition: SKILL.cs:21
const int armorLight
Definition: SKILL.cs:15
const int LUC
Definition: SKILL.cs:125
const int eleMind
Definition: SKILL.cs:201
const int weightlifting
Definition: SKILL.cs:61
const int eyeofmind
Definition: SKILL.cs:53
const int lumberjack
Definition: SKILL.cs:37
const int DEX
Definition: SKILL.cs:79
const int weaponBlunt
Definition: SKILL.cs:13
const int gathering
Definition: SKILL.cs:197
const int spotting
Definition: SKILL.cs:59
const int manaCapacity
Definition: SKILL.cs:263
const int marksman
Definition: SKILL.cs:55
const int weaponSword
Definition: SKILL.cs:109
const int resHoly
Definition: SKILL.cs:179
const int twohand
Definition: SKILL.cs:19
const int anatomy
Definition: SKILL.cs:207
const int evasion
Definition: SKILL.cs:49
const int LER
Definition: SKILL.cs:115
const int HIT
Definition: SKILL.cs:75
const int fun
Definition: SKILL.cs:249
const int weaponAxe
Definition: SKILL.cs:107
const int eleVoid
Definition: SKILL.cs:157
const int blacksmith
Definition: SKILL.cs:233
const int MAG
Definition: SKILL.cs:129
const int CHA
Definition: SKILL.cs:127
const int antiMagic
Definition: SKILL.cs:113
const int hygine
Definition: SKILL.cs:253
const int investing
Definition: SKILL.cs:237
const int music
Definition: SKILL.cs:23
const int PER
Definition: SKILL.cs:99
const int armorHeavy
Definition: SKILL.cs:17
const int dmgDealt
Definition: SKILL.cs:111
const int resCold
Definition: SKILL.cs:161
const int digging
Definition: SKILL.cs:31
const int eleNether
Definition: SKILL.cs:139
const int weaponGun
Definition: SKILL.cs:135
const int eleSound
Definition: SKILL.cs:141
const int eleLightning
Definition: SKILL.cs:205
const int bladder
Definition: SKILL.cs:251
const int resAcid
Definition: SKILL.cs:185
const int eleChaos
Definition: SKILL.cs:145
const int weaponPolearm
Definition: SKILL.cs:65
const int alchemy
Definition: SKILL.cs:231
const int jewelry
Definition: SKILL.cs:227
const int swimming
Definition: SKILL.cs:43
const int vigor
Definition: SKILL.cs:95
const int resNether
Definition: SKILL.cs:171
const int resPoison
Definition: SKILL.cs:199
const int building
Definition: SKILL.cs:211
const int resDecay
Definition: SKILL.cs:191
const int resMind
Definition: SKILL.cs:169
const int eleHoly
Definition: SKILL.cs:203
const int FPV
Definition: SKILL.cs:71
const int evasionPlus
Definition: SKILL.cs:47
const int env
Definition: SKILL.cs:247
const int weaving
Definition: SKILL.cs:225
const int sculpture
Definition: SKILL.cs:229
const int reading
Definition: SKILL.cs:217
const int martial
Definition: SKILL.cs:63
const int stealing
Definition: SKILL.cs:221
const int eleAcid
Definition: SKILL.cs:151
const int travel
Definition: SKILL.cs:25
const int SPD
Definition: SKILL.cs:123
const int regeneration
Definition: SKILL.cs:241
const int negotiation
Definition: SKILL.cs:219
const int eleMagic
Definition: SKILL.cs:147
const int resCut
Definition: SKILL.cs:187
const int resCurse
Definition: SKILL.cs:195
const int elePoison
Definition: SKILL.cs:167
const int parasite
Definition: SKILL.cs:33
const int penetration
Definition: SKILL.cs:117
const int controlmana
Definition: SKILL.cs:265
const int DMG
Definition: SKILL.cs:73
const int resNerve
Definition: SKILL.cs:175
const int STR
Definition: SKILL.cs:69
const int resMagic
Definition: SKILL.cs:181
const int DV
Definition: SKILL.cs:81
const int eleFire
Definition: SKILL.cs:255
const int acidproof
Definition: SKILL.cs:93
const int meditation
Definition: SKILL.cs:267
const int riding
Definition: SKILL.cs:35
const int weaponBow
Definition: SKILL.cs:103
const int climbing
Definition: SKILL.cs:5
const int memorization
Definition: SKILL.cs:269
const int stealth
Definition: SKILL.cs:45
const int weaponDagger
Definition: SKILL.cs:97
const int magicDevice
Definition: SKILL.cs:259
const int disarmTrap
Definition: SKILL.cs:245
const int milking
Definition: SKILL.cs:29
const int eleNerve
Definition: SKILL.cs:143
const int resEther
Definition: SKILL.cs:183
const int life
Definition: SKILL.cs:85
const int taming
Definition: SKILL.cs:27
Definition: SKILL.cs:290
override bool ShowRelativeAttribute
Definition: SKILL.cs:293
override bool CanLink(ElementContainer owner)
Definition: SKILL.cs:295
override bool ShowEncNumber
Definition: SKILL.cs:291
override int GetSourcePotential(int v)
Definition: SKILL.cs:304
override void OnChangeValue()
Definition: SKILL.cs:313