Commit Graph

305 Commits

Author SHA1 Message Date
megamage
4ca04684f2 [7593] Map::EnsureGridLoaded related cleanups and fixes: Author: VladimirMangos
* Make generic EnsureGridLoaded function and move specialized code to LoadGrid and EnsureGridLoadedAtEnter
    * Rename args to gx/gy for low-level grid numbering values.
    * Remove redundent LoadMpa call after always case loading maps in EnsureGridCreated

--HG--
branch : trunk
2009-04-02 16:33:35 -06:00
megamage
84f3bf8b71 *Update 52375 and ranks code. Author: Charlie2025
--HG--
branch : trunk
2009-03-31 14:25:38 -06:00
megamage
ba99171d5b [7585] Implement quest item 39164 work. Author: KiriX
--HG--
branch : trunk
2009-03-29 17:22:58 -06:00
megamage
7668b6aae6 [7583] Use instead BasePoints+1 hardcoded formula more correct BasePoint+BaseDice hide in special helper function. Author: VladimirMangos
--HG--
branch : trunk
2009-03-29 17:21:06 -06:00
megamage
d0877fa006 [7581] Move spell 58418, 58420 to script effect (first) from dummy (second). Author: VladimirMangos
In new spell data second dummy effect often use for additional info (script+dummy) or (dummy+dummy) and not called in fact.

--HG--
branch : trunk
2009-03-29 17:18:51 -06:00
megamage
28532e2524 [7579] Check quest state and more generic code use for 58418, 58420.Author: GriffonHeart
--HG--
branch : trunk
2009-03-29 17:16:30 -06:00
megamage
f69c48202f [7571] Implemented AttributesEx4 & 0x40 - SPELL_ATTR_EX4_NOT_STEALABLE Author: arrai
Flag has been verified by comparing 3.0.3 AttributesEx4 value of spell 55336 with 3.0.9 one

--HG--
branch : trunk
2009-03-28 17:47:12 -06:00
megamage
4797684f3b [7562] Drop code for now not existed spell support. (Touch of Weakness triggered spell) Author: cccyril
--HG--
branch : trunk
2009-03-28 16:34:34 -06:00
megamage
1299521d50 [7559] Implement function Player::RewardPlayerAndGroupAtEvent for reward (quest objective only) player and group at special kill-like events. Author: Ramses_II
Use it for Spell::EffectKillCredit and some dummy code.

--HG--
branch : trunk
2009-03-28 16:26:31 -06:00
megamage
a12682a3dd *Fix the visibility update bug of non-unit object.
--HG--
branch : trunk
2009-03-28 09:57:25 -06:00
megamage
ff83e4a9b1 *Fix some bugs of pet.
--HG--
branch : trunk
2009-03-27 22:47:28 -06:00
megamage
68c3039715 *Move most reputation/force faction reaction code to new ReputationMgr. Author: VladimirMangos
--HG--
branch : trunk
2009-03-26 13:53:32 -06:00
megamage
ebf53a4820 *Summon all creatures by summon properties.
--HG--
branch : trunk
2009-03-25 16:20:30 -06:00
megamage
c5969d6d03 *Make sure the a player can only have one viewpoint.
--HG--
branch : trunk
2009-03-24 13:13:00 -06:00
megamage
ba1fd0db90 [7527] Remove redundent arg from Player::EnvironmentalDamage Author: VladimirMangos
--HG--
branch : trunk
2009-03-24 09:44:08 -06:00
megamage
3888799d76 [7524] Removed commented code in Spell::EffectSendEvent() Author: Triply
--HG--
branch : trunk
2009-03-24 09:37:45 -06:00
megamage
7d9a71a6cf [7523] Fixed: players will now drop flag in battleground if they cast immunity buff on themselves. Author: `win
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).

--HG--
branch : trunk
2009-03-24 09:36:50 -06:00
megamage
ba957ed9f4 *Allow knockback creatures.
--HG--
branch : trunk
2009-03-23 15:26:13 -06:00
QAston
8af4e2dd42 *Fix a crash.
--HG--
branch : trunk
2009-03-23 15:39:40 +01:00
QAston
ce71c0e798 *Update dispel code and fix crash related to it. Thanks to megamage.
--HG--
branch : trunk
2009-03-23 01:54:50 +01:00
megamage
3c5a24f4cd [7516] Add form/mounting/self control loss limitations to 48505 and ranks. Author: Sarjuuk
--HG--
branch : trunk
2009-03-21 22:48:52 -06:00
megamage
b1e23bb904 *Auto enter vehicle for summon vehicle spells.
--HG--
branch : trunk
2009-03-21 17:59:05 -06:00
megamage
de849cc508 Small code cleanup and partial merge with dev branch Author: tomrus88
--HG--
branch : trunk
2009-03-21 14:53:38 -06:00
megamage
59ce40e484 *Remove dual ERROR in logs Author: AlexDereka
--HG--
branch : trunk
2009-03-21 14:28:02 -06:00
QAston
5eda38d76a *Merge EAIchnges from SD2.
--HG--
branch : trunk
2009-03-21 19:33:10 +01:00
QAston
5d8ef964cb *Fix Divine Storm.
--HG--
branch : trunk
2009-03-21 18:30:06 +01:00
megamage
a84e757793 *Update summon system. Show pet bar for guardians. Allow multiple charms/guardians.
--HG--
branch : trunk
2009-03-21 09:48:44 -06:00
megamage
f3a543bef3 *Do not delete charminfo for guardian.
--HG--
branch : trunk
2009-03-20 14:38:53 -06:00
megamage
d7e05e8003 *Fix some out-of-range array indices of totem slot and charm spell slot.
--HG--
branch : trunk
2009-03-20 14:23:25 -06:00
megamage
8f627853df *More work on summon system.
--HG--
branch : trunk
2009-03-20 14:01:46 -06:00
megamage
5b73a59f15 *Set totem slot to 4 but total summon slot to 6.
*Fix build.

--HG--
branch : trunk
2009-03-19 15:45:22 -06:00
QAston
c6f3532ada *Fix Area auras for target without a party.
*Fix Improved soul leech and correct procflags for soul leech.

--HG--
branch : trunk
2009-03-19 21:47:16 +01:00
megamage
a2392121f0 *Fix the bug that summon dbc is not read. Now creatures can be summoned.
*Make minipet as tempsummon instead of pet. Make totem as tempsummon.

--HG--
branch : trunk
2009-03-19 14:41:30 -06:00
megamage
4877009098 *Set seer back when it is removed to prevent crash.
--HG--
branch : trunk
2009-03-19 08:59:15 -06:00
megamage
281d20be0d *Allow spells to summon vehicles.
--HG--
branch : trunk
2009-03-18 21:39:09 -06:00
megamage
069552aeaa *Summon creatures based on general summon types.
--HG--
branch : trunk
2009-03-18 21:16:24 -06:00
megamage
9b08473d28 [7490] Implement expected multiply summon case support with proper duration for EffectSummonDemon Author: VladimirMangos
--HG--
branch : trunk
2009-03-18 20:47:26 -06:00
megamage
249d0d53c0 [7489] Update gameobject rotation fields if need. Author: VladimirMangos
* Fixed update absent in ".gobject turn" command
    * Propetly set rotation fields for summoned objects
    * Check rotation/coordinates fields values at server loading

--HG--
branch : trunk
2009-03-18 20:46:21 -06:00
QAston
55f2f1db17 * Apply aura SPELL_AURA_ABILITY_IGNORE_AURASTATE for damage bonuses.
--HG--
branch : trunk
2009-03-18 19:53:36 +01:00
megamage
3eba06e4ad *Use SpellCastResult and finaly fix SPELL_CAST_OK value (255 custom value now). By VladimirMangos.
--HG--
branch : trunk
2009-03-16 12:00:14 -06:00
megamage
2453f22123 *Merge.
--HG--
branch : trunk
2009-03-16 11:48:25 -06:00
megamage
61f519ca26 [7464] Move check of spell using for lock open to single function. Remove more hacks. Author: VladimirMangos
--HG--
branch : trunk
2009-03-15 17:54:24 -06:00
megamage
596e9b353a [7461] Give proper honor amount at item based AddHonor spells cast. Author: VladimirMangos
*The last rev is also by VladimirMangos, sorry.

--HG--
branch : trunk
2009-03-15 17:20:15 -06:00
megamage
9ef443c286 Replace hack code in Spell::EffectOpenLock by generic way for check lock key items/skills
--HG--
branch : trunk
2009-03-15 17:18:59 -06:00
Blaymoira
ccefda0578 *Rename some summon types
--HG--
branch : trunk
2009-03-15 19:25:44 +01:00
QAston
7a1e7c4f73 *Prevent possible crash.
*Remove obsolete Judgement of Righteousness coefficient-by cccyril

--HG--
branch : trunk
2009-03-15 18:02:10 +01:00
megamage
f9b14c221b *Fix a typo introduced in 1926 that causes crash.
--HG--
branch : trunk
2009-03-15 11:54:12 -06:00
Blaymoira
fd54371457 *Added: Summontype 1161
--HG--
branch : trunk
2009-03-15 13:16:57 +01:00
Blaymoira
a1d942b39f *Don't apply school silence for delayed/instant spells. - by _krz
--HG--
branch : trunk
2009-03-15 11:37:03 +01:00
Blaymoira
e70d6bf2c9 *Merge
--HG--
branch : trunk
2009-03-15 09:53:32 +01:00