Пример #1
0
void SRoleInfo::levelUp()
{
	propData.level += 1;

	propData.MaxHP *= 1.05;
	propData.MaxMP *= 1.05;

	propData.STR += TRandom() % 2 + 1;
	propData.END += TRandom() % 2 + 1;
	propData.INT += TRandom() % 2 + 1;
	propData.DEX += TRandom() % 2 + 1;

}
void ParticlesManager::FrameData::clear() {
  m_frame = (std::numeric_limits<int>::min)();
  m_particles.clear();
  m_random         = TRandom();
  m_calculated     = false;
  m_maxTrail       = -1;
  m_totalParticles = 0;
}