Elin Decompiled Documentation EA 23.319 Nightly Patch 1
Loading...
Searching...
No Matches
ReligionWind.cs
Go to the documentation of this file.
1public class ReligionWind : Religion
2{
3 public override string id => "wind";
4
5 public override bool IsIgnoreReforge(Thing t)
6 {
7 return t.id == "windbow";
8 }
9
10 public override bool IsValidArtifact(string id)
11 {
12 if (!(id == "windbow"))
13 {
14 return id == "shirt_wind";
15 }
16 return true;
17 }
18
19 public override string[] GetValidArtifacts()
20 {
21 return new string[2] { "windbow", "shirt_wind" };
22 }
23
24 public override bool IsFaithElement(Element e)
25 {
26 if (!(e is Resistance) && e.id != 226 && e.id != 152)
27 {
28 return e.id != 77;
29 }
30 return false;
31 }
32}
int id
Definition: ELEMENT.cs:257
override bool IsIgnoreReforge(Thing t)
Definition: ReligionWind.cs:5
override string[] GetValidArtifacts()
Definition: ReligionWind.cs:19
override bool IsFaithElement(Element e)
Definition: ReligionWind.cs:24
override bool IsValidArtifact(string id)
Definition: ReligionWind.cs:10
Definition: Thing.cs:8