Mob damage problem: dmg ignore armor

Started by Derrax1st on

Topic category: Help with modding (Java Edition)

Last seen on 17:48, 2. Feb 2020
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mob damage problem: dmg ignore armor

Hi!

I made mob with: 1 strenght and in procedure add:

 

When Player collides with this entity

I

I   Deal 5 damage to provided entity

 

If i think correct 2 dmg is 1 heart, so my mob deal 5 dmg=2,5 hearts. But what with strenght? How it affect on damage?

 

2nd question like in topic: how make damage addicted (is that good Word?) to armor? 

Last seen on 17:48, 2. Feb 2020
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In living entity Al tasks…
Tue, 01/07/2020 - 09:31

In living entity Al tasks/goals builder i have:

 

Al task/goals list

Break doors 

Attack target (make mob agresive) 

Attack on melee with speed 0.8

Attack in sight only (YES) nearby only (YES) of type EntityPlayer + EntityPlayerMP 

Follow same mobs with speed 0.8 with max range 10 and follow area 10

Wander around (enable walking) with speed factor 0.8

Look around 

Swim when in water 

 

Last seen on 17:48, 2. Feb 2020
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, 1st problem solved. …
Tue, 01/07/2020 - 11:36

Ok, 1st problem solved. 

B3hacior must be MOB not CREATURE and have to not add colision dmg = attack based on strenght and attack speed. Damage is reduced by armor but still armor power is avoid.