Gave effects their own collection, they no longer live in arrays attached to skills/attributes

Also improved the display of features and generally iterated on their manipulation.

Characters now fetch the relevant effects directly when making a calculation, simplifying almost everything.

Effects now store a reference to their source if they have one.

Effect names are now optional, they can be fetched from the source's name if the source exists.
This commit is contained in:
Thaum
2015-01-23 11:04:07 +00:00
parent 84512beb72
commit 6a2e7f0832
32 changed files with 340 additions and 642 deletions

View File

@@ -1,5 +1,38 @@
paper-shadow.featureCard {
width: 300px;
padding: 16px;
margin: 8px;
margin: 4px;
background: white;
}
flex-grow: 1;
border-radius: 2px;
}
.features {
display: flex !important;
justify-content: center;
align-items: stretch;
flex-wrap: wrap;
padding: 4px;
}
.featureCardTop {
margin-bottom: 8px;
}
.featureCardBottom {
white-space: pre-line;
}
#addFeature {
position: absolute;
bottom: 24px;
right: 24px;
}
@media (max-width: 640px) {
#addFeature {
bottom: 16px;
right: 24px;
}
}