update
This commit is contained in:
@@ -19,7 +19,7 @@ const YELLOW := Color("ffe65a")
|
||||
const ORANGE := Color("ff963c")
|
||||
const PURPLE := Color("8c78dc")
|
||||
const AMBER := Color("f0b429") # Angriff
|
||||
const CRIMSON := Color("d64545") # Leben
|
||||
const LIFE := Color("4a86d8") # Leben
|
||||
const MANA := Color("3a78d2") # Kostenkristall
|
||||
const PRIMARY := Color("285a3c") # Hauptaktion
|
||||
const DANGER := Color("5a2828")
|
||||
@@ -476,11 +476,11 @@ static func cost_crystal(ci: CanvasItem, c: Vector2, r: float, cost: int, font:
|
||||
|
||||
|
||||
## Wertkreis (Angriff gelb, Leben rot) mit Zahl.
|
||||
static func stat_circle(ci: CanvasItem, c: Vector2, r: float, value: String, color: Color, font: int) -> void:
|
||||
static func stat_circle(ci: CanvasItem, c: Vector2, r: float, value: String, color: Color, font: int, text_col: Color = Color.WHITE) -> void:
|
||||
ci.draw_circle(c, r + 2, Color("14141c"))
|
||||
ci.draw_circle(c, r, color)
|
||||
ci.draw_circle(c + Vector2(-r * 0.25, -r * 0.3), r * 0.45, Color(1, 1, 1, 0.16))
|
||||
text_outlined(ci, value, font, Color.WHITE, c, "center", 3)
|
||||
text_outlined(ci, value, font, text_col, c, "center", 3)
|
||||
|
||||
|
||||
## Eigenschaft als Symbol auf dunklem Kreis: Spott Ausrufezeichen, Flink Doppelpfeil,
|
||||
|
||||
Reference in New Issue
Block a user