bufftype array added to putdmgbuff. Buffdmg now compares the bufftype array with the acttype