Template:Sprite/Lucky: Difference between revisions

Jump to navigation Jump to search
m (sleep)
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{Sprite
<includeonly>{{Sprite
  |ratio={{{ratio|3}}}
  |ratio={{{ratio|1.2}}}
  |sheetWidth=1024
  |sheetWidth=1024
  |sheetHeight=960
  |sheetHeight=960
Line 10: Line 10:
   | missed = 9
   | missed = 9
   | sleeping = 3
   | sleeping = 3
  | nervous = 3
  | bed = 4
  | cast = 8
  | angry = 11
   | {{{row|1}}}
   | {{{row|1}}}
  }}
  }}
  |col={{#switch: {{{expr|}}}
  |col={{#switch: {{{expr|}}}
   | neutral = 4
   | neutral = 4.3
   | happy = 9
   | happy = 8.7
   | prehit = 7
   | prehit = 6.5
   | barely = 2
   | barely = 2.2
   | missed = 8
   | missed = 8.6
   | sleeping = 7
   | sleeping = 7.6
  | nervous = 2.2
  | bed = 10.7
  | cast = 9.8
  | angry = 6.5
   | {{{col|1}}}
   | {{{col|1}}}
  }}
  }}
  |offsetX={{#switch: {{{expr|}}} <!-- "noOfRows" and "noOfColumns" are switched for every expression in order to center them properly without losing integrity of the overall template-->
  |offsetX={{#switch: {{{expr|}}} <!-- "noOfRows" and "noOfColumns" are switched for every expression in order to center them properly without losing integrity of the overall template-->
   | neutral = -25
   | neutral = -20
   | happy = -40
   | happy = -40
   | prehit = -27
   | prehit = -27
Line 28: Line 36:
   | missed = -40
   | missed = -40
   | sleeping = -40
   | sleeping = -40
  | nervous = -10
  | bed = -40
  | cast = -50
  | angry = -30
   | {{{offsetX|0}}}
   | {{{offsetX|0}}}
  }}
  }}
Line 37: Line 49:
   | missed = 0
   | missed = 0
   | sleeping = 0
   | sleeping = 0
  | nervous = 0
  | bed = 0
  | cast = 0
  | angry = 0
   | {{{offsetY|0}}}
   | {{{offsetY|0}}}
  }}
  }}
|noOfRows={{{noOfRows|12}}}
|noOfRows={{{noOfRows|12}}}
|noOfColumns={{{noOfColumns|12}}}
|noOfColumns={{{noOfColumns|13}}}
|image=File:LuckySprites.png
|image=File:LuckySprites.png
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}</includeonly><noinclude>{{documentation}}</noinclude>
{{Sprite/Lucky|expr=neutral}}
{{Sprite/Lucky|expr=happy}}
{{Sprite/Lucky|expr=prehit}}
{{Sprite/Lucky|expr=barely}}
{{Sprite/Lucky|expr=missed}}
{{Sprite/Lucky|expr=sleeping}}

Latest revision as of 23:59, 24 February 2025