Commit graph

2134 commits

Author SHA1 Message Date
arrai
9a411858d0 [6987] Implemented aura dependent creature target prioritization more correctly 2008-12-30 20:05:51 +01:00
yad02
2b7004a0ab [6986] Remove outdated for 3.0.3 area mount limitation.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-30 18:45:34 +03:00
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
freghar
73ca2b7a54 [6982] Implemented gmlevel-based command security
This is just a simple check if target's gmlevel is lesser
than the caller's one. If it is, an error is returned.
Offline checks for some commands are included.

That in simple words means no further .goname to a gmlevel 3 player
from a gmlevel 2 or 1 account, so gmlevel 3 can work in peace.

Signed-off-by: freghar <compmancz@gmail.com>
2008-12-29 23:54:05 +01:00
DiSlord
bc0a840e6a [6981] Fix send SMSG_PERIODICAURALOG
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-30 01:51:23 +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
Wyk3d
12753049d1 [6979] Updated git_id
Fixed some whitespace errors.
2008-12-30 00:32:31 +02:00
Wyk3d
fb9c4a74c0 Fixed changing characters and realmd sql 2008-12-30 00:25:40 +02:00
Wyk3d
1f6d6929f6 Only use the new index if there are staged changes that need to be preserved 2008-12-30 00:25:40 +02:00
Wyk3d
5709c3cb20 Updated the help 2008-12-30 00:25:39 +02:00
Wyk3d
749d108443 Fixed replacing the revision in the makefile and the updates, other cleanups. 2008-12-30 00:25:39 +02:00
Wyk3d
391fc65ffb Fixed a bug that caused warnings, other cleanups 2008-12-30 00:25:38 +02:00
Wyk3d
0aed37f007 Corrected rewrting history, but still disabled. 2008-12-30 00:25:38 +02:00
Wyk3d
ca3f272040 Fixed replacing the rev number and did other cleanups. 2008-12-30 00:25:38 +02:00
Wyk3d
fe16b28b2d Implemented changing the sql database files 2008-12-30 00:25:37 +02:00
Wyk3d
38b5c0af7f Switch the index to preserve the original one, other fixed and cleanups 2008-12-30 00:25:37 +02:00
Wyk3d
1e824ba2d9 Fixed the db_version queries, added code to remove the updates from previous commits, other cleanups. 2008-12-30 00:25:36 +02:00
Wyk3d
c733c0f70c Implemented adding the alter table table statement for the last required sql update to the new sql update. 2008-12-30 00:25:36 +02:00
Wyk3d
5d2595d7e7 Implemented makefile generation 2008-12-30 00:25:36 +02:00
Wyk3d
6574ca17a4 Implemented renaming sql updates. 2008-12-30 00:25:35 +02:00
Wyk3d
0a480670c9 Added an option to set the remote branch 2008-12-30 00:25:35 +02:00
Wyk3d
dcb4d9d6d5 Fixed finding sql updates 2008-12-30 00:25:34 +02:00
Wyk3d
acb5080733 Cleaned up the buffer sizes and added started writing sql update support 2008-12-30 00:25:34 +02: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
Wyk3d
07394d45da [6977] Fixed a crash caused by incorrect use of GetMap for corpses in other maps, and another one caused by SelectHostilTarget failing to notice the target is not in world, due to a fauly InSameMap check. 2008-12-29 22:24:05 +02:00
Wyk3d
75b1db8cd0 [6976] Changed the db_version fields in realmd and characters databases to revision number format 2008-12-29 22:19:15 +02: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
Charlie2025
02cc37bcd0 [6974] Set different loglevel for UpdateAchievementCriteria
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-29 20:35:43 +01:00
arrai
6b34b76426 [6973] Fixed storing demotes in guild log. Patch provided by vdesai 2008-12-29 15:11:07 +01:00
arrai
28ee9a7c39 [6972] Fixed teleporting players home at logging out in invalid instances 2008-12-29 14:47:55 +01:00
arrai
e2b744f016 [6971] Implemented summon type 1161. This will fix spell 51533 2008-12-29 14:19:32 +01:00
Grz3s
da133b2618 [6970] Fixing player staring coordinates in mangos.sql. 2008-12-29 13:34:07 +03:00
VladimirMangos
5793ae28ea [6969] Prevent stacking presence auras. 2008-12-29 04:46:03 +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
tomrus88
ec744de8f0 Merge branch 'master' into 308
Conflicts:
	src/game/Spell.cpp
2008-12-29 00:50:48 +03:00
DiSlord
963c6e5cf7 [6967] Fix paladin seal and blessing family mask
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 23:58:48 +03: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
ApoC
58a05b831a [6964] Correctly show new guild rank name on guild demote.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-28 20:26:49 +01:00
VladimirMangos
15bb2d0f03 [6963] Fixed crash at glyph item use.
Prevent double deleted cast item in spell effect.
Thanks to GriffonHeart for testing.
2008-12-28 20:04:50 +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
begemot
b9e0787c2a [6961] Remove redundent code that prevent show .reload subcomands list in normal way.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-28 05:04:01 +03:00
Arthorius
41cbc67dfc [6960] Implement ".modify runnicpower" command.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-28 03:23:03 +03:00
hunuza
70c7dda068 [6959] Merge some queries on item load.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-28 00:38:38 +01:00
DiSlord
40e540d6f8 [6958] Fix last commit, add revision number
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 01:58:42 +03:00
DiSlord
b794a24358 Add procFlag patch
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 01:47:36 +03:00
DiSlord
fd5a994659 Merge branch 'master' of git@github.com:mangos/mangos into procflag 2008-12-28 00:41:47 +03:00