I made 2 classes
The first one (let's name it A)
and the second one (B)
Class A is more powerful to Class B
but Class A is weak to the same class
the question is how?
The first one (let's name it A)
and the second one (B)
Class A is more powerful to Class B
but Class A is weak to the same class
the question is how?
12
Just give Class A a weakness effect (/effect @a[team=A] minecraft:weakness <duration> <amplifier>)
But they have to be powerful to kill Class B in like 4-5 hits
When changing the original post and thus changing what you're asking for, please just let us know. All it does is confuse us.
If only Class A needs to be weak to Class A and strong to Class B, just give Class A bunch of armor together with a Strenght effect. However, I think you also want Class B to be weak against Class B and strong against Class A so that compicates stuff a lot more. As far as I know it's not possible with vanilla commands to check what player hurt another play, so I don't think what you want can be realized
If only Class A needs to be weak to Class A and strong to Class B, just give Class A bunch of armor together with a Strenght effect. However, I think you also want Class B to be weak against Class B and strong against Class A so that compicates stuff a lot more. As far as I know it's not possible with vanilla commands to check what player hurt another play, so I don't think what you want can be realized
I would first set up a dummy scoreboard objective, and give Class 'A' a value of one and Class 'B' a value of two.
I would then set up a redstone fill clock that gives everyone with a scoreboard minimum of 1 and a scoreboard maximum of 1 strength 1. That would look something like this:
If you wanted to, you could even give Class 'B' weakness. Or maybe you just want to give them weakness when they're around a Class 'A' person. Possibilities are endless.
I would then set up a redstone fill clock that gives everyone with a scoreboard minimum of 1 and a scoreboard maximum of 1 strength 1. That would look something like this:
/effect @e[type=Player,score_ScoreboardNameHere_min=1,score_ScoreboardNamehere_max=1] 5 10If you wanted to, you could even give Class 'B' weakness. Or maybe you just want to give them weakness when they're around a Class 'A' person. Possibilities are endless.
That's unnecessary, you're able to test for a team already. So just make a team a (/scoreboard teams add A) and a team B (/scoreboard teams add B) then @a[team=A] will only target people in team A (you join teams with /scoreboard teams join <teamname> <player>).
Also @e[type=Player] is unnecessary, just do @a.
Also @e[type=Player] is unnecessary, just do @a.
well if u need help then. Learn How To Use attack Addon/Power on armors!
Weakness Sword
Pepjin learn how to redstone
Weakness Sword
Open Me
/give @p minecraft:stone_sword 1 0 {AttributeModifiers:[{AttributeName:"generic.followRange",Name:"generic.followRange",Amount:0.555,Operation:0,UUIDLeast:894654,UUIDMost:2872},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.55,Operation:0,UUIDLeast:894654,UUIDMost:2872},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:-0.5,Operation:0,UUIDLeast:894654,UUIDMost:2872}],display:{Name:Weakness Sword},ench:[{id:34,lvl:127}]}
Pepjin learn how to redstone
maybe a gets fire res and knock res and sharpness with fire and diamond knockback swords and full diamond but b gets normal iron armour and iron sword?
quick question do you mean how to get this or how is it weaker?
quick question do you mean how to get this or how is it weaker?
kk power pepjin
/give @p minecraft:stone_sword 1 0 {HideFlags:3,AttributeModifiers:[{AttributeName:"generic.followRange",Name:"generic.followRange",Amount:0.5,Operation:0,UUIDLeast:894654,UUIDMost:2872},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.55,Operation:0,UUIDLeast:894654,UUIDMost:2872},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.999,Operation:0,UUIDLeast:894654,UUIDMost:2872},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:5,Operation:0,UUIDLeast:894654,UUIDMost:2872}],display:{Name:Sword Of Attack},ench:[{id:34,lvl:10}]} Well it can kill a Person without Armor 2 Hits But ARMOR DOES A WEAR?This still doesn't allow for Class A to do less damage to Class A and more to Class B AND Class B to do less damage to Class B and more to Class A. If you read my previous posts you would know I thought this is what OP meant in the original post.
If this is not what he meant, then it's indeed very simply done with either permanent status effects + armor or these swords
If this is not what he meant, then it's indeed very simply done with either permanent status effects + armor or these swords
Well if u say A Dosent Do Dmg then
brb. srly i dont have life.
/give @p minecraft:iron_chestplate 1 0 {AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:-200,Operation:0,UUIDLeast:894654,UUIDMost:2872}],Unbreakable:1}brb. srly i dont have life.
