Skip to content

Commit

Permalink
fix character reference for plugins outside the character editor
Browse files Browse the repository at this point in the history
  • Loading branch information
brzGatsu committed Sep 18, 2023
1 parent 27cbc03 commit 1a1c930
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Sephrasto/Charakter.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,8 @@ def updateWaffenwerte(self):
self.waffenwerte.append(waffenwerte)
waffenwerte.kampfstil = el.kampfstil
waffenwerte.härte = el.härte
if "WS" in Wolke.Char.abgeleiteteWerte and el.name in Wolke.DB.einstellungen["Waffen: Härte WSStern"].wert:
waffenwerte.härte = Wolke.Char.abgeleiteteWerte["WS"].finalwert
if "WS" in self.abgeleiteteWerte and el.name in Wolke.DB.einstellungen["Waffen: Härte WSStern"].wert:
waffenwerte.härte = self.abgeleiteteWerte["WS"].finalwert
waffenwerte.würfel = el.würfel

if not el.fertigkeit in self.fertigkeiten:
Expand Down

0 comments on commit 1a1c930

Please sign in to comment.