Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
AttbMain.cs
Go to the documentation of this file.
1
public
class
AttbMain
:
Element
2
{
3
public
override
bool
CanGainExp
=>
true
;
4
5
public
override
int
DisplayValue
6
{
7
get
8
{
9
if
(
id
!= 79 ||
owner
.
Chara
==
null
)
10
{
11
return
base.DisplayValue;
12
}
13
return
owner
.
Chara
.
Speed
;
14
}
15
}
16
17
public
override
int
MinPotential
=> 80;
18
19
public
override
bool
CanLink
(
ElementContainer
owner
)
20
{
21
return
!base.IsGlobalElement;
22
}
23
24
public
override
void
OnChangeValue
()
25
{
26
Chara
chara =
owner
.
Chara
;
27
switch
(
id
)
28
{
29
case
70:
30
case
71:
31
chara?.
SetDirtyWeight
();
32
break
;
33
case
79:
34
chara?.
SetDirtySpeed
();
35
break
;
36
}
37
}
38
}
AttbMain
Definition:
AttbMain.cs:2
AttbMain.CanLink
override bool CanLink(ElementContainer owner)
Definition:
AttbMain.cs:19
AttbMain.OnChangeValue
override void OnChangeValue()
Definition:
AttbMain.cs:24
AttbMain.DisplayValue
override int DisplayValue
Definition:
AttbMain.cs:6
AttbMain.MinPotential
override int MinPotential
Definition:
AttbMain.cs:17
AttbMain.CanGainExp
override bool CanGainExp
Definition:
AttbMain.cs:3
Card.SetDirtyWeight
void SetDirtyWeight()
Definition:
Card.cs:2414
Chara
Definition:
Chara.cs:10
Chara.SetDirtySpeed
void SetDirtySpeed()
Definition:
Chara.cs:1605
Chara.Speed
int Speed
Definition:
Chara.cs:906
ElementContainer
Definition:
ElementContainer.cs:10
ElementContainer.Chara
virtual Chara Chara
Definition:
ElementContainer.cs:31
Element
Definition:
ELEMENT.cs:79
Element.owner
ElementContainer owner
Definition:
ELEMENT.cs:256
Elin
AttbMain.cs
Generated by
1.9.6