Skip to content

Conversation

@Xolgrim
Copy link
Contributor

@Xolgrim Xolgrim commented Dec 3, 2021

Bug: https://bugs.eressea.de/view.php?id=2786
Unnecessary decimal places removed

Bug: https://bugs.eressea.de/view.php?id=2786
Unnecessary decimal places removed
Tip error fixed. Aurareg at fairy is 1.5 not 1
<skill name="taxation" modifier="-99"/>
<attack type="4" damage="1d4"/>
</race>
<race name="fairy" magres="80" maxaura="1" regaura="1" weight="200" capacity="540" speed="1" hp="6" damage="1d3" unarmedattack="0" unarmeddefense="0" attackmodifier="6" defensemodifier="14" fly="yes" walk="yes" teach="no" getitem="yes" equipment="yes">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Die Dezimalstelle hier war doch nicht unnötig? 1.5 ist nicht das selbe wie 1, das ist also eine Regeländerung.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dazu habe ich doch selbst einen änderungsantrag gemacht um den tipfehler zu beheben, dachte ich ...

@ennorehling
Copy link
Member

Ganz entfernen würde ich die Nachkommastellen nicht wollen. Es ist einfacher zu erkennen, dass eine Zahl Nachkommastellen haben kann, wenn da 1.0 steht und nicht 1. Und man sieht leichter, ob eine Chance in Prozenten (1 = 1%) oder als Chance (1.0 = 100%) angegeben werden soll. Dass es beide Varianten gibt, ist eine Altlast, die aber erst im Code beseitigt werden müsste.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants