---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
cajun
2024-10-01 08:34:46 -05:00
committed by GitHub
parent d1b3bdac74
commit 5016c6efa2
32836 changed files with 65408 additions and 48862 deletions

View File

@@ -0,0 +1,43 @@
card style:
card stamp:
left:
script:
width := face_coordinates_map(1).width
height := face_coordinates_map(1).height
if width > height and card.card_stamp == "custom" then face_coordinates_map(1).left + 50 * width/523 + card_stamp_offset_left_1()
else if width > height then face_coordinates_map(1).left + 7 * width/523 + card_stamp_offset_left_1()
else face_coordinates_map(1).left + 166 * width/375 + card_stamp_offset_left_1()
top:
script:
width := face_coordinates_map(1).width
height := face_coordinates_map(1).height
if width > height then face_coordinates_map(1).top + 166 * height/375 + card_stamp_offset_top_1()
else face_coordinates_map(1).top + 473 * height/523 + card_stamp_offset_top_1()
width:
script:
width := face_coordinates_map(1).width
height := face_coordinates_map(1).height
if width > height then 43 * width/523 + card_stamp_offset_width_1()
else 43 * width/375 + card_stamp_offset_width_1()
height:
script:
width := face_coordinates_map(1).width
height := face_coordinates_map(1).height
if width > height then 43 * height/375 + card_stamp_offset_height_1()
else 43 * height/523 + card_stamp_offset_height_1()
angle:
script:
width := face_coordinates_map(1).width
height := face_coordinates_map(1).height
if width > height and card.card_stamp == "custom" then -90
else 0
visible: { not card_stamp_disabled_1() }
popup style: in place
include file: /magic.mse-game/stamps/menu_choice_images
render style: image
image:
script:
set.stamp_behavior
card.rarity
card_stamp_image(field: 1, face: 1)
z index: 860