<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Weghuz on Medium]]></title>
        <description><![CDATA[Stories by Weghuz on Medium]]></description>
        <link>https://medium.com/@Weghuz?source=rss-aa3ea864fa12------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*deSQiASvxGDCVk5-XX-VJg.png</url>
            <title>Stories by Weghuz on Medium</title>
            <link>https://medium.com/@Weghuz?source=rss-aa3ea864fa12------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 07:19:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Weghuz/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Advanced Theory part 1: Scoring heroes in Defi Kingdoms]]></title>
            <link>https://medium.com/@Weghuz/advanced-theory-part-1-scoring-heroes-in-defi-kingdoms-1ffd043fcd1c?source=rss-aa3ea864fa12------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ffd043fcd1c</guid>
            <category><![CDATA[games]]></category>
            <category><![CDATA[nft]]></category>
            <category><![CDATA[harmony-one]]></category>
            <category><![CDATA[defikingdom]]></category>
            <category><![CDATA[defi]]></category>
            <dc:creator><![CDATA[Weghuz]]></dc:creator>
            <pubDate>Sat, 12 Feb 2022 22:45:40 GMT</pubDate>
            <atom:updated>2022-02-13T09:08:20.068Z</atom:updated>
            <content:encoded><![CDATA[<h3>Advanced Theory Part 1: Scoring Heroes in DeFi Kingdoms</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/0*z12Dc83h5ZNZP70-.png" /><figcaption>Advanced Theory is a series about Theorycrafting by Weghuz</figcaption></figure><h3>Index</h3><ol><li><a href="#2bc1">Introduction</a></li><li><a href="#578f">The Issue</a></li><li><a href="#3e74">Where We Stand</a></li><li><a href="#e23e">Why Not Use Gok Machar V1?</a></li><li><a href="#1f85">Stats To Consider</a></li><li><a href="#0ace">Class Score</a></li><li><a href="#0803">Summary</a></li><li><a href="#1d41">What’s Next?</a></li><li><a href="#acde">Who am I?</a></li></ol><h3>1. Introduction</h3><p>Hello there, this will be my first medium article. I got the idea to start writing because I do it all day in discord anyway so I might as well have a place to put my thoughts. A medium that makes more sense than Discord.</p><p>This is an article about scoring heroes in the web based Crypto game <a href="https://defikingdoms.com/">DeFi Kingdoms</a>.</p><p>I’ve nerded out in DFK since the beginning of October and found <a href="https://medium.com/u/f650a4f6672d">Samichpunch</a> articles invaluable. Without them I wouldn’t be as interested in the game as I am nor would I be as knowledgeable so thank you <a href="https://medium.com/u/f650a4f6672d">Samichpunch</a>!</p><p>What I’m trying to create here is a formula to easily conclude how important the stats a hero gained will be in combat. I want to have a score where if your hero has a few bad level ups it can even decline into the negative. But if a hero had decent luck and had Gaia’s blessing put on the right stats it would have a good score.</p><p>As I’ve talked to community members an old post by the always awesome dev Hubert popped into my mind. One post in particular that wasn’t even on the subject of combat, but on professions. Back in November Hubert said that “Hero stats and growth were designed with a combat system in mind”.</p><figure><img alt="Hero stats and growth were designed with a combat system in mind. They weren’t designed for perfect balance with the professions. Overall, your profession skill will be a stronger source of improvement than stats, so even if there isn’t perfect balance, you will still see your character improving as you do the profession." src="https://cdn-images-1.medium.com/max/527/1*koy2_6j4JxFTRuvDl0UNug.png" /><figcaption><a href="https://discord.com/channels/861728723991527464/875075479307161601/912427352959615036">https://discord.com/channels/861728723991527464/875075479307161601/912427352959615036</a></figcaption></figure><p>I found this very intriguing, as people make up their own numbers for how powerful stats will be in combat. Why make up the numbers when they’re right there, in the documentation of the game? The numbers the developers will base their design of the combat, skills, equipment, passive abilities and class skill-trees on.</p><h4>Disclaimer!</h4><p>This proposed theory isn’t supposed to invalidate other theories. It’s supposed to be an option to add to an overall valuation or scoring. I’m sure people will find better ways to score heroes in the future.</p><h3>2. The Issue</h3><p>It’s easy to look at a green stat gene for example(+2 stats) for a Warrior and say that it’s better on Strength than Intelligence. The question really is by how much, and can we quantify it? I think the easy way, what I do manually when playing the game is look at the <a href="https://docs.google.com/spreadsheets/d/1jfG6E6otW1V6ZLQycF5DumoBr_LrpQaz7cTmDPpwV2s/edit#gid=655220330">stat growth charts</a>.</p><p>But when we get complexity such as rarity bonuses, subclass and maybe even <a href="https://docs.defikingdoms.com/learn/gameplay/heroes/atonement-crystals">Atonement Crystals</a>, it’s really hard to tell if a hero has good stats for its level or not.</p><h3>3. Where We Stand</h3><p>As we don’t have skills or abilities in the game yet or some form of combat I don’t think you can compare Pirates to Wizards or Knights to Warriors. It’s like comparing Apples to Oranges. Sure, you can say one has some form of benefit over the other but ultimately the skills and abilities of classes will define them and we don’t have that puzzle piece yet.</p><p>I think we can however compare stats within the class. That’s where a big part of my proposed valuation lies. You can see a great Wizard and find value in it just as you can find value in a great Knight. I think finding heroes which have stats aligned to their class stat growth will make them more valuable in combat.</p><p>The reason I believe that to be the case is a comment from the developers that heroes Stat Growth are based on a combat system. They’ve basically said that Archers get more dexterity because it’s more useful to them.</p><p>I think this means classes individual skills will be tailored to take advantage of their highest growth stats. Stats that have less growth for classes will be useful for them but just not as much. It’s interesting to value all stats even though some should be valued less than others.</p><h3>4. Why Not Use Gok Machar V1?</h3><p>I don’t think <a href="https://t.co/jio1jC9Y2j">Gok Machars V1 hero ranking</a> is doing what I do with this score. I think he tried to make a score where you can compare heroes between classes. I think you can’t really do that as the skills and abilities will define classes.</p><p>Stats will matter less in the grand scheme of things but they’re all that we’ve got to play with so far. When we get skills and abilities we can make new formulas for comparisons based on that.</p><p>Gok Machar also had the theory that the DFK developers aimed to make a balanced game and thus having a score that outputs wildly different numbers for different classes doesn’t really make sense.</p><p>For this article I’ll mainly be looking at Combat which Gok Machar called PVP/PVE score. His theories are sound but I don’t believe the way he normalized his output made sense.</p><p>He realized the top 3 weights are higher for some classes than others. As you select 3 stats when leveling up the highest growth stats are what would be the majority of the score.</p><p>This is in my mind overcomplicating matters and way overdoing something that in reality is super simple. I think that a hero in DFK should be compared to heroes of its class since the classes are so different. Combat is also not yet implemented so there’s no real way to tell how one class compares to another without speculating.</p><h3>5. Stats To Consider</h3><p>When we consider two heroes of the same class we don’t compare the base stats. Comparing the base stats of heroes also adds more inherent class bias into the score as some heroes get more score from the base stats than others. If we remove the Base stats it’s easier to compare some Priests and then move to a different class and the scores won’t be wildly different.</p><p>Same goes for base stat growth. The base rate of growth for the main class is exactly the same for all warriors for example. I think we should remove it when we make a formula to calculate the difference between two heroes of the same class. We do however consider stat growth important, but we want to get a score of the difference of heroes of the same class, not the similarities. Thus we remove base stat growth from the score.</p><p>What we’re left with is what’s interesting to consider when comparing two heroes of the same class. Subclass, rarity, stat genes, Gaia’s blessing, attunement crystals, enhancement stones and Gaia’s tears parent boosts. Basically, there’s a lot of shit to consider.</p><p>So we’re left with all the stats that are not the base for the particular hero class. This can be interesting to use as the stats without growth and base stats can be absolutely compared between classes. Some heroes just have more stats than others and that can definitely be an advantage. It’s a good way to compare heroes without bias.</p><p>By removing the base stats and the base growth for each class before calculating a score we’re preventing some of the bias Gok Machar tried to smooth out in his V1 PVP/PVE score. We’re left with something that’s more even between the classes. The scores will definitely still vary as the top 3 scores are much higher for some classes than others. But it will be less nuanced in the end result since we’re removing the class base stats and growth. This will make the transition from comparing one class to another easier for the end user as they differ less.</p><p>We can come up with our own theories about how important Vitality, or Luck is and calculate a score. It’s a good way to find heroes that gained more of the stats you prefer over others.</p><p>We don’t want to push our bias onto others though so I think the base case for doing this should be multiplying the stats by the stat growth of the main class. What we get is a score that is slightly skewed by class so some are bound to get higher scores than others. On average though the scores should be a decent depiction of how a hero compares to others of the same class.</p><p>If we didn’t multiply by the stat growth we would just be comparing stats. Comparing stats can be useful but as the team stated the growth were designed with a combat system in mind I’d prefer to include that in my comparisons.</p><h3>6. Class Score</h3><p>I’m choosing to call this way of scoring heroes “Class Score”. The reason I do is because I’m using the Stat Growth charts to give a higher number if the stats align well with the heroes main class.</p><p>You could easily input your own weights instead of the DFK developer designed stat growth but that would make it something else. There’s definitely value in letting the end user control what type of weights are considered in a formula. If I really valued Luck and Vitality for Thieves for example I’d like the score to represent that when I’m comparing heroes of the Thief class.</p><p>The “Class Score” will be calculated with the base growth in this case to show the default scenario. I think it’s important to have a default score to lean on so that people can look at a presented score and know what it’s derived from.</p><h4>What Will Class Score Represent?</h4><ol><li>Similarities of a heroes class/subclass.</li><li>Rarity.</li><li>Gaia’s blessing.</li><li>Stat genes.</li><li>Any bonuses from summoning (parent stat boosts and attunement stones).</li><li>The strength of all the above mentioned stat sources relative to the class of the hero.</li></ol><h4>What Will Class Score Not Represent?</h4><ol><li>Strength of a hero compared to other classes.</li></ol><h4>Step One.</h4><p>Remove the base stats from the hero.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/459/0*x4klEDeWwKDZ32GY.png" /><figcaption>All basic and advanced heroes base stats.</figcaption></figure><h4>Step Two.</h4><p>Remove the stats a hero would’ve gained from it’s class on average for leveling up. You can find all the different classes stat growth <a href="https://docs.google.com/spreadsheets/d/1jfG6E6otW1V6ZLQycF5DumoBr_LrpQaz7cTmDPpwV2s/edit#gid=655220330">here</a> in the official DFK document provided in the <a href="https://docs.defikingdoms.com/">docs</a>.</p><h4>Step Three.</h4><p>Multiply the stats by the stat growth of the main class. In this case we multiply the stats we have left with the Dark Knights stat growth.</p><p>Let’s try it, I’ll take two of my own heroes as an example. Let’s look at two heroes so we can compare them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*3c-MYtAZRvKY7qu83G7JLg.png" /><figcaption>Úibío Darkbow a level 5 Dark Knight. An uncommon, Warrior subclass with boosted Agility and Wisdom.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*JK4HFOEN9lHtRwlbbaZKOg.png" /><figcaption>Fenhelm Oatdust a level 4 Dark Knight. A Rare, Wizard subclass with boosted Agility and Dexterity.</figcaption></figure><p>The purpose of this calculation is to compare two heroes as they are and the relative strengths accounting for everything but the main class. This is an interesting comparison as Úibío has a stronger subclass for Dark Knights but they should both have gotten +4 stats from rarity bonuses. Fenhelm got +4 when summoned and Úibío got +2 when summoned and +2 when leveling up to level 5.</p><p>This way of scoring heroes will get a lot more interesting when we approach level 100 as randomness is a huge factor in DFK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*EgOnPXZYd-2Teu2BKeHmBg.png" /></figure><p>I think the rows deserve some explanation. Let’s do them from top to bottom.</p><ol><li>The top row shows the current stats of each hero.</li></ol><p>For the top chart it shows Úibío Darkbows current stats. <br>The bottom chart shows Fenhelm Oatdusts current stats.</p><p>2. “Base Stats” shows the base stats of a Dark Knight.</p><p>3. “Remove Base” shows the stats of each hero removing the base stats.</p><pre>Table 1: Remove Base = Úibío Darkbow - Base Stats<br>Table 2: Remove Base = Fenhelm Oatdust - Base Stats</pre><p>4. “Growth” shows the base stat growth rate of Dark Knights / 100 so it’s the odds of 1 as 100% to gain a stat per level. We divide the base growth by 100 to make the numbers equal to the stats you’d gain on average per level.</p><p>5. “Levelups” shows a heroes current level - 1 multiplied by the “Growth” row. These are all the stats each hero would’ve gained on average from the main class.</p><pre>Table 1: 4 Levelups = 4 * Growth<br>Table 2: 3 Levelups = 3 * Growth</pre><p>6. “Subtract Levelups” takes the “Remove Base” row and subtracts the stats by the average stat growth of each hero. We are now left with the number of stats each hero gained removing the base stats and growth for each hero.</p><pre>Table 1: Subtract Levelups = Remove Base - 4 Levelups<br>Table 2: Subtract Levelups = Remove Base - 3 Levelups</pre><p>7. “Multiply Growth” takes the result in “Subtract Levelups” and multiplies it by the “Growth” row. Multiplying by the growth emphasizes the stats that align with the heroes main class.</p><pre>Multiply Growth = Subtract Levelups * Growth</pre><p>8. Total class score adds all 8 columns in the row “Multiply Growth” together. The total class score gives us one number we could easily compare heroes with. This is great if we want to parse a lot of heroes when looking for an above average hero on the tavern for example.</p><pre>Total Class Score = SUM(Multiply Growth(Str + Dex + Agi + Vit + End + Int + Wis + Lck))</pre><h3>7. Summary</h3><p>The scoring is a fair way to appreciate a heroes alignment between main class growth and the current stats of a hero. Advanced heroes should get slightly higher numbers than basics as they have higher growth. The score is by nature not exactly accurate as when we do get combat, stats will be valued by completely different means.</p><p>Vitality could be insanely valuable compared to other stats but there’s no real way to know that yet. There’s also no real way to know what class beats another. An easy way to change the Class Score would be to if you have your own speculation put in your own numbers to an algorithm and find your own best heroes of each class.</p><p>There is also a value in comparing the relative growth of heroes as they get close to level 100. I think there are really smart and concise ways to calculate the relative stat growth between heroes but that’s the topic of another article</p><p>I spend a lot of time to think about DFK and this is kind of a way to summarize how I value heroes and compare them to each other. We shouldn’t assume one class is better than another before we get more details about the combat. They all have their own strengths and weaknesses.</p><h3>8. What’s Next?</h3><p>I will be writing some more articles in the future so make sure to check them out. Hopefully this provides some sort of value to the residents of the DeFi Kingdoms.</p><p>My next article will be on more examples of how you can use the formula to compare heroes. I’m implementing this formula into a webapp. I will query the DFK API to get heroes with scores to easily compare and score them with clear explanations of what the scores mean. Hopefully the implementation can be open-ended so you can use your own stat weights to get the heroes that you prefer.</p><p>I work fulltime as a web developer so it won’t be too long before I get some clear data in a new article. I’ve been looking for something to do in my spare time and this feels exciting.</p><p>If you enjoyed this article please consider following me here: <a href="https://medium.com/u/aa3ea864fa12">Weghuz</a> on Medium.</p><p>If you have any questions or if you’re a developer interested in collaborating on data collection and computation please reach out.</p><h3>9. Who am I?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/0*-J-3owWC2zF4VXv4.png" /><figcaption>I am but a mysterious challenger.</figcaption></figure><p>I spend a lot of time in the <a href="https://discord.com/invite/defikingdoms">DFK discord</a>. Especially <a href="https://discord.com/channels/861728723991527464/917920163213508608">#Hero-advice</a> and <a href="https://discord.com/channels/861728723991527464/886818740627472436">#Price-discussion</a>. If you @ me in there at any given point during the day I’ll answer asap.</p><p>I love getting into discussions about why one hero is worth a buy over another or what stats to pick when you level up your heroes. I’ve been seeing a lot of different people’s approach to hero valuation and wanted to get my own approach out there.</p><p>I also want to shoutout some folks in the DFK Discord for reading my article early and just generally being awesome helping me make the content make sense and formatting this article. Nous, <a href="https://medium.com/u/29b76d64a9a8">MrZipper</a>, <a href="https://medium.com/u/f650a4f6672d">Samichpunch</a>, eatBIG2getBIG, Phoenix-, West and Arche.</p><p>Discord: weghuz#1978</p><p>Twitter: <a href="https://twitter.com/Weghuz">Weghuz</a></p><p>Medium: <a href="https://medium.com/u/aa3ea864fa12">Weghuz</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ffd043fcd1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>