Jump to content

kamir86

Members
  • Posts

    7
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by kamir86

  1. u can cast those spells in dummy routine http://www.wowhead.com/?search=Winged+Steed+of+the+Ebon+Blade#uncategorized-spells naturally after riding skill check, it is not hard to fix...
  2. if in arcemu pass is encrypted you can do a php script for password recovery. Request could be sent to user's mail with an ack link to complete che password recovery...
  3. I think that you shoul use multiprocess to divide problems .. like realm, and mangosd mangosd can be splitted in many processes like mobs handler (mobs can be do using agent programming).. But multithread is better in other cases for examble in players handler, in packet sending ecc...
  4. spells like Life Drain (28542) which have spell target 15, should affect only a limited (random?) raid members effect 15 is not only for aoe spells, but I don't found any difference between this spell and others with aoe effects...maybe that behaviour is described by an unused dbc field
  5. Hi, I think that SPELL_AURA_OVERRIDE_CLASS_SCRIPTS is not handled in correct way in mangos project, so I'm writing this 3d in hope to gather a piece of information. Nowaday that aura is handled spread in code like a dummy aura and it's not correct. In this 3d I want to discuss working around some question: 1) There is really a general implementation of those type of auras? 2) Can we found a way to interpretate correctly the misc value? 3) similarity which have the spell that use this kind of aura? Tnx for pay attenction
  6. sorry, I didn't see that function, first post updated. btw code have more burst time with those function
  7. * What bug does the patch fix? What features does the patch add? healing mod pct should work like speed mod With this patch only the most powerful affect is applied for this aura effect (for example mortal strike and aimedshot on the same player reduces healing taken by 50%) * For which SubVersion revision was the patch created? 5789 * Who has been writing this patch? Please include either forum user names or email addresses. me working, no problem Found Index: Unit.cpp =================================================================== --- Unit.cpp (revision 5789) +++ Unit.cpp (working copy) @@ -7486,9 +7486,14 @@ modOwner->ApplySpellMod(spellProto->Id, SPELLMOD_DAMAGE, heal); // Healing taken percent - AuraList const& mHealingPct = pVictim->GetAurasByType(SPELL_AURA_MOD_HEALING_PCT); - for(AuraList::const_iterator i = mHealingPct.begin();i != mHealingPct.end(); ++i) - heal *= (100.0f + (*i)->GetModifier()->m_amount) / 100.0f; + float minval = GetMaxNegativeAuraModifier(SPELL_AURA_MOD_HEALING_PCT); + float maxval = GetMaxPositiveAuraModifier(SPELL_AURA_MOD_HEALING_PCT); + if(maxval){ + heal *= (100.0f + maxval) / 100.0f; + } + if(minval){ + heal *= (100.0f + minval) / 100.0f; + } if (heal < 0) heal = 0;
×
×
  • 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