Commit graph

256 commits

Author SHA1 Message Date
Schmoozerd
8068dcf6dd [11875] Update Copyright notice to year 2012
Start timemachine and a Happy new year to all!
2012-01-16 17:43:59 +01:00
stfx
09e331767d [11833] remove trailing whitespaces
Signed-off-by: SilverIce <slifeleaf@gmail.com>
2011-10-18 15:17:54 +03:00
Schmoozerd
0eff04c161 [11793] Add more features to SelectAttackingTarget
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-16 20:35:26 +02:00
Shauren
8e4c46ff2a [11785] Implement dungeon encounters (DBC part), thanks to rsa for porting it to mangos
Signed-off-by: Laise <fenrisse@gmail.com>
2011-09-04 13:15:22 +03:00
zergtmn
ba7ce1d7c3 [11655] Add script effect of spell 62678 and 62688
Target 91 may require further adjustments.
2011-06-19 22:00:41 +06:00
NoFantasy
4d5e6126fe [11570] Add enum SpellCastResultCustom, for future use with SPELL_FAILED_CUSTOM_ERROR
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-30 11:58:03 +02:00
VladimirMangos
3c0ca51db3 [11563] Add support mailbox access for npc with CREATURE_TYPEFLAGS_SQUIRE 2011-05-30 02:24:16 +04:00
Schmoozerd
0de4e302b3 [11558] Fixes and way work chnages for GO lock/interact state
* Not reset lock/interact state in instances (so until instance reset)
* Do unti-cheating checks for use attempts locked/non-intareactive GOs
* Implement SCRIPT_COMMAND_GO_LOCK_STATE for control lock/interact state of GOs from scripts.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-29 04:31:34 +04:00
TOM_RUS
4181b8f28b Added spell cast flags research. 2011-05-10 16:12:33 +04:00
darkstalker
070af93262 [11365] Implement SPELL_ATTR_EX3_CANT_MISS attribute. Should fix alot of 'too-often-missing' spells 2011-04-16 10:23:48 +03:00
VladimirMangos
adcb84a325 [11355] Use ArenaType enum instead raw values
* Drop duplicate ArenaTeamTypes
* Use enum type where appropriate
* More strict check integrity arena team data at loading.
2011-04-15 03:19:12 +04:00
VladimirMangos
6f34696350 [11332] Avoid use direct mechanic names in loop bounds for version portability. 2011-04-11 23:57:52 +04:00
zergtmn
4d262b593d [11301] Implement SPELL_EFFECT_CANCEL_AURA 2011-03-31 13:24:27 +06:00
VladimirMangos
d8b71eade1 [11253] Drop unused define GAMEOBJECT_FISHINGNODE_ENTRY 2011-03-15 23:49:22 +03:00
nos4r2zod
9adb955f2a [11147] Fix a potential exploit with multicast bars - allow place only totem spells in these slots
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-02-12 17:03:31 +02:00
VladimirMangos
47060fe4b1 [11137] Fixed crash at reset normal dungeon while map loaded.
* Map Persistent noe have direct pointer back to map if map loaded.
  That let simplify some code and avoid map search.
* Crash showup in result changes in code logic related to reset processing.
* Also fix more old bug with reset normal dungeon with not loaded map.
* Reverse MapPersistentState::HasRespawnTimes and MapPersistentState::HasBounds() results
  to expected for function names and update related calls.

Thanks to Schmoozerd for help in research problem.
2011-02-12 06:44:52 +03:00
Schmoozerd
8e68d1bcaf [11105] Melee attacks distance
Inspired by patch provided by Feanordev.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-03 01:25:32 +03:00
zergtmn
26dc35f356 [11082] Correct meaning of two threat/aggro related spell attributes
- SPELL_ATTR_EX_NO_INITIAL_AGGRO renamed to SPELL_ATTR_EX_NO_THREAT
- SPELL_ATTR_EX3_UNK17 renamed to SPELL_ATTR_EX3_NO_INITIAL_AGGRO
- Remove custom spell modifier from talent 30675 and ranks handler
2011-01-29 21:57:40 +05:00
Skirnir
75b4f75f4d [11066] Remove tail whitespaces.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-25 00:22:29 +03:00
Sarjuuk
a7bf12de71 [11050] Implement aura state AURA_STATE_BLEEDING (18)
Signed-off-by: zergtmn <zerg@myisp.com>
2011-01-20 03:26:00 +05:00
VladimirMangos
5e74d1e425 [11006] Move ShapeshiftForm to SharedDefines.h and fix build for *nix. 2011-01-14 11:48:43 +03:00
VladimirMangos
da228b707d [10972] Implement mass mail gm commands.
* New comamnds mirror related normal sedn commands:
   - send mass items
   - send mass mail
   - send mass money

* Instead player name it expect or numeric racemask or textual race/team name or 'all'.
2011-01-06 06:55:51 +03:00
VladimirMangos
bf0ecf6e71 [10947] Update copyright notice for 2011 year. 2011-01-01 20:33:43 +03:00
NoFantasy
f8921dbca8 [10928] Uncomment all races in enum Races
Race can also be creature race and needed for future implementation of spells.
RACE_UNDEAD_PLAYER renamed to more proper RACE_UNDEAD

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-28 19:53:01 +01:00
NoFantasy
7751579303 [10855] Add TARGET_AREAEFFECT_GO_AROUND_DEST(52) (renamed from TARGET_AREAEFFECT_CUSTOM_2)
Target selects all gameobject around destination, limited by adding spell with a corresponding gameobject entry in database table spell_script_target.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-11 10:34:46 +01:00
VladimirMangos
cc0655a402 [10782] Use Team enum types in all appropriate cases and catches bug in result fix.
* Fixed wrong arenaid use at leave arena queue.
* Fixed memory lost and etc at not virtual EndBattleground call
* Fixed crash at arena join with fake data from client.
* Code cleanups.
2010-11-25 01:11:17 +03:00
insider42
a34deecfc0 [10764] Implement talent 44543 and ranks charges work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also fix IGNORE_UNIT_TARGET_NON_FROZEN in part allow casting spell that required frozen target.
2010-11-21 05:32:17 +03:00
virusav
82505a8633 [10740] Cleanups in spell effects names.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-19 02:49:16 +03:00
tomrus88
76dfdd336f Backports from 400 branch. 2010-11-15 18:01:45 +03:00
VladimirMangos
9c96949da9 [10713] player/group instance binding fixes.
* Use anum instead raw uint8 type in args
* Fixed crash when gm at continent invite to group gm in instance
  and then teleport to instance using .goname.
  When group leader teleport to instance it must get group bind instead solo bind.
* In other semilar cases detection report error as before but replace solo by group bind instead
  assert crash at enter to map.
2010-11-10 04:36:01 +03:00
VladimirMangos
691412d05c [10636] Implement server side check combo points req. for spell cast.
Thanks to nos4r2zod for problem research.
2010-10-21 15:00:56 +04:00
NoFantasy
ba3578107a [10598] Create enum GameObjectDynamicLowFlags and use instead of hard coded
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-10-09 19:20:29 +02:00
nos4r2zod
96b317eea4 [10531] Spells with SPELL_ATTR_EX6_NO_DMG_PERCENT_MODS must ignore all damage mods
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-09-25 10:27:22 +04:00
VladimirMangos
72414ad03b [10450] Skip wrong guid movement packets.
Also fix src/game/SharedDefines.h line ends corrupted in prev. commit. :/
2010-09-06 18:35:03 +04:00
Darkrulerz
214c65baa1 [10449] Typos in enum names and comments
Also typos find by darkstalker and Neo2003

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-09-06 15:48:37 +04:00
NoFantasy
fb1e8c01ef [10270] Implement basic system for reputation spillover
* Database table needs data for each faction that should give spillover to other faction(s). One faction may give spillover to max 4 other spillover factions.
* The spillover rate is multiplied with the points after bonuses and reward rate is set, Rate is given as: 0.5 for 50% gain, -1.0 for 100% loss, etc
* It is possible to restrict spillover faction by rank. If player has a higher rank with the spillover faction given in database, no spillover will be given towards this faction

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-25 17:05:34 +02:00
VladimirMangos
464a841c81 [10183] Better tracking stack checks with include one not catched non-stacking case.
Spell 41446 expected to be non-stacking with other trackers.
2010-07-12 19:32:05 +04:00
VladimirMangos
6e3f51b1b6 [10182] Allow stacking some tracking bufs, and prevent stacking some other.
For example item 25548 buff expected to be allowed stacking
but spell 19885 not allowed.
2010-07-12 19:02:43 +04:00
NoFantasy
6b8e4ceee6 [10153] Add GOSSIP_ICON_* for id 11 to 20
Note that all may not be in use(or exist), and needs more research

Adjust one enum creature type flag to CREATURE_TYPEFLAGS_CAN_ASSIST
Adjust one enum item flags to ITEM_FLAGS_INDESTRUCTIBLE

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-05 11:57:01 +02:00
VladimirMangos
d81c9175d8 Update build checks for mangosd/realmd. 2010-07-02 05:34:27 +04:00
tomrus88
0a01d2bc6e Creature typeflags research. 2010-06-30 19:46:31 +04:00
tomrus88
2a2258445b I guess that will do the trick. 2010-06-29 18:19:41 +04:00
tomrus88
3c04496624 Merge remote branch 'origin/master' into 335 2010-06-13 15:47:10 +04:00
tomrus88
40b00f26fb Updated to latest PTR build. 2010-06-13 15:46:08 +04:00
VladimirMangos
64f959fb82 [10050] Implement apply non-trade slot item enchanting at trade complete.
Base at original patch provided by arrai.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-11 22:46:16 +04:00
tomrus88
299ac66fdb Merge remote branch 'origin/master' into 335 2010-06-08 15:52:30 +04:00
tomrus88
2a7cb0d17b Updated to latest PTR build. 2010-06-08 15:52:06 +04:00
VladimirMangos
adb09fd0f4 [9930] Move enum QuestTypes to QuestDef.h where it only used.
This is also fix build at GCC
2010-05-19 04:30:09 +04:00
Lynx3d
f492ee6794 [9903] Fixed build problem at *nix.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-15 23:41:42 +04:00
VladimirMangos
d3c34e93c9 [9879] Update battleground weekend world state at start/stop event. 2010-05-12 09:24:05 +04:00