Infinity damage sword

Started by alidraco on Thu, 04/01/2021 - 19:00

Topic category: Advanced modding

Last seen on 19:54, 17. Apr 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Infinity damage sword
Thu, 04/01/2021 - 19:00

I was looking at the procedures and I saw that there was no way to deal Infinite damage. I just would like to know if there was a way to insta-kill an entity when it's hit by the sword.

Last seen on 17:12, 11. May 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
There is a way, using…
Thu, 04/01/2021 - 19:22

There is a way, using procedures. Use the procedure block "deal (number) damage to (entity) type (generic)"

Then take "Random (0,1)" and click on it and select ∞ and use it in place of the (number) in the "deal (number) damage to (entity) type (generic)" procedure block. 

 

This procedure will be triggered from the sword element Trigger page with the trigger "When living entity is hit with tool"

Last seen on 19:54, 17. Apr 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks but is there any way…
Thu, 04/01/2021 - 19:28

Thanks but is there any way to make it show that it deals infinite damage.

Last seen on 14:42, 11. May 2021
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You want to show the number…
Fri, 04/02/2021 - 09:41

You want to show the number of the Damage you dealt with the Sword?

I have by the way another Option to make Infinite Damage and is Dynamic.

Replace the "Random(0.1)" Block to this Block "Max Health of Event/target entity".

This make the Sword Damage exact Amount of Health what the Attacked Entity Max Health has.

Last seen on 19:54, 17. Apr 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks but still I want to…
Fri, 04/02/2021 - 20:02

Thanks but still I want to know if there is any way to make the attack damage say infinite even if I have to dig around in the code?

 

Last seen on 14:42, 11. May 2021
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You want to make a Tooltip…
Sat, 04/03/2021 - 14:43

You want to make a Tooltip for your Custom Sword that says Infinite Attack Damage?

Last seen on 19:54, 17. Apr 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Yes
Sat, 04/03/2021 - 15:34

Yes

Last seen on 14:42, 11. May 2021
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Just edit "Special…
Sat, 04/03/2021 - 22:37

Just edit "Special Information about the tool" at the First Section where you setup your Sword.

if you want to make advanced Tooltips visit this topic.

Last seen on 19:54, 17. Apr 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Yeah but I want it to be…
Thu, 04/08/2021 - 16:29

Yeah but I want it to be where the attack damage is

 

Last seen on 19:54, 17. Apr 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I looked at the command and…
Fri, 04/09/2021 - 19:43

I looked at the command and I don't know how it says Infinite attack damage