Skip to content

Commit

Permalink
Unit stacking by drag in shop;
Browse files Browse the repository at this point in the history
Ability use Stacks var;
Show all enemy cards in preview always;
  • Loading branch information
makscee committed Jan 7, 2024
1 parent 9c8ca58 commit 6146c1d
Show file tree
Hide file tree
Showing 20 changed files with 112 additions and 327 deletions.
2 changes: 1 addition & 1 deletion assets/ron/heroes/bolla.unit.ron
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
house: "Dragons",
trigger: TurnEnd(UseAbility("Grow")),
name: "Bolla",
description: "Turn End: [Grow]",
description: "Turn End: [Grow] ({Stacks})",
representation: (
material: Shape(
shape: Circle,
Expand Down
77 changes: 0 additions & 77 deletions assets/ron/heroes/hound.unit.ron

This file was deleted.

2 changes: 1 addition & 1 deletion assets/ron/heroes/mentalist.unit.ron
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
house: "Meta",
trigger: BeforeDeath(UseAbility("Amnesia")),
name: "Mentalist",
description: "Before Death: use [Amnesia]",
description: "Before Death: use [Amnesia] ({Stacks})",
representation: (
material: Shape(
shape: Circle,
Expand Down
2 changes: 1 addition & 1 deletion assets/ron/heroes/priest.unit.ron
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
hp: 1,
atk: 1,
house: "Holy",
description: "Battle Start: apply [Blessing] to all allies",
description: "Battle Start: apply [Blessing] ({Stacks}) to all allies",
trigger: BattleStart(
AoeFaction(
OwnerFaction,
Expand Down
2 changes: 1 addition & 1 deletion assets/ron/heroes/protector.unit.ron
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
),
),
name: "Protector",
description: "Battle Start: give [Shield] to front ally",
description: "Battle Start: give [Shield] ({Stacks}) to front ally",
representation: (
material: Shape(
shape: Circle,
Expand Down
2 changes: 1 addition & 1 deletion assets/ron/heroes/scavenger.unit.ron
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
house: "Dragons",
trigger: AnyDeath(UseAbility("Grow")),
name: "Scavenger",
description: "Any Unit died: [Grow] ",
description: "Any Unit died: [Grow] ({Stacks})",
representation: (
material: Shape(
shape: Rectangle,
Expand Down
2 changes: 1 addition & 1 deletion assets/ron/heroes/wizard.unit.ron
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
hp: 3,
atk: 1,
house: "Mages",
description: "Turn End: use [Magic Missile]",
description: "Turn End: use [Magic Missile] ({Stacks})",
trigger: TurnEnd(UseAbility("Magic Missile")),
representation: (
material: Shape(
Expand Down
58 changes: 0 additions & 58 deletions assets/ron/houses/demons.house.ron

This file was deleted.

57 changes: 0 additions & 57 deletions assets/ron/scenarios/devour.scenario.ron

This file was deleted.

42 changes: 0 additions & 42 deletions assets/ron/scenarios/devour_each_other.scenario.ron

This file was deleted.

41 changes: 0 additions & 41 deletions assets/ron/scenarios/devour_first.scenario.ron

This file was deleted.

19 changes: 19 additions & 0 deletions assets/ron/unit.rep.ron
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,24 @@
),
],
),
(
material: Shape(
shape: Circle,
color: Hex("#B0BEC5"),
size: Vec2E(Float(0.3)),
),
mapping: {Position: Vec2(0.9, 0.6), Visible: GreaterThen(State(Stacks), Int(1))},
children: [
(
material: Text(
text: Sum(String("x"), StringInt(
State(Stacks),
)),
size: Float(0.4),
color: Hex("#ffffff"),
),
),
],
),
],
)
Loading

0 comments on commit 6146c1d

Please sign in to comment.