-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMartyr.cs
More file actions
30 lines (22 loc) · 680 Bytes
/
Martyr.cs
File metadata and controls
30 lines (22 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using Il2Cpp;
using Il2CppInterop.Runtime.Injection;
using MelonLoader;
namespace RevealDilemmaMod;
[RegisterTypeInIl2Cpp]
public class Martyr : Minion
{
public Martyr() : base(ClassInjector.DerivedConstructorPointer<Martyr>())
{
ClassInjector.DerivedConstructorBody(this);
}
public override void Act(ETriggerPhase trigger, Character charRef)
{
MelonLogger.Msg("Doing stuff");
}
public override CharacterData GetBluffIfAble(Character charRef)
{
CharacterData bluff = Characters.Instance.GetRandomDuplicateBluff();
Gameplay.Instance.AddScriptCharacterIfAble(bluff.type, bluff);
return bluff;
}
}