DiSlord
0db6b31b70
[6985] Fix crit chance calc
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-30 04:22:12 +03:00
VladimirMangos
3f397ed035
[6984] Update crushing blow chance calculation for 3.0.3.
...
Required 4 level difference.
Player also can crushing blow if controlled and then considered as creature.
2008-12-30 04:03:54 +03:00
VladimirMangos
71c67a5202
[6983] Revert [6978]. Useless for master branch. But ported to mangos-0.12 version will useful at branch.
...
* Remove unused arg of Unit::RollMeleeOutcomeAgainst and cleanup related code: Block crit implemented for spell by another way,
* Also comment out SPELL_AURA_IGNORE_COMBAT_RESULT aura check for block: not exist currently spell with this aura for bloc case.
2008-12-30 03:30:57 +03:00
DiSlord
a1494d29dc
[6980] Add some fixes to trigger system
...
Allow proc from every kill
Fix (and remove hack) priest 32379 and rank (backfire damage after 1 sec)
Remove not need stack overflow protection
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-30 01:49:28 +03:00
Machiavelli
04af12e82a
[6978] Allow crashing blow only from auto-attack.
...
Signed-off-by: Machiavelli <Machiavelli@getmangos.com>
Thanks to Dreamer for patch preparing for mangos.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-29 23:28:38 +03:00
VladimirMangos
c5976f93da
[6975] Fixed spell damage calculation for negative EffectDieSides.
...
Thanks to NoFantasy for testing.
Also small code style apply to random generation functions.
2008-12-29 23:00:12 +03:00
ApoC
784cf098b0
[6968] Replace check for spell category removed in 3.0.x with spellid.
...
Should fix not interrupting wand casting by other spell cast.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-29 00:57:45 +01:00
DiSlord
53127cd6d9
[6966] Fix bug adding XP in DK trigger aura
...
Use MaNGOS::XP::GetGrayLevel for honor target gray level
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 23:32:26 +03:00
Arthorius
27175a9ad8
[6965] Implement aura SPELL_AURA_PROC_TRIGGER_SPELL_WITH_VALUE.
...
This must let work triggering part of:
DK talents 49182, 49027, 49149, 49223, 50880, 55610 and ranks
Warrior glyph item 43418
And some boss spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-28 22:36:42 +03:00
VladimirMangos
dd65b8b840
Apply mangos code style.
2008-12-28 22:36:08 +03:00
False.Genesis
c1c6f770ed
[6962] Update sanctuary flag.
...
This also will fixed opposition players allways unattackable state.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-28 06:51:49 +03:00
DiSlord
7a9346fe3d
Prepare for master tree
...
Remove some unused in 303 data from table
Fix some table data
Fix send (change in 303) SMSG_SPELLDAMAGESHIELD opcode
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 00:10:48 +03:00
DiSlord
30908fb5ff
Merge branch 'master' of git@github.com:mangos/mangos into procflag
2008-12-27 18:29:03 +03:00
False.Genesis
82c94b4101
[6948] Fixed unattackable NPC summoned pets.
...
Not set player's pet only UNIT_FLAG_PVP_ATTACKABLE flag for creature's pets.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-26 15:18:10 +03:00
VladimirMangos
3488c1fee3
Prevent using loading pet from DB code for non-player pets.
2008-12-26 12:47:03 +03:00
DiSlord
9d431700c3
[6946] Use blizzlike formula for armor reduction damage
...
Implement use CR_ARMOR_PENETRATION rating
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-26 00:45:33 +03:00
DiSlord
d22d08d6b2
Add all missing generic family spell to HandleProcTriggerSpell
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-25 19:34:33 +03:00
DiSlord
5c71f2b705
Cleanup unused spell in HandleProcTriggerSpell
...
Add all new scripted triggers to HandleProcTriggerSpell
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-25 02:51:56 +03:00
DiSlord
92c7edffe0
Fix send opcode (for 303)
...
Update to 303 master
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-23 19:56:08 +03:00
DiSlord
bae58eb069
Merge branch 'master' of git@github.com:mangos/mangos into procflag
2008-12-23 18:03:21 +03:00
Wyk3d
ed4efc317c
[6928] Corrected the handling of evade and threat for creature summoned pets. Should fix some of the setVisibility crashes.
2008-12-22 12:48:19 +03:00
DiSlord
ba868910e2
[6921] Fixed level depend spell damage calculation (limit it to spell base - max level)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-22 12:46:53 +03:00
DiSlord
061e73492e
Use MiscB as stat for SPELL_AURA_MOD_SPELL_DAMAGE_OF_STAT_PERCENT
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 23:33:35 +03:00
DiSlord
5f4d5533e7
Some check, comments in HandleDummyAuraProc
...
Added new spell ranks for some shaman talent
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 04:19:46 +03:00
DiSlord
3604f3fa1f
Fixed last comit comments, names
2008-12-17 00:41:07 +03:00
DiSlord
668c3d4b4c
* Better implement 202 SPELL_AURA_IGNORE_COMBAT_RESULT based on SpellClassMask
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-16 23:25:27 +03:00
DiSlord
a33a7f67f7
* Implement 246 SPELL_AURA_MOD_DURATION_OF_EFFECTS_BY_DISPEL
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-16 22:43:18 +03:00
tomrus88
71b1065c8b
Merge branch 'master' into 303
...
Conflicts:
src/game/CharacterHandler.cpp
src/game/Chat.h
src/game/Player.h
src/game/World.h
src/game/debugcmds.cpp
2008-12-16 07:30:23 +03:00
ApoC
a5331ab517
[6910] Implemented rewritten arenas. Original author w12x@getmangos.com
...
Many thanks also to:
Balrok@github.com for long time updating.
Triply@github.com for great work in rewriting process.
All who I forget to name.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 00:17:24 +01:00
DiSlord
7c8d69e2b0
* Fix some warlock talent work
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-12 01:36:28 +03:00
DiSlord
6c02f00a93
Merge branch 'master' of git@github.com:mangos/mangos.git into procflag
2008-12-12 01:34:09 +03:00
VladimirMangos
3da9f3f4cc
[6889] Backport some not client version specific changes and fixes from 303 branch.
2008-12-09 14:08:29 +03:00
VladimirMangos
52da5abf4d
[6879] Not apply casting time spell bonuses mods to creature (non-pets) casted spells with 0 cast time.
2008-12-09 00:28:28 +03:00
DiSlord
1ff2b7fc8b
[6876] * Not drop charge for 1120 and ranks (fix SPELL_AURA_CHANNEL_DEATH_ITEM aura work)
2008-12-09 00:28:26 +03:00
DiSlord
c78b5644c7
[6874] * Not remove spell mods for not finished spells
...
* Ignore self miss in drop combopoints (problems vs 5171 and ranks still exist)
* Allow cast spell on immune if spell can removeit by dispell
2008-12-09 00:28:25 +03:00
DiSlord
9b842b6fdc
Work under spell mods
...
* Add support > 64 bit spellFamily mask
* Remove not used fields in SpellModifier
* Remove not used (and not correct work vs charges) GetTotalFlatMods, GetTotalPctMods
* Use DBC based data for spell_affect
* More better work SPELL_AURA_ADD_TARGET_TRIGGER aura
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-08 23:22:39 +03:00
VladimirMangos
43f713f660
[6879] Not apply casting time spell bonuses mods to creature (non-pets) casted spells with 0 cast time.
2008-12-06 08:05:53 +03:00
DiSlord
223fe7321f
[6876] * Not drop charge for 1120 and ranks (fix SPELL_AURA_CHANNEL_DEATH_ITEM aura work)
2008-12-06 04:39:36 +03:00
DiSlord
d3b4b341a0
[6874] * Not remove spell mods for not finished spells
...
* Ignore self miss in drop combopoints (problems vs 5171 and ranks still exist)
* Allow cast spell on immune if spell can removeit by dispell
2008-12-06 01:26:47 +03:00
tomrus88
588edbcedb
Fixed merge
2008-12-05 18:38:17 +03:00
tomrus88
af1e1d7794
Merge branch 'master' into 303
...
Conflicts:
src/game/Corpse.cpp
src/game/DynamicObject.cpp
src/game/GameObject.cpp
src/game/Object.h
src/game/Unit.cpp
src/game/Unit.h
2008-12-05 18:16:31 +03:00
tomrus88
d00a453863
Reduced number of cells (doubled max visibility distance).
...
Use 2D distance for visibility checks.
2008-12-05 17:42:46 +03:00
tomrus88
df3ca15c3d
Use 2D distance for visibility checks
2008-12-05 02:01:05 +03:00
VladimirMangos
e58df484a2
Implement aura use in new version of racial trait 20550. Add unit stat mods for rune/runic powers.
...
Last change will also prevent corruption armor and holy resistence values.
2008-12-04 06:30:57 +03:00
tomrus88
700d3cf609
Some work on Runic Power and Milling Spell Effect
2008-11-30 13:53:33 +03:00
DiSlord
4a07c0c6c2
Apply procPatch
2008-11-26 22:23:10 +03:00
tomrus88
af6acab8f8
Merge branch 'master' into 303
...
Conflicts:
src/game/Creature.cpp
2008-11-26 19:44:03 +03:00
ApoC
64fd2dc881
[6846] Fixed some more typos. Added post check for assistance conditions into event execute.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-24 03:03:30 +01:00
tomrus88
6baaad4ed3
Allow speed change for units
2008-11-23 17:18:54 +03:00
tomrus88
5fae2418ab
Misc fixes
2008-11-23 16:18:14 +03:00