Shocker
ef9101ea83
Core/Spells: Rename AuraEffect::IsAffectedOnSpell to IsAffectingSpell
2011-11-26 23:38:06 +02:00
Shocker
bef006c5bf
Core/Spells: Fix SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE
2011-11-26 22:53:37 +02:00
Shocker
8160e6e303
Core/Spells: Allow SPELL_AURA_SET_VEHICLE_ID to be used on creatures too
2011-11-26 22:42:26 +02:00
kaelima
aa215e5e80
Core/Misc: Fix compile and char creation
...
- Added very basic honor/conquest support, no idea if its works even a little since there's no possibility of testing yet
2011-11-26 01:46:41 +01:00
Shauren
e8c3a3ac9c
Core/Items
...
* Updated ItemTemplate structure to 4.x
* Calculate armor, damage and disenchant loot from dbc files
TODO: Use dbc disenchant ids in disenchant_loot_template
2011-11-25 23:24:40 +01:00
kaelima
ec54bb4895
Core/Misc:
...
Clearing compile errors since UpdateFields were changed:
- Completely remove ammo (Cataclysm change)
- Revert some changes with power/maxpower and only store the 5 needed powers in db (the rest is useless)
- Remove GuildId from corpse
- Move PLAYER_GUILDID to character db (removed updatefield)
Note: Compile is still not working as we need to change currency handling
2011-11-25 18:54:59 +01:00
Rat
5d39e09d89
Merge branch 'master' of github.com:TrinityCore/TrinityCore
2011-11-23 20:23:26 +01:00
Shauren
358b33239a
Core: Fixed remaining C6246: Local declaration of 'x' hides declaration of the same name in outer scope. from previous commit
2011-11-23 19:17:33 +01:00
Rat
dd80a880dc
updated all remaining dbc structures
2011-11-23 13:16:45 +01:00
Bootz
d1334624da
Core: Codestyle clean-up
...
"pl"->"player"
Note: codestyle methods needs maintained, Player* player.
still to do properly clean-up chat.cpp.
2011-11-07 11:18:00 -06:00
Bootz
f75ec5ba2b
Core: Codestyle clean-up
...
"plr"->player
Note: codestyle methods needs maintained, Player* player.
2011-11-07 11:06:39 -06:00
kaelima
e16e18da23
Core/Spells: Added safe-checks for places where caster/victim can be null.
...
And some random cleanup
2011-10-31 01:54:44 +01:00
kaelima
be0b2fcf97
Core/Grid:
...
- Simplified CellArea calculation (Original author: SilverIce)
- Removed unused code in Cell class (Original author: SilverIce)
- Improve some Visit functions.
2011-10-19 17:40:44 +01:00
megamage
c29ff41001
Rename some classes in grid system.
...
Note: The naming of classes is still confusing. "cell" usually refers to class "Grid", and "grid" usually refers to class "NGrid". But it requires a lot of changes to clean this up.
2011-10-18 10:53:34 -04:00
Fredi Machado
97142102e0
Core/Misc: Added 'f' after float values
2011-10-17 07:38:27 -03:00
megamage
fd9bab9d89
Add a missing break in AuraEffect::CalculateSpellMod. Thanks to vlad852 for pointing out.
2011-10-12 14:48:22 -04:00
megamage
0184720df6
Merge pull request #3444 from Havenard/fix0008
...
Fix Elemental Oath
2011-10-12 08:44:47 -07:00
Chaplain
3e9611578c
Core/Spells: SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT improvement
...
*Now it'll correctly increase\decrease % of power
*Added helper function for modify power with percent ammount
2011-10-12 01:11:52 +03:00
Havenard
61f468d5a1
Fix Elemental Oath
...
Remove hacky implementation of Elemental Oath
Properly fix it by correcting DBC data
Fix Clearcasting from Elemental Oath damage bonus being displayed twice in Spell ToolTips by damage Addons like DrDamage (displaying 10.25% instead of 5%, 21% instead of 10%)
2011-10-10 18:01:02 -03:00
3kids
35126d3c5e
Core/Spells: Restore work of Unrelenting Assault after 341d22ff91
2011-10-08 15:50:50 +07:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Spp
9e517c963b
Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*"
2011-09-29 09:32:55 +02:00
Chaplain
5bbd8dcf33
Core/Spell: Hymn of Hope fix.
...
*fixed mess with temporary increase max/current power (percent).
*thx Shocker for advice
2011-09-26 20:12:25 +03:00
QAston
82bc917265
Merge pull request #2908 from Drethek/TwinsValk
...
Scripts:
Twins Valk - Cleanup / Remove Hardcoded Bullet Spawn (Need DB Support - Stalkers Spawns)
Acidmaw - Use Correct Submerge Spell
Trial Of Crusader - Correct Coordinate Spawn
Trial Of Crusader - Correct Open/Close Main Door Timer
Trial Of Crusader - Open/Close On Boss EnterEvadeMode
2011-09-21 00:27:20 -07:00
Shocker
7afb179185
Misc/Util: Add a template function for returning a random element from any container
2011-09-15 21:28:40 +03:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Spp-
30fb856ea3
Fix typo (Rename SPELL_AURA_PREVENT_RESSURECTION to SPELL_AURA_PREVENT_RESURRECTION)
2011-09-06 14:23:53 +02:00
Chaplain
abf9ac3159
Core/Auras: Weapon specific case for MOD_DAMAGE_DONE_PCT shouldn't change PLAYER_FIELD_MOD_DAMAGE_DONE_PCT, because PLAYER_FIELD_MOD_DAMAGE_DONE_PCT applyed for _all_ damage that deal target.
...
*fixed #2842
*updated comment
2011-09-05 19:43:24 +03:00
kaelima
d295bc4d19
Core/Spells: Fix Sentry Totem's bind sight.
2011-09-05 15:48:41 +02:00
Nevan
e8bb94d213
Tabs
2011-09-05 02:05:20 +02:00
Nevan
87b5f99b81
Twins Valk - Cleanup / Remove Hardcoded Bullet Spawn (Need DB Support - Stalkers Spawns)
...
Acidmaw - Use Correct Submerge Spell
Trial Of Crusader - Correct Coordinate Spawn
Trial Of Crusader - Correct Open/Close Main Door Timer
Trial Of Crusader - Open/Close On Boss EnterEvadeMode
2011-09-05 01:59:17 +02:00
Nay
5a63d12457
Core: Fix indentation in SpellAuraEffects
2011-09-03 23:29:30 +02:00
hacknowledge
9d85446e30
Core/Spells: Fixed misdirection ability of hunters to end 4 seconds after first damage proc - fixes #114
2011-09-03 18:26:39 +02: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
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
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
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
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
Chaplain
4b56226619
Core/Spell: case TOTAL_PCT\BASE_PCT should be processed by multiplicative function not additive.
...
Also get ride of hack in Player::HandleBaseModValue now it's unnecessary.
Fixes : #855 , multiplicative % count for normal school for aura 79 and may be others.
2011-08-20 13:38:20 +03:00
tobmaps
e1e91bacbe
Core/Spells: Prevent apply spell power coefficients at bonus given by some "taken" damage mods
...
Closes #1991
2011-08-20 03:06:15 +07:00
Machiavelli
917ffdffac
Core/Spells: More research on SPELL_ATTR6_ONLY_CAST_WHILE_POSSESSED and implement new research (original caster should be charmer or owner) and implement QAston's earlier research (only castable while possessed).
2011-08-18 20:28:07 +02:00
Chaplain
2233018f52
Core/Spells: Fixed exploit found in 9936921206.
...
When we count twice multipliar for spells with SPELL_SCHOOL_MASK_NORMAL.
Also now it will show correct data in character info like damage reduction % from defence stance in warrior case.
Also fixed some minor logic issues.
2011-08-17 16:11:38 +03:00
hacknowledge
0c500486f3
Core/Spells: Fixed weapon dependent damage mods for players as well as autohit damage mods for NPCs and pets. This fixes also meta sockel effects. Also fixed displaying the correct values in the char info. I also took care of applying and unapplying the weapon based damage mods when the player is being disarmed and equips/unequips his weapon.
...
Fixes #178 , #418 , #1276 , #259 and possible a few other issues.
2011-08-13 23:26:16 +02:00
QAston
b81fb4d423
Core/Spells: Rename SPELL_ATTR2_ALWAYS_APPLY_MODIFIERS to SPELL_ATTR2_DISPLAY_IN_STANCE_BAR, and make auras to be recalculated when permament instead of using that wrongly defined flag.
2011-08-11 23:11:10 +02:00
Spp
7e53a73059
Core/Vehicles: Remove Vehicle.h dependency from other header files
2011-08-03 12:28:42 +02:00
Shauren
8753a18263
Core/Auras: Corrected SPELL_AURA_CLONE_CASTER and mirror image opcode handling, will no longer rely on incorrectly used creator guid
2011-07-31 16:43:54 +02:00