Project: E7 Hero Data
Introduction
For some context, Epic Seven is a turn-based strategy game developed by a Korean game company Smilegate. In a fight, heroes take turns to use their ability to deal damage, heal or provide utility such as buffing allies and debuffing enemies. Each heroes would have a rarity from 1 to 5 Stars; though 1 and 2 stars heroes are rarely use in a fight but rather as fodders to upgrade other heroes so I have omitted them from this project. Together with Class and Horoscope, the base stats of a hero could be determined; with some exceptions such as Summertime Iseria having a 50% atk increase from her Passive skills. This project aims to display the relationships between each of the factors and explores how each stats relate to one anothers. (Side note: from the picture, you might notice that theres are “equipments” that each hero can equip. These could give either a flat or a percentage increase based on the base stat. Hence, this is why it is why it is important for a hero to have a high base stat)

Summertime Iseria, a 5 Star, Capricorn, Ranger
Key Findings
- While flat stats (Attack, Heath, Defense and Speed) and effectiveness generally increase with increasing rarity, other percentage stat (Crit Chance, Crit Damage, Eff Res) does not follow this trend. Notably, Crit Chance has the opposite relationship.

Flat Stat average based on rarity

Average of Crit Chance based on rarity
- Different class have their own “specialities”
- Mage has high Attack, Defense, Effectiveness, medium Speed, Crit Chance, Eff Res and low Health.
- Thief has high Attack, Crit Chance, Speed, medium Health, low Defense, Effectiveness and low Eff Res
= Ranger has high Attack, Speed, Effectiveness, medium Health, Defense, Crit Chance and low Eff Res
- Warrior has high Attack, medium Health, Defense, Speed, Crit Chance and low Effectiveness and Eff Res
- Knight has high Health, Defense, medium Attack, Crit Chance, Effectiveness, Eff Res and low Speed
- Soul Weaver has High Defense and Eff Res, medium Speed Effectiveness and low Attack, Health and Crit Chance
- Crit Damage is pretty constant for all class.

Average of stats by class
- Horoscopes can be extreme:
- The horoscope Cancer ranked near the top for defensive (hp, def) stat while being near the bottom for utility stat (speed, eff, er) and offensive stat (atk, cc). Similar to previously, crit damage does not really vary with horoscope.
- On the other hand, horoscope Leo ranked near the bottom for defensive stat and utility stat while being near the top for offensive stat.

Health, Defense, Attack and Speed by Horoscope (Arrow pointing to Cancer)
- Correlation and Conclusion
- It should be quite clear that in Epic Seven, there are no class, horoscope and rarity which are the best for everything. In order for the game to be balanced, there should always be a tradeoff between one stat and another. To confirm the general trend and relationship between each stat, we can use plot a Correlation Matrix using Matplotlib.

-
Negative Correlations:
- Attack vs. Health and Defense: Characters with higher Attack tend to have slightly lower Health (-0.1554) and moderately lower Defense (-0.4165).
- Health vs. Crit Chance and Speed: Characters with higher Health tend to have a lower chance of landing critical hits (-0.2618) and are slower (-0.2619).
- Crit Chance vs. Defense and Effectiveness Resistance: Characters with a higher critical chance tend to have lower Defense (-0.4776) and lower Effectiveness Resistance (-0.3204).
- Defense vs. Speed: Characters with higher Defense tend to be slower (-0.5589).
-
Positive Correlations:
- Attack vs. Crit Chance and Speed: Characters with higher Attack tend to have a higher chance of landing critical hits (0.2819) and are faster (0.3417).
- Defense vs. Effectiveness Resistance: Characters with higher Defense tend to have higher Effectiveness Resistance (0.3594).
- Crit Chance vs. Critical Damage and Speed: Characters with a higher crit chance also tend to have higher critical damage (0.2484) and be faster (0.3160).
- Speed vs. Effectiveness: Characters with higher speed tend to have slightly higher Effectiveness (0.1968).