Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A part of java project implementation of Dark Souls for weapons where they can be used for enemies and the player, please also consider extra

A part of java project implementation of Dark Souls for weapons where they can be used for enemies and the player, please also consider extra features labeled as GROUP OF 3 in orange.

image text in transcribedimage text in transcribedimage text in transcribed

Requirement 7: Weapons The Player can only bring one weapon at a time. The Player and enemies cannot drop their weapons when they die or intentionally through an action. A weapon has active and/or passive skills. Enemies can use any weapon skills whenever possible (e.g., randomly use a normal attack or weapon skill). HINT: in the implementation/Assignment 2, it means that you must be brave in refactoring the provided code (in the game package, NOT the engine!) Appendix A: Weapons Table Price (Souls) Damage (HP) Success hit rate Name Broadsword 500 30 80% (Sword) Critical Strike (Passive): It has a 20% success rate to deal double damage with a normal attack. Displaying its effect is optional. Giant Axe 1000 50 80% (Axe) (GROUP OF 3) Spin attack (Active): It gives a holder an action to swing the weapon. When it is swung, any enemies that stand in adjacent squares of the holder will receive 50% of this weapon damage (i.e., 25 damage). You may print a similar message as the normal attack. The holder can activate this skill anytime, even though there are no enemies. Storm Ruler 2000 70 60% (Sword) Storm Ruler 2000 70 60% (Sword) *Only the Player can equip this weapon. Place this sword next to Yhorm the Giant on the map. Critical Strike (Passive): It has a 20% success rate to deal double damage with a normal attack. Displaying its effect is optional. Dullness (Passive): attacking enemies that are not weak to Storm Ruler will decrease its effectiveness. The damage is reduced by half (i.e., it becomes 35), but the hit rate remains 60%. Actions: 1. Charge (Active): An action where the holder can charge the weapon for three (3) turns to unleash a wind slash (Wind Slash (Active), see below). The Player can charge this weapon anytime. When charging, the Player will be disarmed/cannot attack anyone. 2. Wind Slash (Active): When Storm Ruler is fully charged, remove Charge action, and make Wind Slash action available. It can only be executed when the holder stands next to Yhorm the Giant (in adjacent). When it is executed, it deals 2x damage 'wind slash' to Yhorm with a 100% hit rate and stuns it. A stunned target cannot move for one turn (i.e., do nothing). After executing this action, the weapon will have Charge skill again. Yhorm's Great Machete 95 60% N/A (not applicable) (Axe) *Only Yhorm the Giant can equip this weapon. Ember Form (Active): The holder becomes aggressive. It increases the holder's success hit rate by 30% (in other words, the hit rate: 60% + 30% = 90%). (GROUP OF 3) Additionally, when Ember Form is activated, it burns the surrounding/adjacent squares (use different characters to display them on the map). The burned areas will stay on the map for the next three (3) turns and hurt anyone (except the holder) that stands on it by 25 hit points. The fire can only burn the Dirt ground. Requirement 7: Weapons The Player can only bring one weapon at a time. The Player and enemies cannot drop their weapons when they die or intentionally through an action. A weapon has active and/or passive skills. Enemies can use any weapon skills whenever possible (e.g., randomly use a normal attack or weapon skill). HINT: in the implementation/Assignment 2, it means that you must be brave in refactoring the provided code (in the game package, NOT the engine!) Appendix A: Weapons Table Price (Souls) Damage (HP) Success hit rate Name Broadsword 500 30 80% (Sword) Critical Strike (Passive): It has a 20% success rate to deal double damage with a normal attack. Displaying its effect is optional. Giant Axe 1000 50 80% (Axe) (GROUP OF 3) Spin attack (Active): It gives a holder an action to swing the weapon. When it is swung, any enemies that stand in adjacent squares of the holder will receive 50% of this weapon damage (i.e., 25 damage). You may print a similar message as the normal attack. The holder can activate this skill anytime, even though there are no enemies. Storm Ruler 2000 70 60% (Sword) Storm Ruler 2000 70 60% (Sword) *Only the Player can equip this weapon. Place this sword next to Yhorm the Giant on the map. Critical Strike (Passive): It has a 20% success rate to deal double damage with a normal attack. Displaying its effect is optional. Dullness (Passive): attacking enemies that are not weak to Storm Ruler will decrease its effectiveness. The damage is reduced by half (i.e., it becomes 35), but the hit rate remains 60%. Actions: 1. Charge (Active): An action where the holder can charge the weapon for three (3) turns to unleash a wind slash (Wind Slash (Active), see below). The Player can charge this weapon anytime. When charging, the Player will be disarmed/cannot attack anyone. 2. Wind Slash (Active): When Storm Ruler is fully charged, remove Charge action, and make Wind Slash action available. It can only be executed when the holder stands next to Yhorm the Giant (in adjacent). When it is executed, it deals 2x damage 'wind slash' to Yhorm with a 100% hit rate and stuns it. A stunned target cannot move for one turn (i.e., do nothing). After executing this action, the weapon will have Charge skill again. Yhorm's Great Machete 95 60% N/A (not applicable) (Axe) *Only Yhorm the Giant can equip this weapon. Ember Form (Active): The holder becomes aggressive. It increases the holder's success hit rate by 30% (in other words, the hit rate: 60% + 30% = 90%). (GROUP OF 3) Additionally, when Ember Form is activated, it burns the surrounding/adjacent squares (use different characters to display them on the map). The burned areas will stay on the map for the next three (3) turns and hurt anyone (except the holder) that stands on it by 25 hit points. The fire can only burn the Dirt ground

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

BondsA Concise Guide For Investors

Authors: M. Choudhry

2nd Edition

0230006493, 9780230006492

More Books

Students also viewed these Accounting questions