Commit Graph

5248 Commits

Author SHA1 Message Date
ariel-
c62077237d Core/Spell: restore old proc system behaviour on auras self proc. 2017-05-04 02:21:58 +01:00
ariel-
b7b69b88ba Core/Unit: damage immune improvements 2017-05-04 01:48:16 +01:00
ariel-
04b562418e Core/Spell: make a distinction between triggered flags with debugging purposes, and don't use them when casting triggered spells 2017-05-04 01:27:22 +01:00
ariel-
3d9c4fd3fc Core/Spells: use DamageInfo struct to calc spell absorbs and resists, and use calculated proc hitMask on aura ticks 2017-05-04 01:07:05 +01:00
ariel-
a6b4f239a4 Add some DamageInfo null checks 2017-05-04 00:17:13 +01:00
ariel-
a7a024d1d6 Core/Auras: reset periodic aura timers by default. Except when aura comes from triggered spell 2017-05-03 23:51:47 +01:00
ariel-
91c4b5edb0 Core/Scripts: add even more headers 2017-05-03 23:43:57 +01:00
ariel-
627a285a71 Core/Scripts: add more headers required for NoPCH 2017-05-03 23:43:45 +01:00
ariel-
baf1f027c1 Core/Scripts: add headers required for NoPCH build 2017-05-03 23:39:34 +01:00
ariel-
a40b85f8b2 Core/Scripts: convert some instance/item spells to scripts 2017-05-03 23:37:32 +01:00
ariel-
51f26dfe51 Core/Spells: Implementation of QAston proc system 2017-05-03 20:08:08 +01: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