Elin Modding Docs Doc
Loading...
Searching...
No Matches
Skill.2.cs
1
using
System;
2
3
// Token: 0x020002FB RID: 763
4
public
class
Skill
:
Element
5
{
6
// Token: 0x060017E0 RID: 6112 RVA: 0x0009A435 File Offset: 0x00098635
7
public
override
bool
CanLink(
ElementContainer
owner)
8
{
9
return
!base.IsGlobalElement;
10
}
11
12
// Token: 0x170006B2 RID: 1714
13
// (get) Token: 0x060017E1 RID: 6113 RVA: 0x0009A440 File Offset: 0x00098640
14
public
override
bool
ShowEncNumber
15
{
16
get
17
{
18
return
false
;
19
}
20
}
21
22
// Token: 0x170006B3 RID: 1715
23
// (get) Token: 0x060017E2 RID: 6114 RVA: 0x0009A443 File Offset: 0x00098643
24
public
override
bool
ShowRelativeAttribute
25
{
26
get
27
{
28
return
true
;
29
}
30
}
31
32
// Token: 0x060017E3 RID: 6115 RVA: 0x0009A446 File Offset: 0x00098646
33
public
override
int
GetSourcePotential(
int
v)
34
{
35
if
(v > 1)
36
{
37
return
v * 10;
38
}
39
return
0;
40
}
41
42
// Token: 0x060017E4 RID: 6116 RVA: 0x0009A454 File Offset: 0x00098654
43
public
override
void
OnChangeValue()
44
{
45
Chara
chara = this.owner.Chara;
46
int
id
= this.id;
47
if
(
id
!= 207)
48
{
49
if
(
id
!= 306)
50
{
51
return
;
52
}
53
if
(chara !=
null
)
54
{
55
chara.RefreshFaithElement();
56
}
57
}
58
else
if
(chara !=
null
)
59
{
60
chara.SetDirtyWeight();
61
return
;
62
}
63
}
64
}
Chara
Definition
Chara.cs:12
ElementContainer
Definition
ElementContainer.cs:12
Element
Definition
Element.2.cs:9
Skill
Definition
Skill.2.cs:5
Elin
Skill.2.cs
Generated by
1.12.0