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