Elin Decompiled Documentation EA 23.285 Nightly
Loading...
Searching...
No Matches
SKILL.cs
Go to the documentation of this file.
1public class SKILL
2{
3 public const int marksman = 133;
4
5 public const int tactics = 132;
6
7 public const int twowield = 131;
8
9 public const int twohand = 130;
10
11 public const int shield = 123;
12
13 public const int armorHeavy = 122;
14
15 public const int weaponScythe = 110;
16
17 public const int weaponBlunt = 111;
18
19 public const int weaponCrossbow = 109;
20
21 public const int throwing = 108;
22
23 public const int weaponDagger = 107;
24
25 public const int eyeofmind = 134;
26
27 public const int weaponPolearm = 106;
28
29 public const int armorLight = 120;
30
31 public const int strategy = 135;
32
33 public const int parasite = 227;
34
35 public const int evasionPlus = 151;
36
37 public const int stealth = 152;
38
39 public const int swimming = 200;
40
41 public const int weightlifting = 207;
42
43 public const int spotting = 210;
44
45 public const int mining = 220;
46
47 public const int lumberjack = 225;
48
49 public const int riding = 226;
50
51 public const int digging = 230;
52
53 public const int milking = 235;
54
55 public const int taming = 237;
56
57 public const int travel = 240;
58
59 public const int music = 241;
60
61 public const int weaponGun = 105;
62
63 public const int evasion = 150;
64
65 public const int weaponBow = 104;
66
67 public const int STR = 70;
68
69 public const int weaponAxe = 102;
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 mana = 61;
84
85 public const int vigor = 62;
86
87 public const int DV = 64;
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 climbing = 242;
96
97 public const int END = 71;
98
99 public const int weaponStaff = 103;
100
101 public const int DEX = 72;
102
103 public const int LER = 74;
104
105 public const int WIL = 75;
106
107 public const int MAG = 76;
108
109 public const int CHA = 77;
110
111 public const int LUC = 78;
112
113 public const int SPD = 79;
114
115 public const int INT = 80;
116
117 public const int critical = 90;
118
119 public const int vopal = 91;
120
121 public const int penetration = 92;
122
123 public const int antiMagic = 93;
124
125 public const int dmgDealt = 94;
126
127 public const int martial = 100;
128
129 public const int weaponSword = 101;
130
131 public const int PER = 73;
132
133 public const int fishing = 245;
134
135 public const int PV = 65;
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 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 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 resCurse = 972;
190
191 public const int resDamage = 971;
192
193 public const int resDecay = 970;
194
195 public const int resImpact = 965;
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 eleChaos = 920;
204
205 public const int eleLightning = 912;
206
207 public const int sculpture = 258;
208
209 public const int alchemy = 257;
210
211 public const int blacksmith = 256;
212
213 public const int handicraft = 261;
214
215 public const int lockpicking = 280;
216
217 public const int stealing = 281;
218
219 public const int reading = 285;
220
221 public const int farming = 286;
222
223 public const int eleDarkness = 913;
224
225 public const int cooking = 287;
226
227 public const int building = 288;
228
229 public const int appraising = 289;
230
231 public const int anatomy = 290;
232
233 public const int negotiation = 291;
234
235 public const int jewelry = 259;
236
237 public const int investing = 292;
238
239 public const int regeneration = 300;
240
241 public const int eleCold = 911;
242
243 public const int eleFire = 910;
244
245 public const int env = 313;
246
247 public const int fun = 312;
248
249 public const int bladder = 311;
250
251 public const int disarmTrap = 293;
252
253 public const int hygine = 310;
254
255 public const int weaving = 260;
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 133, 132, 131, 130, 123, 122, 110, 111, 109, 108,
274 107, 134, 106, 120, 135, 227, 151, 152, 200, 207,
275 210, 220, 225, 226, 230, 235, 237, 240, 241, 105,
276 150, 104, 70, 102, 50, 51, 55, 56, 57, 60,
277 61, 62, 64, 66, 67, 68, 242, 71, 103, 72,
278 74, 75, 76, 77, 78, 79, 80, 90, 91, 92,
279 93, 94, 100, 101, 73, 245, 65, 255, 916, 917,
280 918, 919, 921, 922, 923, 924, 925, 926, 950, 951,
281 952, 953, 915, 954, 956, 957, 958, 959, 960, 961,
282 962, 963, 964, 972, 971, 970, 965, 250, 955, 914,
283 920, 912, 258, 257, 256, 261, 280, 281, 285, 286,
284 913, 287, 288, 289, 290, 291, 259, 292, 300, 911,
285 910, 313, 312, 311, 293, 310, 260, 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:2594
Definition: Chara.cs:10
void RefreshFaithElement()
Definition: Chara.cs:10395
virtual Chara Chara
ElementContainer owner
Definition: ELEMENT.cs:271
Definition: SKILL.cs:2
const int resImpact
Definition: SKILL.cs:195
const int shield
Definition: SKILL.cs:11
const int vopal
Definition: SKILL.cs:119
const int EDR
Definition: SKILL.cs:77
const int WIL
Definition: SKILL.cs:105
const int tactics
Definition: SKILL.cs:5
const int appraising
Definition: SKILL.cs:229
const int fishing
Definition: SKILL.cs:133
const int handicraft
Definition: SKILL.cs:213
const int faith
Definition: SKILL.cs:257
const int PDR
Definition: SKILL.cs:75
const int resLightning
Definition: SKILL.cs:163
const int weaponScythe
Definition: SKILL.cs:15
const int PV
Definition: SKILL.cs:135
const int evasionPerfect
Definition: SKILL.cs:79
const int casting
Definition: SKILL.cs:261
const int strategy
Definition: SKILL.cs:31
const int fireproof
Definition: SKILL.cs:71
static readonly int[] IDS
Definition: SKILL.cs:271
const int eleCut
Definition: SKILL.cs:153
const int critical
Definition: SKILL.cs:117
const int cooking
Definition: SKILL.cs:225
const int mana
Definition: SKILL.cs:83
const int throwing
Definition: SKILL.cs:21
const int resChaos
Definition: SKILL.cs:177
const int lockpicking
Definition: SKILL.cs:215
const int eleEther
Definition: SKILL.cs:149
const int eleDarkness
Definition: SKILL.cs:223
const int weaponStaff
Definition: SKILL.cs:99
const int END
Definition: SKILL.cs:97
const int INT
Definition: SKILL.cs:115
const int farming
Definition: SKILL.cs:221
const int carpentry
Definition: SKILL.cs:137
const int weaponCrossbow
Definition: SKILL.cs:19
const int mining
Definition: SKILL.cs:45
const int resDamage
Definition: SKILL.cs:191
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:241
const int resDarkness
Definition: SKILL.cs:165
const int twowield
Definition: SKILL.cs:7
const int armorLight
Definition: SKILL.cs:29
const int LUC
Definition: SKILL.cs:111
const int eleMind
Definition: SKILL.cs:201
const int weightlifting
Definition: SKILL.cs:41
const int eyeofmind
Definition: SKILL.cs:25
const int lumberjack
Definition: SKILL.cs:47
const int DEX
Definition: SKILL.cs:101
const int weaponBlunt
Definition: SKILL.cs:17
const int gathering
Definition: SKILL.cs:197
const int spotting
Definition: SKILL.cs:43
const int manaCapacity
Definition: SKILL.cs:263
const int marksman
Definition: SKILL.cs:3
const int weaponSword
Definition: SKILL.cs:129
const int resHoly
Definition: SKILL.cs:179
const int twohand
Definition: SKILL.cs:9
const int anatomy
Definition: SKILL.cs:231
const int evasion
Definition: SKILL.cs:63
const int LER
Definition: SKILL.cs:103
const int HIT
Definition: SKILL.cs:89
const int fun
Definition: SKILL.cs:247
const int weaponAxe
Definition: SKILL.cs:69
const int eleVoid
Definition: SKILL.cs:157
const int blacksmith
Definition: SKILL.cs:211
const int MAG
Definition: SKILL.cs:107
const int CHA
Definition: SKILL.cs:109
const int antiMagic
Definition: SKILL.cs:123
const int hygine
Definition: SKILL.cs:253
const int investing
Definition: SKILL.cs:237
const int music
Definition: SKILL.cs:59
const int PER
Definition: SKILL.cs:131
const int armorHeavy
Definition: SKILL.cs:13
const int dmgDealt
Definition: SKILL.cs:125
const int resCold
Definition: SKILL.cs:161
const int digging
Definition: SKILL.cs:51
const int eleNether
Definition: SKILL.cs:139
const int weaponGun
Definition: SKILL.cs:61
const int eleSound
Definition: SKILL.cs:141
const int eleLightning
Definition: SKILL.cs:205
const int bladder
Definition: SKILL.cs:249
const int resAcid
Definition: SKILL.cs:185
const int eleChaos
Definition: SKILL.cs:203
const int weaponPolearm
Definition: SKILL.cs:27
const int alchemy
Definition: SKILL.cs:209
const int jewelry
Definition: SKILL.cs:235
const int swimming
Definition: SKILL.cs:39
const int vigor
Definition: SKILL.cs:85
const int resNether
Definition: SKILL.cs:171
const int resPoison
Definition: SKILL.cs:199
const int building
Definition: SKILL.cs:227
const int resDecay
Definition: SKILL.cs:193
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:35
const int env
Definition: SKILL.cs:245
const int weaving
Definition: SKILL.cs:255
const int sculpture
Definition: SKILL.cs:207
const int reading
Definition: SKILL.cs:219
const int martial
Definition: SKILL.cs:127
const int stealing
Definition: SKILL.cs:217
const int eleAcid
Definition: SKILL.cs:151
const int travel
Definition: SKILL.cs:57
const int SPD
Definition: SKILL.cs:113
const int regeneration
Definition: SKILL.cs:239
const int negotiation
Definition: SKILL.cs:233
const int eleMagic
Definition: SKILL.cs:147
const int resCut
Definition: SKILL.cs:187
const int resCurse
Definition: SKILL.cs:189
const int elePoison
Definition: SKILL.cs:167
const int parasite
Definition: SKILL.cs:33
const int penetration
Definition: SKILL.cs:121
const int controlmana
Definition: SKILL.cs:265
const int DMG
Definition: SKILL.cs:91
const int resNerve
Definition: SKILL.cs:175
const int STR
Definition: SKILL.cs:67
const int resMagic
Definition: SKILL.cs:181
const int DV
Definition: SKILL.cs:87
const int eleFire
Definition: SKILL.cs:243
const int acidproof
Definition: SKILL.cs:73
const int meditation
Definition: SKILL.cs:267
const int riding
Definition: SKILL.cs:49
const int weaponBow
Definition: SKILL.cs:65
const int climbing
Definition: SKILL.cs:95
const int memorization
Definition: SKILL.cs:269
const int stealth
Definition: SKILL.cs:37
const int weaponDagger
Definition: SKILL.cs:23
const int magicDevice
Definition: SKILL.cs:259
const int disarmTrap
Definition: SKILL.cs:251
const int milking
Definition: SKILL.cs:53
const int eleNerve
Definition: SKILL.cs:143
const int resEther
Definition: SKILL.cs:183
const int life
Definition: SKILL.cs:81
const int taming
Definition: SKILL.cs:55
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