This can be an easy question but i need the shortest code possible.
Every human in the mod will have a flag that they can plant. After planting humans near the flag will gain extra damage. And after getting away from the flag you will lose the damage boost. Also multiple flags can be planted and the extra damage humans get should stack. Damage boost should wear off when the flag is picked up.
I have coded the flag plant and pick up but the stacking damage the way the effecy should wear of doesnt work quite well.
I hope one of you can help me because this is very important for me, my mod and hundreds of players playing it.
The first one to solve my problem will get an awesome free gif for his signature.
Every human in the mod will have a flag that they can plant. After planting humans near the flag will gain extra damage. And after getting away from the flag you will lose the damage boost. Also multiple flags can be planted and the extra damage humans get should stack. Damage boost should wear off when the flag is picked up.
I have coded the flag plant and pick up but the stacking damage the way the effecy should wear of doesnt work quite well.
I hope one of you can help me because this is very important for me, my mod and hundreds of players playing it.
The first one to solve my problem will get an awesome free gif for his signature.