Commit graph

208 commits

Author SHA1 Message Date
tomrus88
e75e66063e Merge commit 'origin/master' into 310
Conflicts:
	src/game/UpdateData.cpp
2009-05-05 10:44:12 +04:00
tomrus88
7e938af972 Updated to latest PTR client build 9868. 2009-05-05 10:41:22 +04:00
evilstar
c0bb0fd09d [7767] Implement item 43824 work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-05 08:47:23 +04:00
daveh
df119a4b59 [7754] Set NPC flags from DB for mini-pets (summoned critters).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-04 08:41:23 +04:00
daveh
56401e1494 [7750] Get level/health critters data from Db instead hardcoded values.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-04 04:18:57 +04:00
AlexDereka
27fabf7ace [7745] Fixed gcc warnings. 2009-05-03 20:25:27 +04:00
tomrus88
335b32dbc3 Merge commit 'origin/master' into 310 2009-05-02 19:56:19 +04:00
tomrus88
b980e9ac59 Updated to 3.1.2.9855 client build, fixed quests, some work on monster movement. Not tested. 2009-05-02 19:41:00 +04:00
NoFantasy
baa3e199d2 [7739] Implement boss spell 38441.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-30 21:25:35 +04:00
tomrus88
d4323e0071 Merge commit 'origin/master' into 310
Conflicts:
	src/game/CharacterHandler.cpp
	src/game/Player.cpp
2009-04-29 11:51:15 +04:00
Lightguard
a4373c887d [7729] Implement skill level dependent speed bonus for mount (item 40775).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-29 00:17:34 +04:00
tomrus88
950a4bf13f Merge commit 'origin/master' into 310
Conflicts:
	src/game/Player.cpp
2009-04-28 19:08:53 +04:00
AlexDereka
c9d51a6dc7 [7716] Fixed some typos and possible crashes. 2009-04-26 18:49:07 +04:00
VladimirMangos
c2e6dd20dd [7715] Provided way for scripts set alternative gameobject state for client show.
Also use enum for gsmeobject states.
2009-04-26 07:21:11 +04:00
tomrus88
55d6fbe3cb Merge commit 'origin/master' into 310 2009-04-25 17:24:05 +04:00
DiSlord
99a98684d0 Move code from prev commit to dummy effect
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-24 02:24:57 +04:00
Trogvar
94f7bd6ec1 [7704] Implement damage part for spell 12809.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-24 01:11:14 +04:00
Trazom
7c0201f834 [7701] Move explicit healing repeating code to DealHeal functions.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-23 04:54:57 +04:00
tomrus88
a9e148edac Merge commit 'origin/master' into 310
Conflicts:
	src/game/AchievementMgr.cpp
	src/game/BattleGroundHandler.cpp
	src/game/CreatureEventAIMgr.cpp
	src/game/DBCStructure.h
	src/game/Player.cpp
	src/game/Spell.cpp
	src/shared/revision_nr.h
2009-04-21 15:20:45 +04:00
VladimirMangos
fc0e1ecdf1 [7690] Move GetCreature/GetGameobject to class Map.
* This let get objects at map without reference to player or another object.
* Simplify future implementation for per-map storage for like objects
2009-04-20 19:08:13 +04:00
tomrus88
66f554f74d Merge 'master' into 310
Please enter the commit message for your changes. Lines starting
2009-04-18 17:21:29 +04:00
VladimirMangos
09c32b5429 [7678] Implement spell target mode 7 and cleanup target mode 17. 2009-04-17 13:41:36 +04:00
tomrus88
d6f6272f8c Merge branch 'master' into 310 2009-04-14 15:54:43 +04:00
VladimirMangos
d85e95295d [7668] Cleanup In CreatureAI function descriptions and AttackStart/AttackedBy use.
* Use AI::AttackStart calls only in case explicit request creature attack from core or AI code "attack it if can".
  Like taunt, pet handler attack command.
* Use AI::AttackedBy for reaction at hostile action "do something at hostile action"
  Like non-dot damage, swing, negative spell landing, or fade fear/etc.
  And provided by default call AttackStart if no current target.

This fix some problems, like:
* Civilian will react propertly at attack by another creature (not pet or player).
* Will not cases (at least triggred by core) when attack target start run to attacker before any real hostile action apply.
2009-04-14 10:14:10 +04:00
tomrus88
9b20869a32 Merge branch 'master' into 310
Conflicts:
	src/game/Player.cpp
2009-04-12 14:37:33 +04:00
DiSlord
db429d2a20 [7654] Apply SPELLMOD_DAMAGE for %healing spells (48985 and ranks for example)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-12 03:56:14 +04:00
Lightguard
8a21bdbae7 [7650] Fix one warlock talent part (47201 and ranks).
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-11 23:44:24 +04:00
tomrus88
14e9afa46f Merge branch 'master' into 310
Conflicts:
	src/game/Unit.cpp
2009-04-07 13:22:10 +04:00
Lutik
d6223e18f5 [7621] More strong check for 23922 and ranks for add damage
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-05 21:04:52 +04:00
tomrus88
3ad6044f72 Merge branch 'master' into 310
Conflicts:
	src/game/Unit.cpp
2009-04-03 21:21:40 +04:00
freghar
0fc68c5e1e [7609] Trailing whitespace cleaning
Here we are again! "git diff --check" !!

Signed-off-by: freghar <compmancz@gmail.com>
2009-04-03 16:46:39 +02:00
tomrus88
17d86309fa Merge branch 'master' into 310
Conflicts:
	src/game/Unit.cpp
2009-04-03 11:28:51 +04:00
Lutik
6c6703f363 [7606] Fix use % power burn in effects
Signed-off-by: DiSlord <dislord@nomail.com>
2009-04-03 02:15:52 +04:00
VladimirMangos
448f4195f8 [7595] Remove wrong comments.
Just forgot remove its in time releted patch push.
2009-04-01 14:30:18 +04:00
Charlie2025
3e74e2160e [7591] Implement 52375 and ranks.
(cherry picked from commit f0fb07c5261ffe823a91569a85a6d6018cd69b7a)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-31 04:39:08 +04:00
tomrus88
abae3cac91 Merge branch 'master' into 310
Conflicts:
	src/game/Unit.cpp
	src/shared/Database/SQLStorage.cpp
2009-03-30 15:01:04 +04:00
KiriX
f726bd69a5 [7585] Implement quest item 39164 work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-29 23:56:22 +04:00
VladimirMangos
f38283eba6 [7583] Use instead BasePoints+1 hardcoded formula more correct BasePoint+BaseDice hide in special helper function. 2009-03-29 22:46:32 +04:00
VladimirMangos
ae42ce6418 [7581] Move spell 58418, 58420 to script effect (first) from dummy (second).
In new spell data second dummy effect often use for additional info (script+dummy) or (dummy+dummy) and not called in fact.
2009-03-29 18:56:55 +04:00
GriffonHeart
426da8ad3d [7579] Check quest state and more generic code use for 58418, 58420.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-29 14:20:50 +04:00
arrai
bfbdb42309 [7571] Implemented AttributesEx4 & 0x40 - SPELL_ATTR_EX4_NOT_STEALABLE
Flag has been verified by comparing 3.0.3 AttributesEx4 value of spell 55336 with 3.0.9 one
2009-03-28 18:52:32 +01:00
cccyril
1f654c7969 [7562] Drop code for now not existed spell support.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-28 06:15:14 +03:00
pasdVn
1ad5f9a7b2 [7561] Cleanup effectWeaponDmg from now oudataed special case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-28 06:05:41 +03:00
Ramses_II
00d0718124 [7559] Implement function Player::RewardPlayerAndGroupAtEvent for reward (quest objective only) player and group at special kill-like events.
Use it for Spell::EffectKillCredit and some dummy code.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-28 04:30:34 +03:00
tomrus88
963aed5e0b Merge branch 'master' into 310
Conflicts:
	src/game/Player.cpp
	src/game/Player.h
	src/game/Unit.cpp
2009-03-26 14:28:37 +03:00
VladimirMangos
c33eff13f4 [7540] Move most reputation/force faction reaction code to new ReputationMgr. 2009-03-26 11:28:56 +03:00
VladimirMangos
73ac0bcc7f [7527] Remove redundent arg from Player::EnvironmentalDamage 2009-03-23 18:01:30 +03:00
Triply
53f3c91a39 [7524] Removed commented code in Spell::EffectSendEvent()
Signed-off-by: Triply <triply@getmangos.com>
2009-03-23 11:07:49 +01:00
`win
0f6b2ab9ae [7523] Fixed: players will now drop flag in battleground if they cast immunity buff on themselves.
TODO: players who carry flag in bg are imune to immunity buffs casted by friendly players. (todo added to code).
Bug: if paladin casts Hand of protection on flag carrier - flag will be dropped, but he should get "target is immune" message.
Fixed: Do not call Battleground::Update for battleground template objects.
Fixed: Do not allow immune player to click on object in battleground (not sure if this is correct in all cases).

Signed-off-by: Triply <triply@getmangos.com>
2009-03-23 10:16:44 +01:00
tomrus88
9debf4dfc0 Merge branch 'master' into 310
Conflicts:
	src/game/MiscHandler.cpp
	src/game/Player.cpp
	src/game/Player.h
	src/shared/Database/DBCStores.cpp
2009-03-22 09:41:17 +03:00