Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Each Character has Health Points and Skill Points, Items(to be equipped), Techni

ID: 3829838 • Letter: E

Question

Each Character has Health Points and Skill Points, Items(to be equipped), Techniques(to be acquired or learned), Elemental Strengths and weaknesses(based on their type) and a Level based on Experience points XP. In a team where the party contains 2 or more of the same type of elemental character, each character of that given type earns a 10% bonus in attack power and health. If a party member has a greater elemental type, partners with a weaker elemental type earn 10% bonus in defense and skill points for each partner with a stronger element.

Elements: Water[stronger] douses Fire[weaker]

Fire Scorches Earth

Earth withstands Thunder

Thunder pierces the Atmosphere(Wind)

Wind moves the Tide(Water)

Engineer, Android – Thunder

Soldier, Commander – Fire

Huntress, Assassin – Wind

Beastmaster, Swordsman – Earth

Healer, Mariner – Water

Specific Character types should inherit from the common base character. The level-up system should work as follows:

Level 1 health = 500 hp, xp needed for next level = (hp/20)^2.

Write methods that customize all other character details. In your javadoc comments, include the exact formula. Each character should have an additional field for battlefield advantage and Item equipment bonuses. Party member must also have a field for money earned that can later be spent on upgrades.

Explanation / Answer

Base elements

class Earth {

float battlefield advantage ;

float bonuses;

float moneyEarned , hp, xp;

}

class Water {

float battlefield advantage ;

float bonuses ;

float moneyEarned , hp, xp;

voif dousesfire(){ }

}

class Wind {

float battlefield advantage ;

float bonuses;

float moneyEarned , hp, xp;

void moveswater() { }

}

class Thunder {

float battlefield advantage ;

float bonuses ;

float moneyEarned , hp, xp;

void piercesAtom() { }

}

class Fire {

float battlefield advantage ;

float bonuses;

float moneyEarned , hp, xp;

void Scorchesearth() { }

}

class Engineer extends Thunder {

}

class Android extends Thunder {

}

class Soldier extends Fire {

}

class Commander extends Fire {

}

class Huntress extends Wind {

}

class Assassin extends Wind {

}

class Beastmaster extends Earth {

}

class Swordsman extends Earth{

}

class Healer extends Water {

}

class Marine extends Water {

}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote