Commit 573e1278 authored by wind2009's avatar wind2009

Fix pendulum scale

parent 6923c26e
Pipeline #28630 passed with stages
in 4 minutes and 40 seconds
......@@ -294,8 +294,8 @@ async function formatCard(data: YGOProCardLike): Promise<YGOProCard> {
const result: Partial<YGOProCard> = {
...data,
displayLevel: data.level & 0xff,
cardLScale: (data.level >>> 6) & 0xff,
cardRScale: (data.level >>> 4) & 0xff,
cardLScale: (data.level >>> 24) & 0xff,
cardRScale: (data.level >>> 16) & 0xff,
displayAtk: toDisplayAdValue(data.atk),
displayRace: getStringValueByMysticalNumber(raceOffset, data.race),
displayAttribute: getStringValueByMysticalNumber(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment