-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add amplify icon and support for scheme_amplify #266
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,6 +78,7 @@ public function serialize() { | |
$optionalFields[] = 'resource_wild'; | ||
$optionalFields[] = 'scheme_acceleration'; | ||
$optionalFields[] = 'scheme_crisis'; | ||
$optionalFields[] = 'scheme_amplify'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe we also want to add this to the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
$optionalFields[] = 'scheme_hazard'; | ||
case 'ally': | ||
$mandatoryFields[] = 'cost'; | ||
|
@@ -159,6 +160,7 @@ public function serialize() { | |
$optionalFields[] = 'escalation_threat_star'; | ||
$optionalFields[] = 'scheme_acceleration'; | ||
$optionalFields[] = 'scheme_crisis'; | ||
$optionalFields[] = 'scheme_amplify'; | ||
mmougy marked this conversation as resolved.
Show resolved
Hide resolved
|
||
$optionalFields[] = 'scheme_hazard'; | ||
break; | ||
case "mainScheme": | ||
|
@@ -2560,6 +2562,11 @@ public function getThreatStar() | |
*/ | ||
private $schemeAcceleration; | ||
|
||
/** | ||
* @var integer | ||
*/ | ||
private $schemeAmplify; | ||
|
||
/** | ||
* @var integer | ||
*/ | ||
|
@@ -2614,6 +2621,30 @@ public function getSchemeAcceleration() | |
return $this->schemeAcceleration; | ||
} | ||
|
||
/** | ||
mmougy marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* Set schemeAmplify | ||
* | ||
* @param integer $schemeAmplify | ||
* | ||
* @return Card | ||
*/ | ||
public function setSchemeAmplify($schemeAmplify) | ||
{ | ||
$this->schemeAmplify = $schemeAmplify; | ||
|
||
return $this; | ||
} | ||
|
||
/** | ||
* Get schemeAmplify | ||
* | ||
* @return integer | ||
*/ | ||
public function getSchemeAmplify() | ||
{ | ||
return $this->schemeAmplify; | ||
} | ||
|
||
/** | ||
* Set schemeHazard | ||
* | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
@font-face { | ||
font-family: 'marvel-icons'; | ||
src: url('../fonts/marvel-icons.eot?4fzpq9'); | ||
src: url('../fonts/marvel-icons.eot?4fzpq9#iefix') format('embedded-opentype'), | ||
url('../fonts/marvel-icons.ttf?4fzpq9') format('truetype'), | ||
url('../fonts/marvel-icons.woff?4fzpq9') format('woff'), | ||
url('../fonts/marvel-icons.svg?4fzpq9#marvel-icons') format('svg'); | ||
Comment on lines
-3
to
-7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know enough about these type of font files but if we delete these files here, they are orphaned in the repo and should probably get deleted. I am curious though why we needed them in the first place (or if we still need them and shouldn't delete them) since this new ttf format matches the existing |
||
|
||
src: url('../fonts/ChampionsIcons.ttf?') format('truetype'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would think if we have a new icon that needs to get added we would replace the existing There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I kept the exact name of the file from the homebrew server in case it is updated |
||
|
||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
@@ -55,76 +53,50 @@ | |
font-size: 32px; | ||
} | ||
.icon-crisis:before { | ||
content: "\e900"; | ||
content: "C"; | ||
} | ||
.icon-acceleration { | ||
font-size: 32px; | ||
} | ||
.icon-acceleration:before { | ||
content: "\e901"; | ||
content: "A"; | ||
} | ||
.icon-amplify { | ||
font-size: 32px; | ||
} | ||
.icon-amplify:before { | ||
content: "F"; | ||
} | ||
.icon-hazard { | ||
font-size: 32px; | ||
} | ||
.icon-hazard:before { | ||
content: "\e902"; | ||
content: "H"; | ||
} | ||
.icon-per_hero:before { | ||
content: "\e903"; | ||
content: "G"; | ||
} | ||
.icon-unique:before { | ||
content: "\e904"; | ||
content: "U"; | ||
} | ||
.icon-star:before { | ||
content: "\e905"; | ||
content: "S"; | ||
} | ||
.icon-boost:before { | ||
content: "\e906"; | ||
content: "B"; | ||
} | ||
.icon-cost:before { | ||
content: "\e907"; | ||
} | ||
.icon-energy_fill:before { | ||
content: "\e908"; | ||
color: #86671b; | ||
} | ||
.icon-energy_outline:before { | ||
content: "\e909"; | ||
color: #f6be33; | ||
content: "D"; | ||
} | ||
.icon-energy:before { | ||
content: "\e90a"; | ||
} | ||
.icon-mental_fill:before { | ||
content: "\e90b"; | ||
color: #b7c9eb; | ||
} | ||
.icon-mental_outline:before { | ||
content: "\e90c"; | ||
color: #5c72c1; | ||
content: "E"; | ||
} | ||
.icon-mental:before { | ||
content: "\e90d"; | ||
} | ||
.icon-physical_fill:before { | ||
content: "\e90e"; | ||
color: #ee9080; | ||
} | ||
.icon-physical_outline:before { | ||
content: "\e90f"; | ||
color: #aa3220; | ||
content: "M"; | ||
} | ||
.icon-physical:before { | ||
content: "\e910"; | ||
} | ||
.icon-wild_fill:before { | ||
content: "\e911"; | ||
color: #45bc5c; | ||
} | ||
.icon-wild_outline:before { | ||
content: "\e912"; | ||
color: #247034; | ||
content: "P"; | ||
} | ||
.icon-wild:before { | ||
content: "\e913"; | ||
content: "W"; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I spent some effort making sure these keys are all alphabetical. Can you ensure they remain that way in this file? This looks to be out of order but if the name gets simplified to just
amplify
we should make sure all of these end up in the new correct order.