In monster.cpp how config to the monster run at the same speed that the PLAYER ?
"Basespeed" how put GetPlayer Speed?
"Basespeed" how put GetPlayer Speed?
Code:
if(isSummon())
{
health = (int32_t)(mType->health * multiplier);
healthMax = (int32_t)(mType->healthMax * multiplier);
}
health = (int32_t)(mType->health * multiplier);
healthMax = (int32_t)(mType->healthMax * multiplier);
baseSpeed = mType->baseSpeed;