using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using UnboundLib.Cards;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: AssemblyTitle("RoundsMod")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("HP")]
[assembly: AssemblyProduct("RoundsMod")]
[assembly: AssemblyCopyright("Copyright © HP 2025")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("5b020007-d169-4ae2-b51a-89c0520c69f0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace RoundsMod;
public class StunEffect : MonoBehaviour
{
[CompilerGenerated]
private sealed class <StunRoutine>d__3 : IEnumerator<object>, IDisposable, IEnumerator
{
private int <>1__state;
private object <>2__current;
public StunEffect <>4__this;
private CharacterStatModifiers <stats>5__1;
private float <originalSpeed>5__2;
private float <originalJump>5__3;
object IEnumerator<object>.Current
{
[DebuggerHidden]
get
{
return <>2__current;
}
}
object IEnumerator.Current
{
[DebuggerHidden]
get
{
return <>2__current;
}
}
[DebuggerHidden]
public <StunRoutine>d__3(int <>1__state)
{
this.<>1__state = <>1__state;
}
[DebuggerHidden]
void IDisposable.Dispose()
{
<stats>5__1 = null;
<>1__state = -2;
}
private bool MoveNext()
{
//IL_008c: Unknown result type (might be due to invalid IL or missing references)
//IL_0096: Expected O, but got Unknown
switch (<>1__state)
{
default:
return false;
case 0:
<>1__state = -1;
<stats>5__1 = <>4__this.player.data.stats;
<originalSpeed>5__2 = <stats>5__1.movementSpeed;
<originalJump>5__3 = <stats>5__1.jump;
<stats>5__1.movementSpeed = 0f;
<stats>5__1.jump = 0f;
<>2__current = (object)new WaitForSeconds(<>4__this.duration);
<>1__state = 1;
return true;
case 1:
<>1__state = -1;
<stats>5__1.movementSpeed = <originalSpeed>5__2;
<stats>5__1.jump = <originalJump>5__3;
Object.Destroy((Object)(object)<>4__this);
return false;
}
}
bool IEnumerator.MoveNext()
{
//ILSpy generated this explicit interface implementation from .override directive in MoveNext
return this.MoveNext();
}
[DebuggerHidden]
void IEnumerator.Reset()
{
throw new NotSupportedException();
}
}
private Player player;
private float duration;
public void Init(Player p, float d)
{
player = p;
duration = d;
((MonoBehaviour)this).StartCoroutine(StunRoutine());
}
[IteratorStateMachine(typeof(<StunRoutine>d__3))]
private IEnumerator StunRoutine()
{
//yield-return decompiler failed: Unexpected instruction in Iterator.Dispose()
return new <StunRoutine>d__3(0)
{
<>4__this = this
};
}
}
public class HollowPurpleCard : CustomCard
{
protected override string GetTitle()
{
return "Hollow Purple";
}
protected override string GetDescription()
{
return "Imaginary Mass: Erase anything in your path.";
}
protected override Rarity GetRarity()
{
return (Rarity)2;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)4;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
//IL_0052: Unknown result type (might be due to invalid IL or missing references)
//IL_0057: Unknown result type (might be due to invalid IL or missing references)
//IL_005e: Unknown result type (might be due to invalid IL or missing references)
//IL_0069: Unknown result type (might be due to invalid IL or missing references)
//IL_0075: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[3]
{
new CardInfoStat
{
positive = true,
stat = "Damage",
amount = "+500%"
},
new CardInfoStat
{
positive = true,
stat = "Projectile Size",
amount = "+700%"
},
new CardInfoStat
{
positive = false,
stat = "Reload Time",
amount = "+150%"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
gun.bulletDamageMultiplier += 5f;
gun.projectileSize += 7f;
gun.reloadTimeAdd += 1.5f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class CleaveCard : CustomCard
{
protected override string GetTitle()
{
return "Cleave";
}
protected override string GetDescription()
{
return "Blocking creates a lethal slash zone with an EMP-like burst.";
}
protected override Rarity GetRarity()
{
return (Rarity)2;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)4;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Damage",
amount = "+50%"
},
new CardInfoStat
{
positive = true,
stat = "Block",
amount = "Lethal Zone"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
gun.bulletDamageMultiplier += 0.5f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
block.BlockAction = (Action<BlockTriggerType>)Delegate.Combine(block.BlockAction, (Action<BlockTriggerType>)delegate
{
//IL_0023: Unknown result type (might be due to invalid IL or missing references)
//IL_0028: Unknown result type (might be due to invalid IL or missing references)
//IL_0085: Unknown result type (might be due to invalid IL or missing references)
//IL_0091: Unknown result type (might be due to invalid IL or missing references)
//IL_00b9: Unknown result type (might be due to invalid IL or missing references)
//IL_00c3: Unknown result type (might be due to invalid IL or missing references)
//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
//IL_00d4: Unknown result type (might be due to invalid IL or missing references)
//IL_00d9: Unknown result type (might be due to invalid IL or missing references)
GameObject val = Resources.Load<GameObject>("Unused/Explosion");
if ((Object)(object)val != (Object)null)
{
Object.Instantiate<GameObject>(val, ((Component)player).transform.position, Quaternion.identity);
}
IEnumerable<Player> enumerable = PlayerManager.instance.players.Where((Player p) => p.teamID != player.teamID);
foreach (Player item in enumerable)
{
float num = Vector3.Distance(((Component)player).transform.position, ((Component)item).transform.position);
if (num < 8f)
{
((Damagable)item.data.healthHandler).TakeDamage(Vector2.up * 50f, Vector2.op_Implicit(((Component)item).transform.position), Color.red, (GameObject)null, player, true, false);
((Component)item).gameObject.AddComponent<StunEffect>().Init(item, 1.2f);
}
}
});
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class DivergentFistCard : CustomCard
{
protected override string GetTitle()
{
return "Divergent Fist";
}
protected override string GetDescription()
{
return "Your bullets hit twice. One physical, one cursed.";
}
protected override Rarity GetRarity()
{
return (Rarity)1;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)6;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Projectiles",
amount = "+1"
},
new CardInfoStat
{
positive = false,
stat = "Damage",
amount = "-25%"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
gun.numberOfProjectiles++;
gun.spread += 0.05f;
gun.damage *= 0.75f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class SukunaVesselCard : CustomCard
{
protected override string GetTitle()
{
return "Sukuna's Vessel";
}
protected override string GetDescription()
{
return "Extreme physical prowess and poison resistance.";
}
protected override Rarity GetRarity()
{
return (Rarity)2;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)1;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
//IL_0052: Unknown result type (might be due to invalid IL or missing references)
//IL_0057: Unknown result type (might be due to invalid IL or missing references)
//IL_005e: Unknown result type (might be due to invalid IL or missing references)
//IL_0069: Unknown result type (might be due to invalid IL or missing references)
//IL_0075: Expected O, but got Unknown
//IL_0077: Unknown result type (might be due to invalid IL or missing references)
//IL_007c: Unknown result type (might be due to invalid IL or missing references)
//IL_0083: Unknown result type (might be due to invalid IL or missing references)
//IL_008e: Unknown result type (might be due to invalid IL or missing references)
//IL_009a: Expected O, but got Unknown
//IL_009c: Unknown result type (might be due to invalid IL or missing references)
//IL_00a1: Unknown result type (might be due to invalid IL or missing references)
//IL_00a8: Unknown result type (might be due to invalid IL or missing references)
//IL_00b3: Unknown result type (might be due to invalid IL or missing references)
//IL_00bf: Expected O, but got Unknown
//IL_00c1: Unknown result type (might be due to invalid IL or missing references)
//IL_00c6: Unknown result type (might be due to invalid IL or missing references)
//IL_00cd: Unknown result type (might be due to invalid IL or missing references)
//IL_00d8: Unknown result type (might be due to invalid IL or missing references)
//IL_00e4: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[6]
{
new CardInfoStat
{
positive = true,
stat = "Health",
amount = "+60%"
},
new CardInfoStat
{
positive = true,
stat = "Speed",
amount = "+25%"
},
new CardInfoStat
{
positive = true,
stat = "Regen",
amount = "+10"
},
new CardInfoStat
{
positive = true,
stat = "Damage",
amount = "+100%"
},
new CardInfoStat
{
positive = true,
stat = "Projectile Size",
amount = "+200%"
},
new CardInfoStat
{
positive = false,
stat = "Reload Time",
amount = "+50%"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
stats.health *= 1.6f;
stats.movementSpeed *= 1.25f;
stats.jump *= 1.2f;
stats.regen += 10f;
gun.bulletDamageMultiplier += 1f;
gun.projectileSize += 2f;
gun.reloadTimeAdd += 1.5f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class ManjiKickCard : CustomCard
{
protected override string GetTitle()
{
return "Manji Kick";
}
protected override string GetDescription()
{
return "High knockback and vertical mobility.";
}
protected override Rarity GetRarity()
{
return (Rarity)0;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)6;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Knockback",
amount = "+2.0"
},
new CardInfoStat
{
positive = true,
stat = "Jump",
amount = "+30%"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
gun.knockback += 2f;
stats.jump *= 1.3f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class CursedSpiritManipulationCard : CustomCard
{
protected override string GetTitle()
{
return "Cursed Spirit Manipulation";
}
protected override string GetDescription()
{
return "Summon a swarm of spirits with every shot.";
}
protected override Rarity GetRarity()
{
return (Rarity)2;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)5;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Projectiles",
amount = "+6"
},
new CardInfoStat
{
positive = false,
stat = "Proj Speed",
amount = "-40%"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
gun.numberOfProjectiles += 6;
gun.spread += 0.4f;
gun.projectileSpeed *= 0.6f;
gun.damage *= 0.4f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class UzumakiCard : CustomCard
{
protected override string GetTitle()
{
return "Maximum: Uzumaki";
}
protected override string GetDescription()
{
return "Condense spirits into a singular, devastating beam.";
}
protected override Rarity GetRarity()
{
return (Rarity)2;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)5;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Damage",
amount = "x4.0"
},
new CardInfoStat
{
positive = true,
stat = "Unblockable",
amount = "Yes"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
gun.damage *= 4f;
gun.projectileSize *= 3f;
gun.attackSpeed *= 3f;
gun.unblockable = true;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class PlayfulCloudCard : CustomCard
{
protected override string GetTitle()
{
return "Playful Cloud";
}
protected override string GetDescription()
{
return "Pure physical damage tool. Ignores cursed energy (Block).";
}
protected override Rarity GetRarity()
{
return (Rarity)1;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)2;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Unblockable",
amount = "Yes"
},
new CardInfoStat
{
positive = true,
stat = "Damage",
amount = "+20%"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
gun.unblockable = true;
gun.knockback += 1.5f;
gun.damage *= 1.2f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class IdleTransfigurationCard : CustomCard
{
protected override string GetTitle()
{
return "Idle Transfiguration";
}
protected override string GetDescription()
{
return "Touch the soul. Focus on pure damage and vitality.";
}
protected override Rarity GetRarity()
{
return (Rarity)2;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)4;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Soul Damage",
amount = "15%"
},
new CardInfoStat
{
positive = true,
stat = "Health",
amount = "+20%"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
gun.percentageDamage += 0.15f;
stats.health *= 1.2f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class SelfEmbodimentCard : CustomCard
{
protected override string GetTitle()
{
return "Self-Embodiment of Perfection";
}
protected override string GetDescription()
{
return "Reshape your own body to avoid death.";
}
protected override Rarity GetRarity()
{
return (Rarity)2;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)4;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Regen",
amount = "+20"
},
new CardInfoStat
{
positive = true,
stat = "Block CD",
amount = "-50%"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
stats.regen += 20f;
stats.health *= 0.7f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
block.cooldown *= 0.5f;
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class SoulMultiplicityCard : CustomCard
{
protected override string GetTitle()
{
return "Soul Multiplicity";
}
protected override string GetDescription()
{
return "Multiple projectiles with low accuracy.";
}
protected override Rarity GetRarity()
{
return (Rarity)0;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)4;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Projectiles",
amount = "+3"
},
new CardInfoStat
{
positive = false,
stat = "Accuracy",
amount = "-25%"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
gun.numberOfProjectiles += 3;
gun.spread += 0.25f;
gun.damage *= 0.8f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class RikaManifestCard : CustomCard
{
protected override string GetTitle()
{
return "Rika: Manifest";
}
protected override string GetDescription()
{
return "A massive boost to all offensive capabilities.";
}
protected override Rarity GetRarity()
{
return (Rarity)2;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)1;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Damage",
amount = "x2.0"
},
new CardInfoStat
{
positive = true,
stat = "Ammo",
amount = "+10"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
gun.damage *= 2f;
stats.health *= 1.5f;
gun.ammo += 10;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class CursedSpeechCard : CustomCard
{
protected override string GetTitle()
{
return "Cursed Speech: 'Don't Move'";
}
protected override string GetDescription()
{
return "Your bullets freeze enemies in place.";
}
protected override Rarity GetRarity()
{
return (Rarity)1;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)2;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[1]
{
new CardInfoStat
{
positive = true,
stat = "Slow",
amount = "+50%"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
gun.slow += 0.5f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class CopyTechniqueCard : CustomCard
{
protected override string GetTitle()
{
return "Copy Technique";
}
protected override string GetDescription()
{
return "Gain a random buff from the enemy's pool.";
}
protected override Rarity GetRarity()
{
return (Rarity)1;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)1;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "??",
amount = "+??"
},
new CardInfoStat
{
positive = false,
stat = "??",
amount = "-??"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
stats.regen += 5f;
gun.reflects += 2;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class BoogieWoogieCard : CustomCard
{
protected override string GetTitle()
{
return "Boogie Woogie";
}
protected override string GetDescription()
{
return "High speed and erratic bullet patterns.";
}
protected override Rarity GetRarity()
{
return (Rarity)1;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)6;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Movement Speed",
amount = "+35%"
},
new CardInfoStat
{
positive = true,
stat = "Proj Speed",
amount = "+50%"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
stats.movementSpeed *= 1.35f;
gun.projectileSpeed *= 1.5f;
gun.spread += 0.2f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class BlackFlashCard : CustomCard
{
protected override string GetTitle()
{
return "Black Flash";
}
protected override string GetDescription()
{
return "Rare, massive damage spikes.";
}
protected override Rarity GetRarity()
{
return (Rarity)2;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)5;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Damage",
amount = "x2.5"
},
new CardInfoStat
{
positive = true,
stat = "Knockback",
amount = "x3.0"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
gun.damage *= 2.5f;
gun.knockback *= 3f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class BrotherhoodCard : CustomCard
{
protected override string GetTitle()
{
return "My Brother!";
}
protected override string GetDescription()
{
return "...!";
}
protected override Rarity GetRarity()
{
return (Rarity)0;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)6;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Health",
amount = "+20%"
},
new CardInfoStat
{
positive = true,
stat = "Regen",
amount = "+2"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
stats.health *= 1.2f;
stats.regen += 2f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class RatioTechniqueCard : CustomCard
{
protected override string GetTitle()
{
return "7:3 Ratio";
}
protected override string GetDescription()
{
return "Precision strikes deal massive damage.";
}
protected override Rarity GetRarity()
{
return (Rarity)1;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)2;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Damage",
amount = "+73%"
},
new CardInfoStat
{
positive = true,
stat = "Proj Speed",
amount = "+20%"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
gun.damage *= 1.73f;
gun.projectileSpeed *= 1.2f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class OvertimeCard : CustomCard
{
protected override string GetTitle()
{
return "Overtime";
}
protected override string GetDescription()
{
return "Increased power at the cost of early-game health.";
}
protected override Rarity GetRarity()
{
return (Rarity)1;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)2;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Damage",
amount = "+40%"
},
new CardInfoStat
{
positive = false,
stat = "Health",
amount = "-20%"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
stats.health *= 0.8f;
gun.damage *= 1.4f;
gun.attackSpeed *= 0.7f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
public class CollapseCard : CustomCard
{
protected override string GetTitle()
{
return "Collapse";
}
protected override string GetDescription()
{
return "Ignore terrain and damage everyone behind cover.";
}
protected override Rarity GetRarity()
{
return (Rarity)2;
}
protected override CardThemeColorType GetTheme()
{
return (CardThemeColorType)2;
}
protected override GameObject GetCardArt()
{
return null;
}
protected string GetModName()
{
return "RoundsMod";
}
protected override CardInfoStat[] GetStats()
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Unknown result type (might be due to invalid IL or missing references)
//IL_002b: Expected O, but got Unknown
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0039: Unknown result type (might be due to invalid IL or missing references)
//IL_0044: Unknown result type (might be due to invalid IL or missing references)
//IL_0050: Expected O, but got Unknown
return (CardInfoStat[])(object)new CardInfoStat[2]
{
new CardInfoStat
{
positive = true,
stat = "Unblockable",
amount = "Yes"
},
new CardInfoStat
{
positive = true,
stat = "Ignore Walls",
amount = "Yes"
}
};
}
public override void SetupCard(CardInfo cardInfo, Gun gun, ApplyCardStats cardStats, CharacterStatModifiers stats)
{
gun.ignoreWalls = true;
gun.unblockable = true;
gun.damage *= 0.9f;
}
public override void OnAddCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
public override void OnRemoveCard(Player player, Gun gun, GunAmmo ammo, CharacterData data, HealthHandler health, Gravity gravity, Block block, CharacterStatModifiers stats)
{
}
}
[BepInPlugin("roundsmod.hollowpurple", "Hollow Purple Card", "1.0.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class HollowPurpleMod : BaseUnityPlugin
{
private void Start()
{
CustomCard.BuildCard<HollowPurpleCard>();
CustomCard.BuildCard<CleaveCard>();
CustomCard.BuildCard<SukunaVesselCard>();
CustomCard.BuildCard<DivergentFistCard>();
CustomCard.BuildCard<ManjiKickCard>();
CustomCard.BuildCard<CursedSpiritManipulationCard>();
CustomCard.BuildCard<UzumakiCard>();
CustomCard.BuildCard<PlayfulCloudCard>();
CustomCard.BuildCard<IdleTransfigurationCard>();
CustomCard.BuildCard<SelfEmbodimentCard>();
CustomCard.BuildCard<SoulMultiplicityCard>();
CustomCard.BuildCard<RikaManifestCard>();
CustomCard.BuildCard<CursedSpeechCard>();
CustomCard.BuildCard<CopyTechniqueCard>();
CustomCard.BuildCard<BoogieWoogieCard>();
CustomCard.BuildCard<BlackFlashCard>();
CustomCard.BuildCard<BrotherhoodCard>();
CustomCard.BuildCard<RatioTechniqueCard>();
CustomCard.BuildCard<OvertimeCard>();
CustomCard.BuildCard<CollapseCard>();
}
}