Infinity damage sword

Started by alidraco on

Topic category: Advanced modding

Active 2 years ago
Joined Apr 2021
Points:
551

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
Infinity damage sword

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.

Active 3 years ago
Joined Mar 2020
Points:
1254

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1149
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"

Active 2 years ago
Joined Apr 2021
Points:
551

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
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.

Active 1 day ago
Joined Feb 2018
Points:
1987

User statistics:

  • Modifications: 1
  • Forum topics: 163
  • Wiki pages: 0
  • MCreator plugins: 3
  • Comments: 786
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.

Active 2 years ago
Joined Apr 2021
Points:
551

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
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?

 

Active 1 day ago
Joined Feb 2018
Points:
1987

User statistics:

  • Modifications: 1
  • Forum topics: 163
  • Wiki pages: 0
  • MCreator plugins: 3
  • Comments: 786
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?

Active 2 years ago
Joined Apr 2021
Points:
551

User statistics:

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

Yes

Active 1 day ago
Joined Feb 2018
Points:
1987

User statistics:

  • Modifications: 1
  • Forum topics: 163
  • Wiki pages: 0
  • MCreator plugins: 3
  • Comments: 786
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.

Active 2 years ago
Joined Apr 2021
Points:
551

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
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

 

Active 2 years ago
Joined Apr 2021
Points:
551

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
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