AnglerReward & NewProjectile IL Edits - 11 left!
This commit is contained in:
1 parent
4cb4e11537
commit
f87e374a98
2 files changed
+3
-3
No files matched your search
@@ -66,7 +66,7 @@ namespace CalamityMod.ILEditing
|
||||
Terraria.On_WorldGen.OpenDoor += OpenDoor_LabDoorOverride;
|
||||
Terraria.On_WorldGen.CloseDoor += CloseDoor_LabDoorOverride;
|
||||
Terraria.On_Item.AffixName += IncorporateEnchantmentInAffix;
|
||||
Terraria.On_Projectile.NewProjectile_IEntitySource_float_float_float_float_int_int_float_int_float_float += IncorporateMinionExplodingCountdown;
|
||||
Terraria.On_Projectile.NewProjectile_IEntitySource_float_float_float_float_int_int_float_int_float_float_float += IncorporateMinionExplodingCountdown;
|
||||
// TODO -- This should be unnecessary. There is now a TML hook for platform collision for ModNPCs.
|
||||
Terraria.On_NPC.Collision_DecideFallThroughPlatforms += EnableCalamityBossPlatformCollision;
|
||||
Terraria.IL_Wiring.HitWireSingle += AddTwinklersToStatue;
|
||||
|
||||
@@ -424,9 +424,9 @@ namespace CalamityMod.ILEditing
|
||||
#endregion Color Blighted Gel
|
||||
|
||||
#region Improve Angler Quest Rewards
|
||||
private static void ImproveAnglerRewards(Terraria.On_Player.orig_GetAnglerReward orig, Player self, NPC angler)
|
||||
private static void ImproveAnglerRewards(Terraria.On_Player.orig_GetAnglerReward orig, Player self, NPC angler, int questItemType)
|
||||
{
|
||||
orig(self, angler);
|
||||
orig(self, angler, questItemType);
|
||||
|
||||
EntitySource_Gift source = new EntitySource_Gift(angler);
|
||||
int questsDone = self.anglerQuestsFinished + Main.rand.Next(101);
|
||||
|
||||
Reference in new issue
Block a user