QAston
f31e676199
Fix build after recent pull merges.
2011-09-03 18:07:27 +02:00
sarjuuk
b40bf69319
[Core/Threat] SpellThreat-Calculation revamped
...
short:
- Threat is now distributed blizzlike (almost)
long:
- Percent- and AP-Modifieres got add
- Threat is now propperly distributed through multiple enemies
- Most spells will cause initial threat in an amount equal to their SpellLevel
- Energize-Effects will now be treated like healing (threat-wise)
- Tanks got their missing +43% passive threat tacked on
- Paladins are still missing 'Salvation' and will not only cause half threat with healing (essentially 25% of the amount healed)
2011-09-03 17:42:44 +02:00
QAston
dc01541111
Merge pull request #2852 from Chaplain/cleanup2
...
Core/Misc: Cleanup - remove unused variables, add some const modifiers to functions, fix process of args in vmap3_extractor
2011-09-03 08:34:02 -07:00
QAston
d23b03271d
Merge pull request #2777 from KoffeinKaio/fishing
...
Core/Spells: Fixed fishing bobber landing angle.
2011-09-03 07:52:47 -07:00
QAston
414f048bd5
Merge pull request #2735 from hacknowledge/fix_2734
...
Core/Spells: Fixes ammo consumption for Hunter's Volley
2011-09-03 07:29:31 -07:00
Chaplain
bea649d045
Core: cleanup.
...
*remove some garbage
*little bit moore const func
*fix process of args in vmap3_extractor
2011-09-01 22:38:32 +03:00
Shocker
b83e858455
Core/Spells: Some aura defines
2011-08-31 12:37:19 +03:00
Shocker
4eb3a9ca48
Core/Spells: Rename SPELL_AURA_POWER_BURN_MANA to SPELL_AURA_POWER_BURN
2011-08-31 12:11:38 +03:00
Kapoeira
5d0a2b6094
Core/Spells: Fix Aspect of the Beast
...
Closes #462
Closes #2814
2011-08-30 20:24:36 +07:00
Spp-
aa85553bfd
Core: Crash fix (TemporarySummon), remove some warnings and some other minor changes
...
- "const uint64" and "uint64 const" --> uint64
- Add some info in LFGDungeonEntry
- Move some definitions from ".h" files and move to ".cpp"
2011-08-30 13:46:36 +02:00
QAston
d863562507
Core/Spells: Make core be a little less strict about some spell attributes SPELL_ATTR0_CASTABLE_WHILE_DEAD and SPELL_ATTR2_CAN_TARGET_NOT_IN_LOS checks.
2011-08-30 00:13:53 +02:00
QAston
2f79241237
Core/Spells: check unattackable flag only for negative spells.
2011-08-29 23:26:47 +02:00
Naga
eba169e5f1
Fixed fishing bobber landing angle.
2011-08-27 14:34:56 +00:00
QAston
8754166071
Core/Spells: Send expected type of spell implicit target to client.
2011-08-27 12:59:57 +02:00
Nay
83912c43ad
Core/Spells: Revert a (little) part of 85164d2876
...
DB: Fix startup errors Closes #2568
2011-08-26 18:04:35 +01:00
QAston
751cbaf307
Core/Spells: Fix a typo (!GetDst() instead of !HasDst()) which prevented from automatical lconverion of spell unit target to destination target (this is only used in script casts). Closes #2761 .
2011-08-26 16:30:56 +02:00
QAston
79427354aa
Fix build. Damn.
2011-08-26 15:40:11 +02:00
QAston
265c909666
Core/Spells: small correction to e2d592f380, don't interrupt passive auras.
2011-08-26 14:43:19 +02:00
QAston
e2d592f380
Core/Spells: Interrupt periodic trigger auras when triggered spells fails to cast. Closes #2598
2011-08-26 14:23:23 +02:00
QAston
8e392440cf
Core/Spells: Fix a regression of 7f30ac5a95 - spells with TARGET_SELECT_CATEGORY_CHANNEL target type (like mind sear) should be triggered by triggering spell caster
2011-08-26 12:39:50 +02:00
QAston
5c48d9ec8a
Core/Spells: Store explicit unit, corpse and GO targets in one variable, because both client and server can't handle more than one explicit object target; Add spell explicit target validation.
2011-08-26 12:06:13 +02:00
Spp-
e41774750f
Core/Spell: Partial revert of 85164d2 (Move icc spell back to original line to keep icc spells grouped)
2011-08-26 10:29:23 +02:00
Spp-
85164d2876
Core: Some cosmetic changes and minor optimizations
2011-08-26 09:41:33 +02:00
Spp
f997f9d3c4
Core/Spells: Fixed typo in Parasitic Shadowfiend Passive
2011-08-25 10:21:19 +02:00
QAston
188fdb3e4c
Core/Spells: Allow spells with TARGET_FLAG_CORPSE to target players which didn't hit release button yet.
2011-08-25 06:51:57 +02:00
hacknowledge
7f7ca27aa6
white space correction
2011-08-25 00:41:02 +02:00
hacknowledge
719c151b7b
tabs to spaces
2011-08-25 00:32:46 +02:00
hacknowledge
eb15c8c08a
Fixes ammo consumption for Hunter's Volley
...
#2734
2011-08-25 00:24:22 +02:00
QAston
7a3b1f1ed5
Core/Spells: Make GMs and vehicle riders not attackable by AOE again.
2011-08-24 18:22:33 +02:00
QAston
5cd4f9e513
Core/Spells: fix TARGET_DEST_TARGET_* targets after 7f30ac5a95
2011-08-24 10:35:41 +02:00
QAston
1178cee836
Core/Spells: Small correction to: 7f30ac5a95 - TARGET_DEST_TRAJ targets should require both src and dst target provided.
2011-08-24 08:53:26 +02:00
QAston
7f30ac5a95
Core/Spells: Add a generic way of selecting spell explicit targets. Make explicit targets independant of calling convention in core - this makes targets sent to client to be much more blizzlike than before (for example CastSpell(Unit*) won't set TARGET_FLAG_UNIT for spells which are not using explicit unit target) for SMSG_SPELL_START packets. Also remove hacks, which became obsolete with this commit.
2011-08-24 08:08:33 +02:00
QAston
9f7a557c05
Merge pull request #2721 from Chaplain/cleanup
...
Core: Clean up here and there.
2011-08-23 21:01:54 -07:00
QAston
5819cb084f
Merge pull request #2715 from elecyb/diminish
...
Core/Spells: Fix duration of some spells in PvP
2011-08-23 21:01:35 -07:00
Cron
923d5761ce
Core/Spells: Fixed Survival of the Fittest armor increase bonus while in Dire Bear or Bear form. Closes #2724
2011-08-24 00:44:50 -03:00
Chaplain
fb27848510
Core: Clean up here and there.
...
*replase postfix iterator increment\decrement with prefix in cycles
*replase strlen(*char) != 0 with *char[0] != '\0'
*replase strlen(rStr.c_str()) with rStr.length()
2011-08-23 18:09:08 +03:00
QAston
e7468b2e2c
Core/Spells: Do not apply spellmods to spells with SPELL_ATTR3_NO_DONE_BONUS attribute.
2011-08-23 14:30:26 +02:00
Shauren
cb9985c054
Core/Spells: Check SPELL_AURA_PREVENT_RESSURECTION on targets for resurrection spells
2011-08-21 19:03:24 +02:00
click
d5fbd223c6
Core: Fix non-PCH build
2011-08-21 17:07:32 +02:00
Shauren
7cea5a1f5b
Core/SpellMgr: Corrected indentation in SpellMgr::LoadDbcDataCorrections
2011-08-21 15:01:40 +02:00
QAston
738214f8e5
Core/Spells: add some const modifiers to functions, fixes build.
2011-08-21 13:57:15 +02:00
QAston
c453d78b07
Core/Spells: Fix mind controll after recent target requirement changes.
2011-08-21 13:01:37 +02:00
Shauren
5f6c6d3925
Core/Auras: Implemented SPELL_AURA_PREVENT_RESSURECTION
2011-08-21 12:42:22 +02:00
QAston
3476767eb0
Fix warnings from merged pull requests.
2011-08-21 11:59:06 +02:00
QAston
396a2e588b
Merge pull request #2678 from Kapoeira/master
...
Core/Spells: Fixed Heart of the Wild stamina and attack power bonus part.
2011-08-21 01:00:00 -07:00
QAston
a10eb53598
Merge pull request #2672 from Chaplain/master
...
Core/Spell: case TOTAL_PCT\BASE_PCT should be processed by multiplicative function not additive.
2011-08-21 00:54:14 -07:00
QAston
edb1f1d436
Core/Spells: Don't check triggered flags for SPELL_ATTR0_CASTABLE_WHILE_DEAD attribute check - triggered spells have this flag set correctly - fixes problems with auras triggering spells for dead casters while they shouldn't.
2011-08-21 09:39:53 +02:00
Cron
7b744ebe65
Core/Spells: Fixed Heart of the Wild stamina and attack power bonus part.
...
Closes #2320
2011-08-20 19:36:30 -03:00
Shauren
080c420e6a
Core/SpellScripts: Added method to access m_spellValue in script
2011-08-20 15:47:35 +02:00
QAston
a76f023002
Core/Spells: remove one now obsolete check which prevents spells with SPELL_ATTR6_CAST_BY_CHARMER from being cast.
2011-08-20 13:14:47 +02:00