Commit Graph
100 Commits
Author SHA1 Message Date
Machiavelli 9fd9031918 * More updating of iterator data types in loops. (Player.cpp fully done now)
--HG--
branch : trunk
2009-06-18 21:34:21 +02:00
Machiavelli 55301804d2 *Merge
--HG--
branch : trunk
2009-06-18 21:18:05 +02:00
Machiavelli 3c3a4a303d * More updating of iterator data types in loops, and fix a crash (sorry)
--HG--
branch : trunk
2009-06-18 21:16:25 +02:00
hunteee 8c141bc9ac *Fix CRLF.
--HG--
branch : trunk
2009-06-18 19:33:32 +02:00
hunteee c6c1284eb0 *Second part of previous commit.
--HG--
branch : trunk
2009-06-18 19:31:55 +02:00
hunteee c790caec69 *Add new line to end of sql files.
--HG--
branch : trunk
2009-06-18 19:24:22 +02:00
Kudlaty 38261d1967 Add despawning adds for pathelon script
--HG--
branch : trunk
2009-06-18 19:16:15 +02:00
Machiavelli eaad0ed0c8 * Fix typo
--HG--
branch : trunk
2009-06-18 19:04:17 +02:00
Machiavelli 22092752eb Merge
--HG--
branch : trunk
2009-06-18 18:53:40 +02:00
Machiavelli d0ab817a04 * More updating of iterator data types in loops
--HG--
branch : trunk
2009-06-18 18:53:09 +02:00
megamage 9e0e4e5e4d *Add debug log for modify personal rating.
--HG--
branch : trunk
2009-06-18 11:33:32 -05:00
Machiavelli 6b13edd6d1 *Merge
--HG--
branch : trunk
2009-06-18 18:30:11 +02:00
Machiavelli a4dafbf8ec * More updating of iterator data types in loops
--HG--
branch : trunk
2009-06-18 18:29:28 +02:00
megamage c52e7e801c *A temp fix of the bug that player sometimes cannot save inventory.
--HG--
branch : trunk
2009-06-18 11:24:33 -05:00
Kudlaty 1f871af996 *merge
--HG--
branch : trunk
2009-06-18 17:47:12 +02:00
Kudlaty c41e432834 Merge [SD2]
r1051 Fixed loot state for delrissa. Move open door to instance script and remove redundant lackey killed code. Correcting set enounter state == DONE. Some code cleanup/rename to clarify intent of use.
r1052 Respawn delrissa in case dead but party wipe after this point.
      Correcting a few Aggro() -calls/events and also use similar code for lackeys as in boss to put all in combat.
      Avoid initialize lackeys in case boss already dead.
r1053 Cleanup and apply sd2 code style in some parts of delrissa. Also remove most old commented code.
r1054 Simplify health check code for vexallus and move open door code to instance script.
r1055 Reactivate commented code about taxi path, related to quest 10870

--HG--
branch : trunk
2009-06-18 17:46:32 +02:00
megamage 4f10fa008d *Call item::removefromworld after unit::removefromworld to prevent crash.
--HG--
branch : trunk
2009-06-18 10:45:38 -05:00
Machiavelli 3a309abfab * In case of a 'for' loop, don't declare the iterator of a type that has a larger value range when the iterator can take a maximum value of a more efficient data type. (int to uint8 in most cases).
* Other minor cleanups, Null pointer checks etc.

--HG--
branch : trunk
2009-06-18 17:21:25 +02:00
Machiavelli 85e59ecd57 * Remove some unneeded typecasting to same class.
--HG--
branch : trunk
2009-06-18 16:28:25 +02:00
Kudlaty 5910425dd5 Merge [SD2]
r1046 Fixed misc bugs in various scripts:
      Initialize variables, correct indexes too big/small, correct local declaration of pointers already declared in outer scopes.
r1047 Fixed a few more, continued from previous commit.
r1048 Initialize variables for 4 more scripts.
r1049 Fixing more uninitialized variables in misc scripts.
r1050 Fixed memory leaks in delrissa script and few other possible crashes.

--HG--
branch : trunk
2009-06-18 16:12:09 +02:00
Kudlaty f5eb15c3e7 Add cmakelist to install FULL sqls
--HG--
branch : trunk
2009-06-18 14:30:19 +02:00
QAston 30d0b2ed5f *Fix raise dead spell - original patch by Astellar, thanks for some help in conversion for Azrael
*Correctly apply spell cooldown for spells with cooldown starting after pet unsummon.

--HG--
branch : trunk
2009-06-18 14:17:11 +02:00
Kudlaty 56620e0962 *merge
--HG--
branch : trunk
2009-06-18 14:05:26 +02:00
Kudlaty 8662fbb007 Merge [SD2]
r1041 Add support to respawn GO 164869. In addition, add placeholders to respawn 169243, 185168, 185169, 179703, 181366 and 193426
r1042 Remove limited/obsolete grid search for ancient gem in hyjal, replace with instance wide respawn of go (stored in instance script list)
r1043 Code cleanup in instance script for Kara
r1044 Added placeholder scripts for boss nazan/vazruden - Skip, we already have scripted that boss
r1045 Initialize variables in boss omrogg. Use different summon type for heads and fix possible crash. Some code cleanup and sd2 style applied.

--HG--
branch : trunk
2009-06-18 14:04:36 +02:00
Kudlaty dd7dc8b869 Merge [SD2]
r1038 Cleanup instance script for SSC, rename/reorganize for consistency and readability. - Skip
r1039 Added support for quest 1950 - rewrite script
r1040 Added ScriptedInstance function to respawn GameObject (go's with expected negative  in db-table) - Skip, already implemented

--HG--
branch : trunk
2009-06-18 12:49:18 +02:00
Kudlaty ee2945aac3 Take back changes in SSC.
Merge [SD2]
r1037 Correcting some details for shaffar and simplify code. Let movement expire when using blink ability. Fix some possible issues with summoned beacons.

--HG--
branch : trunk
2009-06-18 12:31:54 +02:00
Kudlaty 6f151ca4ea Merge [SD2]
r1036 Code cleanup for boss karathress and a few additional in vashj.

--HG--
branch : trunk
2009-06-18 11:01:38 +02:00
Kudlaty ce4a4c740a Merge [SD2]
r1031 Removed empty Aggro function from most scripts. - Skip(already deleted)
r1032 Correct spell id's for Leotheras, added enrage and some missing definitions for future dev.
Change movement generator when changing forms and reset threat.
Updated texts and summon correct npc. SD2 code style applied.
r1033 Added: Heroic support for all bosses in Dark Portal / Black Morras event.
Fixed: Timers and spells in Dark Portal / Black Morras bosses and other.
r1034 Correct spellIds for boss Vashj. Remove code from UpdateAI where better used in other functions (eg JustSummoned). Prevent channel generators from cast before boss actually reach destination in phase 2. SD2 code style applied.
r1035 Simplify SpawnAdds function in boss hydross

--HG--
branch : trunk
2009-06-18 10:47:39 +02:00
megamage bff6fbcf54 *A temp fix for the bug that weekly quests can be repeated without any limit.
--HG--
branch : trunk
2009-06-17 21:48:19 -05:00
megamage 3fab9ff35e *More fixes of scripts.
--HG--
branch : trunk
2009-06-17 19:23:17 -05:00
megamage 816247bfd3 *Fix some merged SD2 scripts.
--HG--
branch : trunk
2009-06-17 19:18:30 -05:00
megamage 1552a0ea19 *Fix the bug that players gain huge rating when losing a arena game.
--HG--
branch : trunk
2009-06-17 19:17:26 -05:00
megamage f5ad3bab62 *First do cleanup then removefromworld for player. This fixes some crashes.
--HG--
branch : trunk
2009-06-17 19:02:38 -05:00
megamage e84714fa9a [8038] More expect to be possitive dummy effects. Author: VladimirMangos
--HG--
branch : trunk
2009-06-17 18:42:45 -05:00
megamage 90e6a97d79 [8036] Move unneded defines from dotconfpp.h to dotconfpp.cpp Author: VladimirMangos
This will prevent unexpected redefines and unrelated files build problems.

--HG--
branch : trunk
2009-06-17 18:42:05 -05:00
megamage 6fd4113cda [8033] Update max vendor item list for client 3.x.x Author: VladimirMangos
--HG--
branch : trunk
2009-06-17 18:38:51 -05:00
megamage fe7c616b2d [8031] Move player update code to Map::Update. Author: Ambal
--HG--
branch : trunk
2009-06-17 18:37:53 -05:00
megamage a2f10c496f [8030] Fixed spell 64901 work and related target selection code refactoring. Author: VladimirMangos
* Replace 64904 by 64901 in spellbook and action bars.
    * Implement proper max mana percent buff
    * Implement proper target selection.
    * Move group/raid targets seelction code to functions for reuse code.

--HG--
branch : trunk
2009-06-17 18:35:40 -05:00
megamage 7e4fcb1793 *Now new arena team has both team rating and personal rating = 0. According to the change in 3.1
--HG--
branch : trunk
2009-06-17 18:19:08 -05:00
megamage 9676c5eddf *Fix a crash caused by boss_fathomguard script.
--HG--
branch : trunk
2009-06-17 15:44:18 -05:00
megamage 2d569883e6 *Add config option CheckDB to check if the contents in FULL folder are applied.
--HG--
branch : trunk
2009-06-17 14:09:17 -05:00
megamage cf99758b0b *Move all full sqls to a seperate folder.
--HG--
branch : trunk
2009-06-17 13:35:23 -05:00
megamage d805e89091 *Update creature melee damage calculation.
--HG--
branch : trunk
2009-06-17 13:34:49 -05:00
megamage d4a6a3d09d *Fix a bug that non-autocast area spell are set as cannot-cancel.
--HG--
branch : trunk
2009-06-17 13:34:05 -05:00
megamage 9b9bf9f3fe *Fix broken windows console command. By CRAZyBUg
--HG--
branch : trunk
2009-06-17 12:07:28 -05:00
Machiavelli e4e3cb8661 * Fix cooldown of Draw Whadows in Grandmaster Vorpil script, spotted by toward and Visagalis
--HG--
branch : trunk
2009-06-17 17:31:51 +02:00
Machiavelli d9057a8189 *Merge
--HG--
branch : trunk
2009-06-17 17:14:25 +02:00
Machiavelli 87790145c5 *Fix bug that Illidari Council is unlootable after succesfuly completing the encounter.
--HG--
branch : trunk
2009-06-17 17:13:30 +02:00
megamage e405e6f9ed *Fix a crash caused by mailed item deconstructor.
--HG--
branch : trunk
2009-06-17 09:57:22 -05:00
Kudlaty 0085745c42 Merge [SD2]
r1026 Added save/load to blood furnace instance script.
r1027 Remove manual summons and teleport for boss morogrim, replace with proper spells. Apply sd2 code style.
r1028 Replace SetUInt32Value for display id with function SetDisplayId.
r1029 Simplify spawn of adds for hydross and use combatStartPosition instead of hard coded values for radius check. SD2 code style applied.
r1030 Remove call Aggro in AttackStart and start use EnterCombat AI function.
Note Aggro will still be called like normal, but no longer required defined in scripts.

--HG--
branch : trunk
2009-06-17 09:39:50 +02:00
megamage fb26b41e33 *remove outdated eventai in script. they are in core now.
--HG--
branch : trunk
2009-06-17 01:03:21 -05:00
megamage c6765f9365 *Allow to force to respawn creatures.
*Save creature data for vehicles.
*Change some visibility update sequence of respawned creatures.
*Fix bugs of quest 12687: dark rider may not be on horse / horse cannot be used twice / horse does not respawn at correct phase

--HG--
branch : trunk
2009-06-17 01:01:39 -05:00
megamage 30195348ac *Do not allow cancel area autocasted auras.
--HG--
branch : trunk
2009-06-17 00:58:06 -05:00
Kudlaty e62c77fb1d Merge [SD2]
r1021 Remove ScriptedAI boolean InCombat and use real combat state instead where check is needed.
r1022 Added new ScriptedInstance function, DoUseDoorOrButton() for future use in instance scripts.
r1023 Updated instance function DoUseDoorOrButton with additional variables. Remove some older code and replace to use new function.
r1024 Fix typo in previous commit. - Skip
r1025 Added instance script for blood furnace and make bosses set instance data. Some code cleanup - only some code cleanup

--HG--
branch : trunk
2009-06-17 07:16:40 +02:00
Kudlaty 3c502513b0 Merge [SD2]
r1017 Remove no longer needed functions used in instance scripts. Some additional code cleanup.
r1018 Remove redundant calls to InterruptNonMeeleSpells() and use true in CombatStop() calls instead where needed.
r1019 Fixed: use correct isInFlight check for item 34475 - Skipp already implemented
r1020 Restore work of three scripts after recent changes in AI about AttackedBy(), also some additional code cleanup.

--HG--
branch : trunk
2009-06-17 03:35:23 +02:00
Anubisss 5547366ce3 *Allow horde characters do quest Cluck! by Thraxx.
--HG--
branch : trunk
2009-06-17 03:05:40 +02:00
megamage 48a0373e98 *remove some outdated spells in sql.
--HG--
branch : trunk
2009-06-16 19:38:16 -05:00
Anubisss 79dd0f345d *Fix quest Custodian of Time's script by Azrael.
*and use Player(with GetPlayer()) pointer instead of Unit in the script.

--HG--
branch : trunk
2009-06-17 02:19:23 +02:00
Kudlaty eba1debc3e Merge [SD2]
r1016 Restore build and simplify code.

--HG--
branch : trunk
2009-06-17 02:02:38 +02:00
QAston 9bb07ab5a9 *Use amount check instead of positivity check for aura effects.
*Fix Overkill and Master of subtlety.

--HG--
branch : trunk
2009-06-17 01:12:40 +02:00
megamage d906ea05d6 *Add a crashlog before an assert.
--HG--
branch : trunk
2009-06-16 17:58:44 -05:00
QAston ab06dcc442 "*Fix Kindred Spirits.
*Fix typo causing auras SPELL_AURA_MOD_ATTACK_POWER_OF_ARMOR to modify ap with too big amount.

--HG--
branch : trunk
2009-06-16 22:46:17 +02:00
megamage 7b3d740749 *Do not give rating if two groups from the same arena teams fight against each other. (This is a temp fix. They should not even begin the battle)
--HG--
branch : trunk
2009-06-16 12:25:18 -05:00
megamage 726e686f08 *Cleanup of scripts.
--HG--
branch : trunk
2009-06-16 11:45:33 -05:00
Machiavelli bd054b8453 *Merge
--HG--
branch : trunk
2009-06-16 18:40:57 +02:00
Machiavelli e6c3d54e26 *Prevent guild members promoting other members to the rank of the person who is promoting by spam-clicking the promote button.
--HG--
branch : trunk
2009-06-16 18:40:11 +02:00
megamage 560ca5a210 *Fix build.
--HG--
branch : trunk
2009-06-16 11:28:53 -05:00
megamage dc2128a503 [8029] Correct show spell charges/stack amount Author: DiSlord
--HG--
branch : trunk
2009-06-16 11:26:58 -05:00
megamage f614d0e506 *Check procSpell for SPELL_AURA_MOD_SPELL_CRIT_CHANCE in ProcDamageAndSpellFor. By Author: Tanatos
--HG--
branch : trunk
2009-06-16 11:23:12 -05:00
megamage 3cf2be6042 [8026] Obtain object's map directly by calling appropriate WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests. Author: Ambal
--HG--
branch : trunk
2009-06-16 11:19:59 -05:00
megamage aaec3c8191 [8024] Implement SPELL_AURA_MOD_ATTACK_POWER_OF_ARMOR(285). Author: Beaste
Also drop outdated support code for 61216 and ranks.
    This implement work talents 61216 and 48978 with ranks.

--HG--
branch : trunk
2009-06-16 11:02:37 -05:00
QAston 0916d5f189 *Author of latest commit is CRAZyBUg - sorry for forgotting to mention that.
--HG--
branch : trunk
2009-06-16 17:41:22 +02:00
QAston 1105f47b34 *Fix Flametongue Weapon.
--HG--
branch : trunk
2009-06-16 17:39:51 +02:00
QAston b2745bd33c *Merge
--HG--
branch : trunk
2009-06-16 16:35:12 +02:00
QAston 2e6db5421e *Fix aura type 280.
--HG--
branch : trunk
2009-06-16 15:29:07 +02:00
Anubisss 36bd1172bd *Fix a typo in a SQL.
--HG--
branch : trunk
2009-06-16 15:21:00 +02:00
QAston 5640864845 *Implement AURA_STATE_BLEEDING
*Correct proc requirements for: Decimation, Impact Juggernaut
*Fix Hunger For Blood.

--HG--
branch : trunk
2009-06-16 13:24:42 +02:00
QAston 8f8bc70afb *Fix some mana regeneration items - by FearX
*Fix judgement of Justice.

--HG--
branch : trunk
2009-06-16 11:48:41 +02:00
megamage 5baa0f11d0 *Merge. (all skipped)
--HG--
branch : trunk
2009-06-16 00:13:53 -05:00
megamage efb5e850f9 *rename a tc1 sql.
--HG--
branch : trunk
2009-06-16 00:09:16 -05:00
megamage 9049233629 *Merge.
--HG--
branch : trunk
2009-06-16 00:07:17 -05:00
megamage 74e4f3f059 *Merge.
--HG--
branch : trunk
2009-06-15 23:38:57 -05:00
megamage cc527c884e *Merge.
--HG--
branch : trunk
2009-06-15 23:35:55 -05:00
megamage 3468424a7b *Merge.
--HG--
branch : trunk
2009-06-15 23:22:07 -05:00
megamage 9286711d4f [8022] Update spell 53301 and ranks damage formula. Author: XTZGZoReX
--HG--
branch : trunk
2009-06-15 23:20:38 -05:00
megamage e489988bf4 [8021] Implement triggering part of shaman talent 51483 and ranks. Author: Beaste. sql by QAston
--HG--
branch : trunk
2009-06-15 23:17:48 -05:00
megamage 208fbe220d [8018] Implement EVENT_T_BUFFED and EVENT_T_TARGET_BUFFED for creature EventAI. Author: VladimirMangos
Its can be used for check specific spell auras stack size for event triggering.
[8017] Always reset creature EventAI phase at creature death.

--HG--
branch : trunk
2009-06-15 23:10:06 -05:00
megamage 00f4a31b73 [8016] Work at npc click table data use. Author: VladimirMangos
* New fields in `npc_spellclick_spells` for allow set npc spell click mode from quest to infinity
      or to another quest, or from reward quest.
    * Not expect (and forbid set UNIT_NPC_FLAG_SPELLCLICK in DB and set it at `npc_spellclick_spells` loading.
    * Apply some speedups for creature checks affected by spel click state

*Also add target position of 51852. By Roland

--HG--
branch : trunk
2009-06-15 23:07:43 -05:00
QAston 32bbf26f23 *Update diminishing returns to 3.1.3
*Correct diminishing return for Entangling Roots and Frostbite - by Larva.

--HG--
branch : trunk
2009-06-16 02:26:40 +02:00
cca220v a013b9b55c *Remove 2 not needed files from CMakeLists.
--HG--
branch : trunk
2009-06-16 02:03:59 +02:00
megamage 572a9191d9 *Some creature display id update. By VladimirMangos and GriffonHeart
--HG--
branch : trunk
2009-06-15 18:02:12 -05:00
Machiavelli b7d218febc * Tabs to spaces in the entire TrinityScript project. Please set your text editing settings to insert 4 spaces upon tabbing.
--HG--
branch : trunk
2009-06-16 00:55:22 +02:00
Machiavelli 010e39b1b4 *Merge
--HG--
branch : trunk
2009-06-16 00:51:42 +02:00
Machiavelli a9c75c023b *Update Blood Furnace script; correctly set instance data and correctly manage doors upon boss kill. Based somewhat on the original script by Paytheo.
--HG--
branch : trunk
2009-06-16 00:51:09 +02:00
megamage 9c33d4ed3c [8014] Fixes and cleanup in error messages at skill_discovery_template loading. Author: NoFantasy
--HG--
branch : trunk
2009-06-15 17:05:27 -05:00
Machiavelli ef28e35c89 *Merge
--HG--
branch : trunk
2009-06-15 23:59:27 +02:00
Machiavelli 6ad7da569c *Integrate TicketMgr with ObjectMgr and clean up assosciated code. More features concerning ticket system are to be added soon. Please report any issues, thanks.
--HG--
branch : trunk
2009-06-15 23:58:29 +02:00
QAston 9edc94f092 *Fix Berserk target bonus for mangle(bear)
--HG--
branch : trunk
2009-06-15 22:59:02 +02:00
QAston f1c20f3d7a *Correct typo in latest commit.
--HG--
branch : trunk
2009-06-15 22:34:31 +02:00
QAston 81333d8dce *Fix Honor Among Thieves
*Fix Turn the Tables.

--HG--
branch : trunk
2009-06-15 22:27:39 +02:00