It is currently 19 Apr 2024, 15:39
   
Text Size

Set Emblem Price in lua Script

Moderators: charmer, CCGHQ Admins

Set Emblem Price in lua Script

Postby brpass » 15 Aug 2012, 19:58

Hi,

is there a way to make a difference between the planeswalker and the emblem when setting the price from a lua script?

I have found only this signature:
ma.SetPrice(setid, langid, cardname, cardversion, regprice, foilprice)

The function sets the same price for the planeswalker and the emblem, when I call the function with the cardname of the planeswalker.

I think it would be better, if the function sets only the planeswalker price. In most cases the the emblem is much cheaper than the planeswalker and the planeswalker cards are the cards with the highest prices.

Having an emblem in the inventory changes the summary price, on the bottom of the list, significantly.
brpass
 
Posts: 6
Joined: 03 Oct 2011, 03:05
Has thanked: 1 time
Been thanked: 0 time

Re: Set Emblem Price in lua Script

Postby Goblin Hero » 17 Aug 2012, 08:34

Pls, repost it into the bug tracker. I will look into it later.
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
User avatar
Goblin Hero
Site Admin
Site Admin
 
Posts: 1992
Joined: 23 Oct 2005, 09:37
Location: Russia
Has thanked: 218 times
Been thanked: 351 times

Re: Set Emblem Price in lua Script

Postby Goblin Hero » 18 Aug 2012, 09:15

I've renamed all emblems in the database in the latest update. Problem fixed.
When you´re a goblin, you don´t have to step forward to be a hero -- everyone else just has to step back.
User avatar
Goblin Hero
Site Admin
Site Admin
 
Posts: 1992
Joined: 23 Oct 2005, 09:37
Location: Russia
Has thanked: 218 times
Been thanked: 351 times

Re: Set Emblem Price in lua Script

Postby brpass » 21 Aug 2012, 15:32

Hi GoblinHero,

thanks for doing this. This is very helpful.
You are awesome.
brpass
 
Posts: 6
Joined: 03 Oct 2011, 03:05
Has thanked: 1 time
Been thanked: 0 time


Return to Magic Album

Who is online

Users browsing this forum: No registered users and 42 guests


Who is online

In total there are 42 users online :: 0 registered, 0 hidden and 42 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 42 guests

Login Form