Commit Graph

5242 Commits

Author SHA1 Message Date
Aokromes
092c566ad3 Core/Scripts: improvements on the Thorim script
Improvements done to initial work by joschiwald:

- Fixed stormhammer casting and visuals
- Fixed spell credits
- Implemented removal of Impale when HP is higher than 90%
- Corrected faction templates for the pre combat creatures
- Implemeted Leap on the arena adds (thanks to joschiwald for implementing conditions)
- Scripted lighting charge using AuraScript periodic
- Fixed timings
- Corrections on the hallway encounters (added knockback immunity to minibosses too)
- Fixed multiple blizzards issue
- Lever will now reset properly, should players fail to get inside. This allows the door to be opened more than once during the combat
- Corrections in the outro event
- Implemented paralytic field traps on the hallway.
- Implemented Ancient Gate of the Keepers opening.
- Changed blizzard bunny targetting to conditions entirely.
- Removed obsolete scripts
- Standards: delete spell script names by ScriptName instead of spell_id
- Swapped factions for pre-adds (alliance should get horde trash and vs)
- Fixed Leap setting home position for adds
- Removed a bunch of magic numbers
- Runic Colossus should finish current Runic Explosion before beginning to attack
- Fixed UpdateAI logic to put it in line with other scripts (ie don't stop casts)

Special thanks to:
- chaodhib for the blizzard trigger waypoints and investigation on spell radius
- Malcrom for creating the Conditions Creator :P
2017-05-23 13:31:44 +02:00
joschiwald
364dfc9c4c Scripts/Ulduar: Initial implementation of the Thorim Encounter
Closes #7651

Fix logic fail in achievement:
SPELL_LIGHTNING_CHARGE aka 62279 is casted on Thorim itself to buff him, not the damage spell tracked by the achievement.
2017-05-23 13:26:10 +02:00
Aokromes
8020f4b6f5 Remove dead code 2017-05-07 06:51:21 +02:00
Aokromes
6a7f15ecf4 Scripts/Commands: Update reload commands names 2017-05-07 06:05:53 +02:00
Aokromes
0fbcdca05e Core/Collision: Replaced phasemask with proper phases in GameObject c…
…ollision calculation
2017-05-06 01:55:17 +02:00
Aokromes
bdac4421e2 Core/Scripts: fix Nightfall proc chance and reduce it for victims with level above 60 2017-05-02 02:59:58 +02:00
Aokromes
c015a5cf10 Core/Misc: camelize GetFaction/SetFaction properly 2017-05-02 02:02:31 +02:00
Aokromes
3aaadcfddc Fix non-PCH build. 2017-05-01 00:28:26 +02:00
Aokromes
3563af5c60 Core/Script: Fix low level class quest 2017-04-30 23:34:31 +02:00
Aokromes
b00f376482 Core/Scripts: Codestyle fixes 2017-04-29 15:43:11 +02:00
Aokromes
ad9636e916 Coding style 2017-04-29 10:51:23 +02:00
Aokromes
8b20c2bbf3 warning fix 2017-04-29 01:59:19 +02:00
Aokromes
44af529a0a Core/Scripts: Dwarf Start Area scripts
By Malcrom
2017-04-29 01:55:00 +02:00
ccrs
a17849bcfe Core/Unit: 2170541a51 followup
use true as default value since pretty much all the script calls will expect that
2017-04-28 12:57:38 +02:00
Keader
1a1fb6712c Core/Scripts: Re-hack Boss Loken. Followup 3a0cb90ea9
Loken still need ClearUnitState Hack to DoMeleeAttackifReady work
2017-04-28 12:57:27 +02:00
ccrs
8b62b4ff03 Core/CreatureAI: b6b0353bff followup 2017-04-28 12:57:06 +02:00
ariel-
e53e8b8437 Core/AI: some tweaks on boundary functionality:
- Moved SetBoundary to public scope to allow for greater flexibility (ie set from external script)
- Extended to allow checking inverted boundaries
2017-04-26 13:08:01 +02:00
Keader
68cadd6375 Core/Scripts: Added a missing break in Illidan Stormrage script
Thanks Jackpoz
2017-04-26 05:09:32 +02:00
ariel-
04466823e1 Core/Scripts: fix gaseous bloat proc (again)
- UNIT_STATE_CASTING removal not needed for movement now, but it's needed for melee attacking
2017-04-25 13:33:38 +02:00
Keader
504653e796 Core/Scripts: Fix a typo in Blood Prince Council
Thanks ariel-
2017-04-25 13:32:03 +02:00
ariel-
8e16897073 Core/Spell: define channels without movement interrupt flags as allowed move
- Remove script hacks no longer needed
2017-04-25 13:30:58 +02:00
tkrokli
efee8fcdc1 Core/Scripts: Willix the Importer - $n in aggro text
* In the existing core script, Willix the Importer in Razorfen Kraul says
"Help! Get this $n off of me!" (showing the $n part in his SAY text)
instead of naming the attacker when using his 'SAY_AGGRO1' creature_text.

* With this commit change, unit target is no longer missing for Talk,
making Willix name the attacking unit when he shouts for help.
2017-04-25 13:28:00 +02:00
Aokromes
ba894e8b70 missing change 2017-04-23 16:21:19 +02:00
Aokromes
48117444a8 DB/Misc: Drop no longer used table 2017-04-20 19:56:16 +02:00
Aokromes
7c16e39bd5 Missing part 2017-04-18 17:33:37 +02:00
Aokromes
0d61a6b512 missing part 2017-04-16 17:19:23 +02:00
Aokromes
6fef0d2eb2 Core/Trainers: Fix Multiprofession Trainers
By Malcrom, closes #61
2017-04-16 16:01:27 +02:00
ariel-
8053766776 Core/Scripts: fix dereferencing invalid iterator
Closes #19464
2017-04-16 11:48:27 +02:00
Aokromes
adae2fec26 Ensure that all actions are compared to fixed point in time (ie. world update start) 2017-04-14 15:02:49 +02:00
Aokromes
62db005d77 it's bad to trust logs 2017-04-13 09:28:33 +02:00
Aokromes
1ff90fe3d2 typo fic 2017-04-13 00:41:49 +02:00
Aokromes
43aecc42aa Commit name: Add flying check to MoveSmoothPath
By Malcrom
2017-04-12 23:21:58 +02:00
Aokromes
ab59c475d1 Script/Mage: Fix Arcane Missiles
By Malcrom
2017-04-12 23:14:47 +02:00
Aokromes
8e8ce39a2b Core/Misc: fix static analysis issues 2017-04-10 00:43:03 +02:00
Keader
3769b5d149 Core/Scripts: Baltharus the Warborn preincrement _cloneCount 2017-04-09 18:20:18 +02:00
Keader
ce2f7cd948 Core/Scripts: Baltharus the Warborn make clone count more readable
*Also fixed issue that make Baltharus summons alot of clones when he is casting
2017-04-09 18:11:37 +02:00
Keader
48a3bce712 Core/Scripts: Fixing Carbonion/Travis 2017-04-09 18:01:09 +02:00
Keader
de20b6eb80 Core/Scripts: Fixed Baltharus the Warborn clones
*Clones not working after wipe
*Changed Clone Action for a event (to check casting)
2017-04-09 18:01:00 +02:00
Keader
6e8345470e Core/Scripts: Typo in last commit 2017-04-09 18:00:43 +02:00
Keader
14332d61bf Core/Scripts: Fixed Volatile Ooze/Gas Cloud issues in Professor Putricide
Closes #18925
2017-04-09 18:00:34 +02:00
Aokromes
9b378447f8 Core/Entities: GameObjectDespawn packet is only sent for GameObjects 2017-04-02 07:57:21 +02:00
Aokromes
2d54defdf0 Scripts/Commands: Fix guid usage and enhance commands
- Fix targeting gameobjects and creatures for .dist and .gps. The old code used DB guid to search from core generated guid lists.
- Fix some error messages saying 'no player found' even if creatures and gameobjects and players were searched
- Change atoi to atoul when receiving lowguids as string or other uint32 values
- Use ObjectGuid::LowType instead of uint32 for lowguid type
- Allow .gob info to take in gameobject guid link as well as entry link in addition to gameobject entry and update the documentation of the command
- Change .gob delete to post the spawnid (dbguid) instead of the ingame generated guid (which is basically never seen or used by the player in any other commands that I see)
- Allow spawntimesecs to be negative when spawning a gameobject
- Disable searching by ingame spawn id in commands. (it makes little sense for a user to provide a number which is then attempted to be used as DB guid and non DB guid when both could have a match)
- Update .gob turn documentation to tell about possibility to provide orientation in command
- Correct the types in .gob add command result trinity_string
- Correct the creature search for .npc del
- Change .event to .event info
- Add .go offset command
- Remove the .go command for empty string (no subcommand given) because it just used .go xyz
- Extend .gob info to show size, faction, flags and model dimensions
- Remove some unnecessary casts
- Document .wp show better (first and last were not documented)
- Insert spawnid to .wp show info error message
- Fix spawntime printing for .gobject target
- Fix guid targetting for .npc set movetype
- Fix query by spawnid for .wp show info
- Fix deleting of existing waypoints when twice doing the command .wp show on
- Fix deleting of existing waypoints when doing the command .wp show off
- Change wpguid column in DB and in core to uint32, which is what the spawnid type is in core and db.
2017-04-02 07:41:03 +02:00
ariel-
66c0c634ad Core/AI: Build fix
- Stop exposing DoublePosition constructor versions, they're only used for internal representation
- Moved IsInBounds function to public scope
2017-04-01 07:06:53 +02:00
ariel-
d3151fed8c Core/AI: AreaBoundary refactor
- Added an auxiliary function IsInBounds to base CreatureAI
- Changed container to vector. Set had no sense because we're storing new pointers, they have different addresses even if the boundary is the same
2017-04-01 07:06:35 +02:00
ccrs
7ea5c422cb Core/Movement: 96f4c7c followup 2017-03-26 06:15:26 +02:00
Aokromes
9c5e580c17 Core/Scripts: minor fixes in boss_the_lich_king 2017-03-26 06:13:21 +02:00
ariel-
828101aa2b Core/Scripts: Updated Ulduar instance model
- Codestyle/indent fixes
- Added ObjectData for some GOs
- Added GetUlduarAI to creatures
- Fixed possible out-of-bounds access in boss_razorscale_controllerAI (boss AI number beyond allocated boss size)
2017-03-26 05:46:04 +02:00
Keader
9fb129a1ee Core/Scripts: Fixed wrong calculation of Aura of Desire
Closes #19322
2017-03-23 02:11:58 +01:00
Chazy Chaz
3f14e4e56e Core/Players: Rename "heroic character" to "death knight" 2017-03-20 16:52:23 +01:00
Aokromes
0016baf3bd DB/Misc: Sync some database fields no with 4.3.4 2017-03-20 14:01:02 +01:00