Need help: Potion effects related to attributes

Started by ElliotHawkz on

Topic category: Help with modding (Java Edition)

Last seen on 14:14, 9. Oct 2022
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help: Potion effects related to attributes

So i am creating this potion effect which removes player health and increase the player's base damage. The health reduction thing works but the base damage increase is not. I thought I would use attributes but DTM's toolkit for attributes is not updated to 2021.1. So how do I do this?

I don't want to apply strength to the player because having a status effect that adds another status effect looks weird

Last seen on 15:05, 6. Oct 2023
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I will tell you tomorrow
Sun, 06/27/2021 - 22:49

I will tell you tomorrow

Last seen on 15:05, 6. Oct 2023
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
https://imgur.com/np46nqj If…
Mon, 06/28/2021 - 09:14

https://imgur.com/np46nqj

If you want to chat "... was slain by" if killed by that additional damage, you have to create custom Death source etc.

Potionbang is your effect name (Mine in this case, yours can be different.)

The 10 Damage can be adjusted.

Last seen on 14:14, 9. Oct 2022
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks!
Sat, 07/03/2021 - 01:56

Thanks!