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