diamond-gold / MiniBosses

🐲 Endless possibilities with highly customizable bosses!
https://poggit.pmmp.io/p/MiniBosses
GNU Affero General Public License v3.0
53 stars 27 forks source link

More attack types #25

Closed PushkarOP closed 2 years ago

PushkarOP commented 2 years ago

Different types of attack:

SiahRBLX commented 2 years ago

add the [Feature Request] label @PushkarOP

diamond-gold commented 2 years ago

Could you elaborate more on what is "can shoot player even player is not near them" ? And what is "Blast" ?

PushkarOP commented 2 years ago

Could you elaborate more on what is "can shoot player even player is not near them" ? And what is "Blast" ?

I mean can shoot like arrow

And blast like, npc will come to player and blast like Creeper

diamond-gold commented 2 years ago

So it will be something like a projectile but instead of entity it is displayed using particles?

PushkarOP commented 2 years ago

So it will be something like a projectile but instead of entity it is displayed using particles?

Yes

PushkarOP commented 2 years ago

Also bouncing attack, like slime

diamond-gold commented 2 years ago

How is the bouncing attack different from the current attack? Other than the jumping action which should not be tied with attacking

PushkarOP commented 2 years ago

Isn't that possible that mob will jump and damage player, like slime?

diamond-gold commented 2 years ago

Tested to be working as of fe49ad3

Slime jumping attack

slime:
  x: 280
  "y": 4
  z: 280
  world: FLAT
  networkId: minecraft:slime
  movesByJumping: true
  drops: slimeball;0;1; slimeball;0;1;;50 slimeball;0;1;;50 # drops 1-3 slimeballs
  speed: 0.5
  gravity: 0.01
  jumpStrength: 3
  scale: 5
  attackDamage: 5
  range: 50
  hurtModifiers:
    4: 0 #no fall damage

Creeper blast

creeper:
  x: 270
  "y": 4
  z: 270
  world: FLAT
  networkId: minecraft:creeper
  drops: gunpowder;0;1;;50
  attackDamage: 0
  range: 50
  speed: 0.5
  projectiles:
  - fireRangeMin: 0
    fireRangeMax: 2
    speed: 1
    attackRate: 10
    attackDamage: 0
    explodeRadius: 5
    explodeDestroyBlocks: false
    health: 5
    canBeAttacked: false
    despawnAfter: 20
    gravity: 0
    particle: minecraft:endrod

Guardian laser

guardian:
  x: 290
  "y": 4
  z: 290
  world: FLAT
  networkId: minecraft:guardian
  movesByJumping: true
  jumpStrength: 1
  speed: 0.5
  drops: fish
  gravity: 0.01
  attackDamage: 5 # melee
  scale: 2
  range: 50
  armor: # for thorns, will not show
  - minecraft:diamond_helmet;0;1;{ench:[{id:5s,lvl:5s}]}
  projectiles: # actual laser damage
  - fireRangeMin: 0
    fireRangeMax: 20
    speed: 10
    attackRate: 100
    attackDamage: 1
    health: 5
    canBeAttacked: false
    followNearest: true # 100% hit unless behind a block
    despawnAfter: 100
    gravity: 0
    particle: minecraft:endrod