Skip to content

Commit

Permalink
Add Pathologist
Browse files Browse the repository at this point in the history
  • Loading branch information
makscee committed Apr 24, 2024
1 parent 53599c6 commit a4ae598
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/ron/heroes/addict.unit.ron
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
octaves: Int(3),
lacunarity: Sin(Sum(Mul(GameTime, Float(0.2)), Mul(Index, Float(1.25)))),
gain: Float(0.33),
strength: Float(1.0),
offset: Vec2(1.0, 1.0),
),
alpha: Float(1.0),
padding: Zero,
Expand Down
1 change: 1 addition & 0 deletions assets/ron/heroes/bloodthinner.unit.ron
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
octaves: Int(2),
lacunarity: Sum(Float(1.0), Mul(Index, Float(1.0))),
gain: Sin(Mul(GameTime, Float(1.0))),
strength: Float(1.0),
offset: Mul(GameTime, Float(0.3)),
),
alpha: Float(0.6),
Expand Down
1 change: 1 addition & 0 deletions assets/ron/heroes/digger.unit.ron
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
octaves: Int(3),
lacunarity: Mul(Index, Float(2.0)),
gain: Sum(Float(0.2), Mul(Beat, Float(0.2))),
strength: Float(1.0),
offset: Mul(GameTime, Float(0.2)),
),
alpha: Float(0.5),
Expand Down
1 change: 1 addition & 0 deletions assets/ron/heroes/divinity.unit.ron
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
octaves: Int(3),
lacunarity: Mul(Index, Float(2.0)),
gain: Sum(Float(0.2), Mul(Beat, Float(0.2))),
strength: Float(1.0),
offset: Mul(GameTime, Float(0.2)),
),
alpha: Float(0.5),
Expand Down
35 changes: 35 additions & 0 deletions assets/ron/heroes/pathologist.unit.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#![enable(implicit_some)]
(
name: "Pathologist",
hp: 1,
atk: 3,
stacks: 1,
level: 1,
houses: "Medics",
trigger: Fire(
triggers: [(AllyDeath, None)],
targets: [(AllAllyUnits, None)],
effects: [(Heal(None), None)],
),
representation: (
material: Shape(
shape: Circle(radius: Float(0.5)),
shape_type: Line(thickness: Float(1.0)),
fill: Solid(color: OwnerState(Color)),
fbm: (
octaves: Int(1),
lacunarity: Float(1.0),
gain: Float(1.0),
strength: Float(0.1),
offset: Vec2EE(Mul(GameTime, Float(0.2)), Zero),
),
alpha: Float(1.0),
padding: Float(0.2),
),
children: [],
mapping: {Offset: Vec2EE(Zero, Mul(Sin(GameTime), Float(0.1)))},
count: 0,
),
state: (history: {}, birth: 0.0),
statuses: [],
)
1 change: 1 addition & 0 deletions assets/ron/heroes/saboteur.unit.ron
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
octaves: Int(3),
lacunarity: Float(1.6),
gain: Sum(Float(2.3), Mul(Beat, Float(0.5))),
strength: Float(1.0),
offset: Mul(Sum(GameTime, Float(0.1)), Float(0.13)),
),
alpha: Float(1.0),
Expand Down
1 change: 1 addition & 0 deletions assets/ron/heroes/trickster.unit.ron
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
octaves: Int(3),
lacunarity: Float(0.22),
gain: Sum(Float(0.54), Mul(Beat, Float(0.1))),
strength: Float(1.0),
offset: Mul(Mul(GameTime, Float(-1.0)), Float(0.13)),
),
alpha: Float(1.0),
Expand Down
1 change: 1 addition & 0 deletions assets/ron/heroes/wane.unit.ron
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
octaves: Int(3),
lacunarity: Mul(Index, Float(2.0)),
gain: Sum(Float(0.2), Mul(Beat, Float(0.2))),
strength: Float(1.0),
offset: Mul(GameTime, Float(0.2)),
),
alpha: Float(0.5),
Expand Down
1 change: 1 addition & 0 deletions assets/ron/heroes/wither.unit.ron
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
octaves: Int(3),
lacunarity: Mul(Index, Float(2.0)),
gain: Sum(Float(0.2), Mul(Beat, Float(0.2))),
strength: Float(1.0),
offset: Mul(GameTime, Float(0.2)),
),
alpha: Float(0.5),
Expand Down

0 comments on commit a4ae598

Please sign in to comment.