forked from rDrama/rDrama
fsfs
parent
114e53b399
commit
3157f28adc
|
@ -208,12 +208,12 @@
|
|||
|
||||
|
||||
{% if p.award_count("stars") %}
|
||||
<script src="/assets/js/sparkle-min.js" type="text/javascript"></script>
|
||||
{% set minbugs = 10*p.award_count("shit") if p.award_count("shit") <= 5 else 50 %}
|
||||
{% set maxbugs = 20*p.award_count("shit") if p.award_count("shit") <= 5 else 100 %}
|
||||
<script src="/assets/js/star.js" type="text/javascript"></script>
|
||||
{% set minbugs = 10*p.award_count("stars") if p.award_count("stars") <= 5 else 50 %}
|
||||
{% set maxbugs = 20*p.award_count("stars") if p.award_count("stars") <= 5 else 100 %}
|
||||
<script type="text/javascript">
|
||||
new BugController({
|
||||
imageSprite: "/assets/images/sparkle-sprite.png",
|
||||
imageSprite: "/assets/images/star.png",
|
||||
canDie: false,
|
||||
minBugs: {{minbugs}},
|
||||
maxBugs: {{maxbugs}},
|
||||
|
|
Loading…
Reference in New Issue