Permalink
Switch branches/tags
Nothing to show
Commits on Jan 1, 2011
  1. [z1194] Restore check scripting lib API at load.

    Also report result of script library load/reload to chat/console.
    
    (based on master commit e125a5e)
    (based on master commit 626d527)
    
    (based on commit e5bf651)
    (based on commit 9d59b28)
    VladimirMangos committed Jan 1, 2011
  2. Show server startup time...

    Signed-off-by: Ambal <pogrebniak@gala.net>
    
    (based on master commit 954a3fa)
    
    (based on commit e002568)
    Ambal committed with VladimirMangos Jan 1, 2011
  3. [z1193] Small code style chnage lost in backported early commit

    (based on master commit 5caccee)
    
    (based on commit 49fab10)
    VladimirMangos committed Jan 1, 2011
  4. [z1192] Drop redundent spell_proc_event data.

    Also add data for proper charges dountcount for triggered effect of 12317 and ranks.
    And some other spells
    
    Signed-off-by: VladimirMangos <vladimir@getmangos.com>
    
    (based on master commit 41f8225)
    
    (based on commit 26f3fe1)
    siduskana committed with VladimirMangos Jan 1, 2011
  5. [z1191] Restore build at *nix.

    Signed-off-by: VladimirMangos <vladimir@getmangos.com>
    patman128 committed with VladimirMangos Jan 1, 2011
Commits on Dec 31, 2010
  1. [z1190] Drop code for spell 16511 that not required in 1.12.1 case (i…

    …n different from 2.x)
    
    Original patch provided by swater96.
    VladimirMangos committed Dec 31, 2010
  2. [z1189] Implement .reload npc_text.

    (based on master commit 68636e6)
    
    (based on commit aff0508)
    VladimirMangos committed Dec 31, 2010
  3. [z1188] Move script calls to ScriptMgr

    - Script library presence is now optional.
    - Some script hooks have new names. Scripting libraries need to be adjusted accordingly.
    
    Signed-off-by: zergtmn <zerg@myisp.com>
    
    (based on master commit 808059e)
    (based on master commit feda1e0)
    (based on master commit 2459a63)
    
    (based on commit f150230)
    
    Scripting lib sources will need update to use new Script API
    zergtmn committed with VladimirMangos Dec 31, 2010
  4. [z1187] Implement dummy effect of spell 7671.

    Thanks to X-Savior for reserch.
    
    (based on master commit 70d8f5f)
    
    (based on commit 0f37127)
    VladimirMangos committed Dec 31, 2010
  5. [z1186] Imporvments gameevent creature morphing.

    * This is allow have more clean logic in feature work.
    * Prevent modify static creature data.
    * Table `game_event_model_equip` renamed to `game_event_creature_data`
    * Table allow now store same creatures for different events, BUT
      expected that related events no active in same time.
    * Added possibility switch entry at gameevent time.
      This let have diff factions/loot and etc for creatures.
    * Added possibility cast spells at gameevent start/end.
      Exist some spells that expected casted to creature at gameevent start
      for model replace, and for animation in other cases.
    
    Note: `game_event_creature_data`.`modelid` field posisble will removed soon in fowor related spell use.
          Ofc, when spells will implemented in core.
    
    (based on master commit cedf1d2)
    (based on master commit 36c0e42)
    (based on master commit af25119)
    
    (based on commit 43e4343)
    VladimirMangos committed Dec 31, 2010
  6. [z1185] Uncomment all races in enum Races

    Race can also be creature race and needed for future implementation of spells.
    RACE_UNDEAD_PLAYER renamed to more proper RACE_UNDEAD
    Also more strict check player race/class allowed values.
    
    Signed-off-by: NoFantasy <nofantasy@nf.no>
    
    (based on master commit 0225e96)
    (based on master commit c872188)
    
    (based on commit f9bb1c5)
    NoFantasy committed with VladimirMangos Dec 31, 2010
  7. [z1184] Prevent null-pointer dereference in AI calls

    (based on master commit b1f3d8e)
    
    (based on commit 0da0e3d)
    zergtmn committed with VladimirMangos Dec 31, 2010
  8. [z1183] Remove player-only limit for HandleAuraTransform where miscva…

    …lue is 0
    
    Add error output for unhandled spells plus minor code cleanup
    
    Signed-off-by: NoFantasy <nofantasy@nf.no>
    
    (based on master commit 61d8898)
    
    Also replace direct m_target use in aura handler.
    
    (based on commit 2d20d47)
    NoFantasy committed with VladimirMangos Dec 31, 2010
  9. [z1182] Cleanup some magic numbers

    (based on master commit 43d71c9)
    
    (based on commit af40d52)
    zergtmn committed with VladimirMangos Dec 31, 2010
  10. [z1181] Revert "[8722] Fixed possible creash."

    This reverts commit 8dd3e4b31a31bb6dfc4d9fb51b1b7e67bad4ca16.
    
    This is impossible crash case. Creature object can't be created without creatureInfo != NULL
    So crash source can be only result wrong calling ClearInCombat() for deleted or NULL creature.
    
    (based on master commit e1955ae)
    
    (based on commit 6f32eef)
    VladimirMangos committed Dec 31, 2010
  11. [z1180] Allow SPELL_AURA_MOD_PACIFY auras to affect creatures

    Signed-off-by: zergtmn <zerg@myisp.com>
    
    (based on master commit 54b1513)
    
    (based on commit ca24a29)
    insider42 committed with VladimirMangos Dec 31, 2010
  12. [z1179] Use HasFlag function for check flags instead raw access.

    (based on master commit ad311e3)
    
    (based on commit 2b6fc5f)
    VladimirMangos committed Dec 31, 2010
  13. [z1178] Move scripting related functions from ObjectMgr to ScriptMgr

    (based on master commit b13c76c)
    
    (based on commit 29834f0)
    zergtmn committed with VladimirMangos Dec 31, 2010
  14. [z1177] Fix GCC warning

    (based on master commit 5e8cac2)
    
    (based on commit 2ed379a)
    zergtmn committed with VladimirMangos Dec 31, 2010
  15. [z1176] Use provided target instead of caster for SPELL_EFFECT_QUEST_…

    …COMPLETE
    
    Signed-off-by: zergtmn <zerg@myisp.com>
    
    (based on master commit 67bd74e)
    (based on master commit 8914fac)
    
    (based on commit 076abf8)
    KiriX committed with VladimirMangos Dec 31, 2010
  16. [z1175] Code style cleanups in scripting related functions

    (based on master commit 7ef7667)
    
    (based on commit 68dd5b5)
    zergtmn committed with VladimirMangos Dec 31, 2010
  17. [z1174] Imporve detection need use reagents by triggered spell.

    Now regagent used if main spell (if infor about provided to triggered cast)
    not have regent data.
    
    (based on master commit 4e5a9be)
    
    (based on commit 5179bab)
    VladimirMangos committed Dec 31, 2010
  18. [z1173] Drop some code for not existed in zero spells.

    VladimirMangos committed Dec 31, 2010
  19. [z1172] Fixed possible crash

    (based on master commit 661e6ee)
    
    (based on commit bf4ee21)
    AlexDereka committed with VladimirMangos Dec 31, 2010
  20. [z1171] Small cleanup backport and revert prev. commit.

    (based on master commit 1aaadbd)
    
    Client make proper difference in miss/resist animation.
    Also with change all spell resists show as misses and this incorrect also.
    Same problem currently at mangos master also.
    
    (based on commit 4cc52c2)
    tomrus88 committed with VladimirMangos Dec 31, 2010
  21. [z1170] Swap lines in LoadHelper as placed in master.

    (based on commit b31a57a)
    VladimirMangos committed Dec 31, 2010
  22. [z1169] Move define sObjectAccessor to more compatible with master pl…

    …ace.
    
    (based on master commit 8ddaa2e)
    
    (based on commit f1f35fc)
    VladimirMangos committed Dec 31, 2010
  23. [z1168] Lost line remove from backported commit

    (based on master commit a94d615)
    
    (based on commit 8483aed)
    VladimirMangos committed Dec 31, 2010
  24. [z1167] Some code style edits from backported early commit.

    (based on master commit bc50d81)
    
    (based on commit a182cc0)
    VladimirMangos committed Dec 31, 2010
  25. [z1166] Threat calculation fixes and improvements.

    * Send crit flag in DealDamage as MELEE_HIT_CRIT for spell damage for later send to threat call.
    
    (based on master commit 184c2d1)
    
    Lost fixes in old backport.
    
    (based on commit 7dbf15c)
    VladimirMangos committed Dec 31, 2010
  26. [z1165] Allow stacking some paladin spell auras.

    Signed-off-by: VladimirMangos <vladimir@getmangos.com>
    
    (based on master commit f37fa33)
    
    (based on commit b208e40)
    laise committed with VladimirMangos Dec 31, 2010
  27. [z1164] Implement SPELL_AURA_MECHANIC_IMMUNITY_MASK (147) and related…

    … cleanups.
    
    * Always use machanic masks in form (1 << (mech-1)), fix all cases.
    * Imppement SPELL_AURA_MECHANIC_IMMUNITY_MASK (mostly boss/elite spells).
    
    Note: db stored mechannic masks already stored in proper format so not affected.
    
    (based on master commit 1afc097)
    
    Reapply commit for some lost code cleanups.
    
    (based on commit 4d8ce6d)
    VladimirMangos committed Dec 31, 2010
  28. [z1163] Add comment for two unknown UNIT_FLAG_

    Signed-off-by: NoFantasy <nofantasy@nf.no>
    
    (based on master commit c235105)
    
    (based on commit de2d925)
    
    Check some other unclear flags for zero case and move to confirmed list part.
    Most unclear state with mount flag, it use in zero same value as silenced and client report silenced at it.
    Unclear what flag must used for mount instead or maybe this correct way work.
    NoFantasy committed with VladimirMangos Dec 31, 2010
  29. [z1162] Fixed tabs and trailing whitespaces.

    (based on master commit c762c92)
    
    (based on commit 8e6f908)
    VladimirMangos committed Dec 31, 2010
  30. [z1161] Rewrote bonus damage claculation

    * calculation depends on the damageClass now
      ->SPELL_DAMAGE_CLASS_RANGED & SPELL_DAMAGE_CLASS_MELEE use MeleeDamageBonus()
      ->SPELL_DAMAGE_CLASS_MAGIC & SPELL_DAMAGE_CLASS_RANGED use SpellDamageBonus()
    * changes/improvements in MeleeDamageBonus:
      -> improved criterions to apply bonuses
      -> implemented scaling of FLAT damage Bonus for non weapon damage based spells
      -> support of DOT's
      -> added pet's bonus damage for non weapon based spells
    * general cleanup in CalculateSpellDamage() and MeleeDamageBonus()
    * implemented global helper functions GetWeaponAttackType() and GetAuraTicks() in SpellMgr
    
    Signed-off-by: ApoC <apoc@nymfe.net>
    
    (based on master commit e6e7363)
    
    (based on commit ec8b962)
    pasdVn committed with VladimirMangos Dec 31, 2010