Attack Strategie: Runs infront of player, short preparation for attack (~0.3 - 0.5 secs depending what looks better animation wise) and either slashes with the dagger or stabs with it. 1 sec of idle before loop repeats
Goblin (Bow):
Hp: 120
Attack: 18
Size: 90%
Move-Spd: 70%
Attack Strategie:
if range > 1000 move to a 850 range.
if range 1000-700. Stand still and shoot. (reload twice as fast)
if range between 500 and 700. Shoot and run in random direction while reloading without getting out of the 500 - 700 range
range < 500 while reloading try to get distance. still shoot if reload finishes
After every attack: reload takes 2 seconds. before shooting takes 1 second.
Goblin (Bombs):
Hp: 120
Attack: 38
Size: 90%
Move-Spd: 70%
Attack Strategie: Throws every 4 seconds a bomb on top of the player that detonates after 3.5 seconds in a 300 radius. Tries to keeps his distance on a 600 radius. Throws bombs even while moving.
Goblin Boar Rider:
Same stats as Boar.
On death leaves a Bow Goblin on location of death
Same attack strategie as normal Boar.
+ the Goblin on Top also shoots every 4 seconds
Hawks
Hp: 10
Attack: 22
Size: 50%
Move-Spd: 180%
Attack Strategie: Fly circles at the edge of the Players Screen. every 8 seconds charge on players location to the other corner of the screen.
Stone Elemental
Hp: 990
Attack: 52
Move-Spd: 50%
Size: 220%
Attack Strategie:
Every 2 seconds after completing an attack do one of the following attacks:
Casts a Stone Pillar on the location of the Player: radius 350. Hits with 3 seconds delay. Becomes an solid object (Player colision) and decays after 5 seconds again.
If the Stone pillar would hit the Stone Elemental it will move out of its range.
Shoot a Stone (bullet) in the direction of the target.
The Stone gets created in form of a Cone and tracks the player movement without moving for the first second.
Once it locks it doesnt move for another second. then it starts flying towards the player with 3x the normal Bullet speed.
Dive under earth and show up 1 second later in a random location 400-700 away from player. while emerging shoot a ring of bullets (0.5x Attack)
(maybe emerge with 200 away from anything with colision to avoid the Elemental getting stuck? Other solutions for that are welcome aswell)