rpg game with four types of dragon enemies. Blue dragon health 10 with a level1-10 will drop 1-10 blue gems that are worth 1 currency at a drop rate 50% has an attack of bite damage of 5 will drop health of 25% mana 25% a sword 15% durability , green dragon health of 20 level 10-20 will drop 1-20 of any blue/silver. Silver gem worth 5 currency drop rate 20% has a tail whip attack worth of 10 damage will drop 20% of health 20% mana fireball 10% of damage a sword of 20% durability , red dragon health of 35 level 20-35 will drop gold gems worth 20 currency at a a drop rate 15% has a fireball attack worth 15 damage will drop 15% Health mana of 20% a fireball 20% of damage as sword of 25% durability , and gold dragon health of 50 level 35-50
will drop diamond germs worth 50 currency drop rate of 10% will drop 35% of health mana of 15% fireball of 25% of damage a sword of 30% durability
notes
for the sword the % is its durability
Health will add that amount not to pass 100
Mana will add that amount
Fireball will be a spell base attack and will do damage of that amount once
player will have attack hit points of 2 total player health 100
I want the player to start off at level 1. player will gain expires points that times 5 to the level of the dragon that is defeated. Health of the dragons is equal to its level. Once reaches 100 expires points player gains a level +1 and expires point will reset to zero.
Dragons will spawn at level +2 closest to player level once gem drops will add to wallet.