Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
InvOwnerUncurse.cs
Go to the documentation of this file.
1
public
class
InvOwnerUncurse
:
InvOwnerEffect
2
{
3
public
override
bool
CanTargetAlly
=>
true
;
4
5
public
override
string
langTransfer
=>
"invUncurse"
;
6
7
public
override
string
langWhat
=>
"target_what"
;
8
9
public
override
Thing
CreateDefaultContainer
()
10
{
11
return
ThingGen
.
CreateScroll
(
superior
? 8241 : 8240);
12
}
13
14
public
override
bool
ShouldShowGuide
(
Thing
t)
15
{
16
return
t.blessedState <=
BlessedState
.Cursed;
17
}
18
19
public
override
void
_OnProcess
(
Thing
t)
20
{
21
ActEffect
.
Proc
(
EffectId
.Uncurse, 100,
state
, t.
GetRootCard
(), t);
22
}
23
}
BlessedState
BlessedState
Definition:
BlessedState.cs:2
EffectId
EffectId
Definition:
EffectId.cs:2
ActEffect
Definition:
ActEffect.cs:7
ActEffect.Proc
static void Proc(EffectId id, Card cc, Card tc=null, int power=100, ActRef actRef=default(ActRef))
Definition:
ActEffect.cs:788
Card.GetRootCard
Card GetRootCard()
Definition:
Card.cs:3173
InvOwnerDraglet.state
BlessedState state
Definition:
InvOwnerDraglet.cs:14
InvOwnerEffect
Definition:
InvOwnerEffect.cs:2
InvOwnerEffect.superior
bool superior
Definition:
InvOwnerEffect.cs:7
InvOwnerUncurse
Definition:
InvOwnerUncurse.cs:2
InvOwnerUncurse.CanTargetAlly
override bool CanTargetAlly
Definition:
InvOwnerUncurse.cs:3
InvOwnerUncurse.CreateDefaultContainer
override Thing CreateDefaultContainer()
Definition:
InvOwnerUncurse.cs:9
InvOwnerUncurse.langTransfer
override string langTransfer
Definition:
InvOwnerUncurse.cs:5
InvOwnerUncurse._OnProcess
override void _OnProcess(Thing t)
Definition:
InvOwnerUncurse.cs:19
InvOwnerUncurse.ShouldShowGuide
override bool ShouldShowGuide(Thing t)
Definition:
InvOwnerUncurse.cs:14
InvOwnerUncurse.langWhat
override string langWhat
Definition:
InvOwnerUncurse.cs:7
ThingGen
Definition:
ThingGen.cs:5
ThingGen.CreateScroll
static Thing CreateScroll(int ele, int num=1)
Definition:
ThingGen.cs:163
Thing
Definition:
Thing.cs:8
Elin
InvOwnerUncurse.cs
Generated by
1.9.6