Elin Decompiled Documentation
EA 23.319 Nightly Patch 1
Loading...
Searching...
No Matches
ReligionElement.cs
Go to the documentation of this file.
1
public
class
ReligionElement
:
Religion
2
{
3
public
override
string
id
=>
"element"
;
4
5
public
override
bool
IsValidArtifact
(
string
id
)
6
{
7
return
id
==
"staff_element"
;
8
}
9
10
public
override
string
[]
GetValidArtifacts
()
11
{
12
return
new
string
[1] {
"staff_element"
};
13
}
14
15
public
override
bool
IsFaithElement
(
Element
e)
16
{
17
if
(e.
id
!= 411)
18
{
19
if
(e is
Resistance
)
20
{
21
return
e.id != 959;
22
}
23
return
false
;
24
}
25
return
true
;
26
}
27
}
Element
Definition:
ELEMENT.cs:91
Element.id
int id
Definition:
ELEMENT.cs:257
ReligionElement
Definition:
ReligionElement.cs:2
ReligionElement.GetValidArtifacts
override string[] GetValidArtifacts()
Definition:
ReligionElement.cs:10
ReligionElement.IsFaithElement
override bool IsFaithElement(Element e)
Definition:
ReligionElement.cs:15
ReligionElement.IsValidArtifact
override bool IsValidArtifact(string id)
Definition:
ReligionElement.cs:5
Religion
Definition:
Religion.cs:6
Resistance
Definition:
Resistance.cs:4
Elin
ReligionElement.cs
Generated by
1.9.6