Need help: Potion effects related to attributes

Started by ElliotHawkz on Sat, 05/29/2021 - 10:08

Topic category: Help with modding (Java Edition)

Last seen on 09:17, 27. Jul 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Need help: Potion effects related to attributes
Sat, 05/29/2021 - 10:08

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:52, 26. Jul 2021
Joined Jan 2019
Points:

User statistics:

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

I will tell you tomorrow

Last seen on 15:52, 26. Jul 2021
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 09:17, 27. Jul 2021
Joined May 2021
Points:

User statistics:

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

Thanks!