-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSupernova.cs
70 lines (65 loc) · 2.76 KB
/
Supernova.cs
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
using log4net;
using SupernovaMod.Common.Systems;
using System.Collections.Generic;
using Terraria.ModLoader;
namespace SupernovaMod
{
public class Supernova : Mod
{
public static ILog Log { get; private set; }
public override void Load()
{
Log = Logger;
}
public override void PostSetupContent()
{
// Check if the user has downloaded the bossChecklist mod
//
if (ModLoader.TryGetMod("BossChecklist", out Mod bossChecklist))
{
bossChecklist.Call("AddBoss", 1.8f,
new List<int> { ModContent.NPCType<Content.Npcs.Bosses.HarbingerOfAnnihilation.HarbingerOfAnnihilation>() },
this,
"Harbinger of Annihilation",
() => SupernovaBosses.downedHarbingerOfAnnihilation,
0,//ModContent.NPCType<Content.Npcs.CosmicAnomaly>(),
new List<int> {
ModContent.ItemType<Content.Npcs.Bosses.HarbingerOfAnnihilation.HarbingersCrest>(),
ModContent.ItemType<Content.Npcs.Bosses.HarbingerOfAnnihilation.HarbingersKnell>(),
ModContent.ItemType<Content.Npcs.Bosses.HarbingerOfAnnihilation.HarbingersPick>(),
ModContent.ItemType<Content.Npcs.Bosses.HarbingerOfAnnihilation.HarbingersSlicer>(),
},
new List<int> {
ModContent.ItemType<Content.Npcs.Bosses.HarbingerOfAnnihilation.HarbingersCrest>(),
ModContent.ItemType<Content.Npcs.Bosses.HarbingerOfAnnihilation.HarbingersKnell>(),
ModContent.ItemType<Content.Npcs.Bosses.HarbingerOfAnnihilation.HarbingersPick>(),
ModContent.ItemType<Content.Npcs.Bosses.HarbingerOfAnnihilation.HarbingersSlicer>(),
},
"Kill a Cosmic Anomaly in Space"
);
bossChecklist.Call("AddBoss", 3.7f,
new List<int> { ModContent.NPCType<Content.Npcs.Bosses.FlyingTerror.FlyingTerror>() },
this,
"Flying Terror",
() => SupernovaBosses.downedFlyingTerror,
ModContent.ItemType<Content.Items.Misc.HorridChunk>(),
new List<int> {
ModContent.ItemType<Content.Npcs.Bosses.FlyingTerror.FlyingTerrorBag>(),
ModContent.ItemType<Content.Npcs.Bosses.FlyingTerror.TerrorTuft>()
},
new List<int> {
ModContent.ItemType<Content.Npcs.Bosses.FlyingTerror.FlyingTerrorBag>(),
ModContent.ItemType<Content.Npcs.Bosses.FlyingTerror.TerrorInABottle>(),
ModContent.ItemType<Content.Npcs.Bosses.FlyingTerror.BlunderBuss>(),
ModContent.ItemType<Content.Npcs.Bosses.FlyingTerror.TerrorCleaver>(),
ModContent.ItemType<Content.Npcs.Bosses.FlyingTerror.TerrorKnife>(),
ModContent.ItemType<Content.Npcs.Bosses.FlyingTerror.TerrorRecurve>(),
ModContent.ItemType<Content.Npcs.Bosses.FlyingTerror.TerrorTome>(),
},
"Use a [i:" + ModContent.ItemType<Content.Items.Misc.HorridChunk>() + "] at night"
);
}
base.PostSetupContent();
}
}
}