increase or decrease damage by percentages

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Mar 29, 2020
28
0
1
28
Hello, I am having a problem! I want a player to have a specific item to damage 50% more based on the final damage caused. Therefore a weapon that damages 100 should damage 150, but only damages 10 more hearts (110). Weapon damage is controlled by the Heroes plugin, but I don't think it affects anything. Here I leave the code that I am using:

Code:
on damage:
    loop all items in the inventory of attacker:   
        if name of attacker's tool contains "&1 [Sharp]":       
            increase damage by 50%
 
Hello, I am having a problem! I want a player to have a specific item to damage 50% more based on the final damage caused. Therefore a weapon that damages 100 should damage 150, but only damages 10 more hearts (110). Weapon damage is controlled by the Heroes plugin, but I don't think it affects anything. Here I leave the code that I am using:

Code:
on damage:
    loop all items in the inventory of attacker:  
        if name of attacker's tool contains "&1 [Sharp]":      
            increase damage by 50%
i feel like i already answered this question. did u make a new post?
[doublepost=1611645970,1611645864][/doublepost]
upload_2021-1-26_9-25-14.png


u already got the answer from me, why r u double posting ? :emoji_confused:
here, you can see you made 1 post with 2 replies, that specific post is marked as solved, then you posted this thread asking the same thing.

Just go to that thread and take the answer -_-
 
Status
Not open for further replies.