Implemented blocking. Made player abilities dynamic instead of fixed for class expansion preparation.
parent
75b763e87b
commit
e090bc775d
@ -0,0 +1,5 @@ |
||||
#include "Ability.h" |
||||
|
||||
Ability::Ability(){}; |
||||
Ability::Ability(std::string name,float cooldownTime,Pixel barColor1,Pixel barColor2) |
||||
:name(name),cooldown(0),COOLDOWN_TIME(cooldownTime),barColor1(barColor1),barColor2(barColor2){} |
@ -0,0 +1,11 @@ |
||||
#pragma once |
||||
#include "olcPixelGameEngine.h" |
||||
|
||||
struct Ability{ |
||||
std::string name=""; |
||||
float cooldown=0; |
||||
float COOLDOWN_TIME=0; |
||||
Pixel barColor1,barColor2; |
||||
Ability(); |
||||
Ability(std::string name,float cooldownTime,Pixel barColor1=VERY_DARK_RED,Pixel barColor2=DARK_RED); |
||||
}; |
@ -0,0 +1,68 @@ |
||||
Warrior |
||||
Rightclick - Block |
||||
1 - Battlecry |
||||
10% Attack buff, -10% dmg taken for 10s |
||||
Nearby Enemies with size smaller or equal to 100% will receive a Movespd debuff of 30% for 5 seconds. (350 Range) |
||||
12sec. cd |
||||
40 mana |
||||
2 - Ground Slam |
||||
dmg: 4x Atk |
||||
15 sec. cd |
||||
50 Mana |
||||
3 - Sonic Slash |
||||
Shoots a half moon that damage everything it passes |
||||
Dmg: 8x Atk |
||||
60 Mana |
||||
Size of Projectile: 250 |
||||
Range: 900 |
||||
40 sec. cd |
||||
|
||||
Warrior should not be able to run out of mana. Mana only stands in the way of using all 3 skills at the same time. |
||||
the Battlecry slow is primarly ment to make it easier to catch up with range units that run away, at the moment warrior probably has the hardest time dealing with mosnters that run. |
||||
|
||||
|
||||
Ranger |
||||
Rightclick - Retreat |
||||
Backwardsjump |
||||
leap 250 Range backwards. |
||||
cd 7 seconds. |
||||
1 Rapid fire |
||||
Shoots 4 auto hits with 0.1 sec delay between each shot. Animation locked |
||||
Normal auto hit Damage (x4) |
||||
12 sec cd. |
||||
2 Charged shot |
||||
35 Mana |
||||
Shots an arrow that does Pierce dmg. 0.3 charge animation lock |
||||
Damage: 2.5x Atk |
||||
15 sec. cd |
||||
3 Multishot |
||||
40 Mana |
||||
Shots 6 Arrows at once in a volley |
||||
every arrow normal autohit dmg. (can be used as shotgun against large foes for 6x atk) |
||||
25 sec. cd |
||||
55 Mana |
||||
|
||||
Wizard |
||||
Rightclick - Teleport |
||||
Teleports to a location within 650 Range |
||||
cd 8 sec. |
||||
5 mana (probably strongest defensive spell so lets give it a slight nerf for the probably most mana hungry class next to bard) |
||||
1 Firebolt |
||||
Firebolt explodes in a bigger aoe on collision or after a set distance (1000?) |
||||
dmg: 1x autohit dmg on target that colides. 3x dmg in 250 aoe explosion |
||||
6 sec cd |
||||
30 Mana |
||||
2 Lightning bolt |
||||
Projectile. does dmg on hit and a chain lightning jumps to 2 nearby enemies that receive half the dmg. |
||||
dmg: 4x Atk main target (2x Atk nearby enemies) |
||||
6 sec cd |
||||
25 Mana |
||||
3 Meteor |
||||
after cast meteor hits a location and leaves a fire field that does some damage over time. |
||||
1.5 second cast. (no cd if cast canceled) |
||||
Max Cast Range 900, Cast on Mouse location |
||||
AoE Range: 400 |
||||
Damage: 9x Atk |
||||
Fire field: same aoe range, stays 4 seconds. 1x Atk per second for enemies inside. |
||||
40 sec cd. |
||||
Mana 75 |
After Width: | Height: | Size: 668 B |
Loading…
Reference in new issue