Changes

Jump to navigation Jump to search
m
Text replacement - "tt>" to "samp>"
Line 3: Line 3:  
Hello Jaks!  I'm having trouble finding the sell to store price for weapons.  I noticed you updated a few pages with reduced sell prices, and I would like to record the change in the history section of the pages, if it's a 1.5 change. However, I'm embarrassed to say that I cannot find where the sell price is set in data files or in the code.  Do you have any idea?  Is this a 1.5 change, or was the information incorrect before?  Thanks so much, [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 15:54, 20 March 2021 (UTC)
 
Hello Jaks!  I'm having trouble finding the sell to store price for weapons.  I noticed you updated a few pages with reduced sell prices, and I would like to record the change in the history section of the pages, if it's a 1.5 change. However, I'm embarrassed to say that I cannot find where the sell price is set in data files or in the code.  Do you have any idea?  Is this a 1.5 change, or was the information incorrect before?  Thanks so much, [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 15:54, 20 March 2021 (UTC)
 
:not Jaks but I think you just get the formula from MeleeWeapon.cs which states "salePrice itemlevel * 100" and then the shop sell formula is "(toSell.salePrice() / 2", so the summary would be: grab item level, multiply by 100, divide by 2 = sell price. Example Infinity Gravel: item Level 17 * 100 = 1700 /2 = 850g saleprice. [[User:Dubesor|Dubesor]] ([[User talk:Dubesor|talk]]) 16:53, 20 March 2021 (UTC)
 
:not Jaks but I think you just get the formula from MeleeWeapon.cs which states "salePrice itemlevel * 100" and then the shop sell formula is "(toSell.salePrice() / 2", so the summary would be: grab item level, multiply by 100, divide by 2 = sell price. Example Infinity Gravel: item Level 17 * 100 = 1700 /2 = 850g saleprice. [[User:Dubesor|Dubesor]] ([[User talk:Dubesor|talk]]) 16:53, 20 March 2021 (UTC)
::Thanks for the info!  Now the question is, where does weapon level get set?  It must be in the code, because it's not in <tt>Weapons.xnb</tt>.  [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 18:16, 20 March 2021 (UTC)
+
::Thanks for the info!  Now the question is, where does weapon level get set?  It must be in the code, because it's not in <samp>Weapons.xnb</samp>.  [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 18:16, 20 March 2021 (UTC)
 
:::Well, I just passed to the wiki what is in the game, I do not see the game files or code. [[User:JaksStrange|JaksStrange]] ([[User talk:JaksStrange|talk]]) 18:31, 20 March 2021 (UTC)
 
:::Well, I just passed to the wiki what is in the game, I do not see the game files or code. [[User:JaksStrange|JaksStrange]] ([[User talk:JaksStrange|talk]]) 18:31, 20 March 2021 (UTC)
 
::: I am not exactly sure but I THINK it could be just a calculation pulled from all the other weapon attributes. There is a getItemLevel calculation done that takes all kind of attributes and weaponpoints into account and based on that calculation the item level is set. This is my assumption anyway, I am neither a coder nor a modder [[User:Dubesor|Dubesor]] ([[User talk:Dubesor|talk]]) 19:25, 20 March 2021 (UTC)
 
::: I am not exactly sure but I THINK it could be just a calculation pulled from all the other weapon attributes. There is a getItemLevel calculation done that takes all kind of attributes and weaponpoints into account and based on that calculation the item level is set. This is my assumption anyway, I am neither a coder nor a modder [[User:Dubesor|Dubesor]] ([[User talk:Dubesor|talk]]) 19:25, 20 March 2021 (UTC)
107,345

edits

Navigation menu