Commit graph

6473 commits

Author SHA1 Message Date
faramir118
136c0ba618 [11902] Import Recast Navigation
Import Recast Navigation as third party dependency
Credits go to Mikko Mononen memon at inside dot org
2012-02-06 22:51:24 +01:00
Quriq14
97cb838de1 [11901] Prevent EVENT_T_TIMER_OCC to expire while evading
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-02-06 21:18:39 +01:00
stfx
02101dc111 [11900] Sync default range for Say and TextEmote
Sync default values in core to the values we pass by default in the config file

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-02-04 19:12:33 +01:00
Reamer
c4b061e894 [11899] Fix HandleListStabledPetsOpcode to work with spell-access to stable
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-02-04 18:24:37 +01:00
cyberium
35e991d70e [11898] Prevent resetting instances while offline players are in it
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 22:42:43 +01:00
cyberium
2836e704a8 [11897] Remove redundant call of ResetInstance - Raids cannot be reset at all
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 19:43:43 +01:00
Hundekuchen
ceeafd567c [11896] Implement spell 32960
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 19:17:59 +01:00
Forusim
ac2398aeb2 [11895] Implement spell 31447
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 19:17:51 +01:00
Schmoozerd
9dbd54ea19 [11894] Implement spell 21056 2012-01-31 19:17:38 +01:00
rsa
c9ead52e68 [11893] Fix copy&paste error from last commit - otherwise server will crash with first loaded player pet
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 14:42:02 +01:00
Schmoozerd
6aab5c1022 [11892] Really fix [11890]. This basicly reverts commit 11890
Remove the actually not required faction check in Player::GetNPCIfCanInteractWith - this is done by IsHostileTo a line before
Improve the Player-login AtWar selection to also consider forced reactions

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-31 00:16:21 +01:00
Xfurry
85309aa3c1 [11891] Implement aura handling for spells 61900, 62019
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-30 01:07:44 +01:00
Schmoozerd
3e552fc739 [11890] Fix Player::GetNPCIfCanInteractWith to consider forced reactions
This will fix ie quest 9410 A Spirit Guide

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-27 00:20:14 +01:00
pasdVn
0fe4f21b6a [11889] Improve handling of target mode TARGET_RANDOM_NEARBY_DEST
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-26 00:57:36 +01:00
Schmoozerd
f25e14fd9f [11888] Implement FLAG_DESPAWN_ON_EVADE for creature_linking.
Thanks to Xfurry for testing

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-25 23:27:27 +01:00
rsa
df9e0ebf6a [11887] Fix spell targeting for pet spells with target-type (0,0)
Also some style improvements

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-25 22:57:37 +01:00
rsa
d1a45fed71 [11886] Implement periodic aura effect of 58886
Research and original patch by Lopin
Thanks to tst12 for pointing

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-25 22:07:51 +01:00
Astoria
8aadf27964 [11885] Add spell_proc_event values for spell 72413
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-25 21:21:11 +01:00
Schmoozerd
5506b22b38 [11884] Fix missing cast from changes of 11880
Thanks to Rog360 for pointing

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-24 23:15:21 +01:00
Xfurry
d8466dc392 [11883] Implement spells 32300, 32301
Based on research done by Bugfix at SD2 forums
Also reorder a few case spell_id in this area

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-24 19:19:01 +01:00
C:/Program Files (x86)/git/dev/rsa
2c175f6d82 [11882] Improve a few functions related to Angle calculation
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-23 22:51:19 +01:00
Xfurry
de3bdc0ed0 [11881] Implement ScriptEffect of spell 49405
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-23 22:10:00 +01:00
Schmoozerd
71bdb8e5b6 [11880] Ensure that db saved values and values in memory are in sync
This fixes db-errors for npcs with random movement added with .npc add command.
Patch inspired by NoFantasy and MasterTomas
2012-01-20 02:58:42 +01:00
faramir118
eca3586d74 Fix some combat behaviour of NPC-Pets
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-20 00:42:59 +01:00
Schmoozerd
177bc78108 [11879] Inform AI function of original caster in some cases
Inform the AI of an original caster for JustSummoned and SpellHitTarget.
This should make scripting some hard cases easier.
Remark that _both_ caster and original caster will be informed (if they are different).

Check your scripts that they still behave as expected!
2012-01-19 00:05:38 +01:00
darkstalker
461be74c3a [11878] Add group looting rules for gameobjects (chests)
Patch based on original work by Wowka321

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-16 22:54:08 +01:00
virusav
16b244373a [11877] Remove check for quest_template if QuestSort and SkillId match
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-16 18:27:01 +01:00
virusav
14b001ff2a [11876] Fix table layout for creature_linking_template
Also change `spell_pet_auras` and `spell_script_target` default charset to utf8 as expected. Check your SQL Userguide for proper charset convertion, but this should not be required

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-16 17:59:53 +01:00
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
DasBlub
488aab562c fix typo in comment 2012-01-02 18:18:46 +01:00
stfx
22dd739fb0 [11874] Fix comment about PlayerUnderwaterState 2011-12-22 12:22:48 +01:00
Klark20
a8e3c9ac4d [11873] Enable gossip_menu_option scripts for all gossip options
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-22 12:12:09 +01:00
Schmoozerd
66167150bd [11872] Fix caster of triggered spell of 44883 - seems to be unique combination
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-21 23:59:44 +01:00
Schmoozerd
4989b48ffd [11871] Reorder caster/target selection for normal case in Aura::TriggerSpell
There is no reason to overwrite behaviour of custom code, also it is easier if caster/ target selection is done early to prevent unexpected changes after custom code
2011-12-21 23:31:50 +01:00
Schmoozerd
2a0a88c1e6 Update src/game/SpellAuras.cpp 2011-12-21 18:58:12 +01:00
breakwater
4324ffd7dd [11870] Implement spells 49555 and 59807
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-21 18:46:14 +01:00
Xfurry
8f95cbab1a [11869] Implement ScriptEffect of spells 49380, 59803
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-21 18:11:01 +01:00
Xfurry
6b8c38884d [11868] Implement DummyEffect of spell 54850. Original patch by Reve
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-21 18:07:24 +01:00
NeatElves
18679dbab1 [11867] Implement GOSSIP_OPTION_MAILBOX
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-21 14:21:55 +01:00
Schmoozerd
249fc30abc Edit src/game/SpellAuras.cpp - Fix spell name comment 2011-12-16 20:53:47 +01:00
DaC
92dc57ec85 [11866] Fix battleground kick for inactive players. Close pull request #29
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-16 20:29:11 +01:00
Schmoozerd
f5b94f00b5 [11865] Fix faction check for EventAI command ACTION_T_SET_FACTION to also check for faction template. 2011-12-16 19:12:42 +01:00
Klark20
bcc470ac43 [11864] Fix SCRIPT_COMMAND_SET_FACTION to check for expected Faction Templates and not factions
Please check your scripts! Note: Similar problems exist in other cases as well.

Signed-off-by: Klark20 <Klark20@online.de>
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-16 02:49:15 +01:00
Vinolentus
ad5755f8ef [11863] Fix possible SQL injection for .tele add command. Close pull request #22
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-12 21:41:16 +01:00
Reamer
396ce3b71d [11862] Do not overwrite channel spells with other channel spells. Close pull request #28
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-12 21:20:00 +01:00
stfx
e0d6952ad1 [11861] Prevent removing template bgs from visible bg list
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-12 15:44:05 +01:00
evil-at-wow
53206fbe26 [11860] Do not log item moves in guild bank log. Thanks to stfx for preparing the patch for master
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-12 15:24:59 +01:00
Schmoozerd
7d05ca0b79 [11859] Enable script command MOVE_TO to also change the orientation 2011-12-11 00:17:50 +01:00
Schmoozerd
fe79f593ca [11858] Implement ScriptEffect of spell 43375. Thanks to Klark20 for research
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-09 21:55:11 +01:00
Schmoozerd
adfa88d236 [11857] Fix sent level in trainer spell list - this fixes problems especially with druid trainers
* This allows to really  overwrite required level for spells
* Adds proper checks when buying
* Fixes default level requirement

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-05 22:58:24 +01:00