Nick Nitro
-
Posts
5 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by Nick Nitro
-
-
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);
-
and how to pull a specific revision from the 0.12 branch ??
-
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
-
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 ??
[fix][8941] Ferocious Bite
in ... acceptedOld
Posted
not so diferent from what i've done