Jump to content

Nick Nitro

Members
  • Posts

    5
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Nick Nitro's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. not so diferent from what i've done
  2. Maybe something like: float multiple = ap / 410 + m_spellInfo->DmgMultiplier[effect_idx]; if (m_caster->GetPower(POWER_ENERGY) >= 30) { damage += int32(30 * multiple); damage += int32(((Player*)m_caster)->GetComboPoints() * ap * 7 / 100); m_caster->SetPower(POWER_ENERGY, m_caster->GetPower(POWER_ENERGY) - 30); } else { damage += int32(m_caster->GetPower(POWER_ENERGY) * multiple); damage += int32(((Player*)m_caster)->GetComboPoints() * ap * 7 / 100); m_caster->SetPower(POWER_ENERGY, 0); } or float multiple = ap / 410 + m_spellInfo->DmgMultiplier[effect_idx]; damage += int32(min(m_caster->GetPower(POWER_ENERGY), 30) * multiple); damage += int32(((Player*)m_caster)->GetComboPoints() * ap * 7 / 100); m_caster->SetPower(POWER_ENERGY, max(m_caster->GetPower(POWER_ENERGY) - 30, 0);
  3. and how to pull a specific revision from the 0.12 branch ??
  4. I'm still having this ACE problems with r6872... Could it be something regarding my OS (Ubuntu Server x64 8.04 LTS) do i need to download any new libraries (not listed on the linux compile guide) for compiling ?? Need help !! PS: 70 players online, 2gb RAM, AMD 3000+ (1.8GHz), 10mbps upstream connection Network.Threads = 2 Network.OutKBuff = 16384 Network.OutUBuff = 65536 Network.TcpNodelay = 1
  5. I'm having these problems also... I tested until rev6837 and i couldn't get things to work right. Using Ubuntu x64 8.04 LTS I have downgraded my mangos rev to 6750 (last one before ACE) and everything is fine, the problem is brought by ACE or its config for Ubuntu or something like that. Can anyone help ??
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use