Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

🦹 Make a new Leader #6

Open
erlend-sh opened this issue Jul 22, 2020 · 0 comments
Open

🦹 Make a new Leader #6

erlend-sh opened this issue Jul 22, 2020 · 0 comments
Labels
good first issue Good for newcomers

Comments

@erlend-sh
Copy link
Contributor

erlend-sh commented Jul 22, 2020

Part 1: Design

Here are two example drafts of a leader specification:

Generic-person 1

Default: Melee attack, every 3 attacks deals 200% damage.

Special: Deals damage in an AOE around it for 100 damage whenever >3 units are within range. Cooldown: 12s.

Mechanics notes:

AOE: should be able to basically take whatever the minimum distance to attack another enemy is, multiply that by 1.5x and you have your radius.

Passive is triggered automatically, IF at least one enemy is present.

Generic-person 2

Default: Ranged attack. Increased attack speed by 10% with every subsequent attack up to a 100% increase.

Special: Deals damage in a large AOE around it for 50 damage and MS-slows all enemy units by 50% for 4 seconds whenever >3 units are within range.

Suggest your Leader ideas below, in an issue that refers here (#6) or in chat.

Part 2: Code

See the Leaders (aka Heroes / Champions) doc.

  1. create the skill definitions (see current SkillDefinition)
  2. create the handler systems for any skill interacting directly with the world (see AoeDamageSystem)
  3. create a hero entity (See the bottom of main.rs)
  4. assign the skills to this new hero (See the bottom of main.rs, just before the entity creation of the hero

Full documentation available here:
https://github.com/amethyst/shotcaller/blob/master/doc/create_leader.md

This is a repeatable task.

For reference examples see all leader PRs.


See also: 📦 Make a new item.

@erlend-sh erlend-sh added the good first issue Good for newcomers label Jul 22, 2020
This was referenced Jul 22, 2020
@erlend-sh erlend-sh pinned this issue Aug 26, 2020
@erlend-sh erlend-sh changed the title Make a new Leader 🦹 Make a new Leader Nov 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant