Ineffective checking and other questions
1.It works like: if A find target, A create B and attach it to the target. When B is created, it'll check the target, if find, check if there's already another B here, if yes then delete itself.
problem happened on "checking if there's already another B", it didn't work, so if there're two B attach at the same target, the target'll die immediately if it lose health(even if losing only 1 point).
can anyone tell why or fix it for me?
2.What's the difference between NormalRand, PosRand, RangeRand, SelectRand and math.random?