Michael Cook (mackal)
e747ea851a
Fix issue with optional SQL [skip ci]
2018-02-11 17:39:12 -05:00
Michael Cook (mackal)
68d563c72f
Add optional file to implement global defiant tables [skip ci]
...
This is destructive and will delete the loottable_entries currently
holding defiant drops
The level ranges maybe a bit wrong, kind of hard to tell, but it should
be accurate enough
2018-02-11 13:26:00 -05:00
Michael Cook (mackal)
c5e4bb08f4
Implement global loot system Fixes #619
...
This should allow us to emulate lives global tables
The options available to filter tables are min_level, max_level, race,
rare, raid, race, class, bodytype, and zone.
race, class, bodytype, and zone are a pipe | separated list of IDs
2018-02-10 22:15:21 -05:00
Uleat
0b97db9fd2
Added some basic functionality to 'bot guard'
2018-02-08 16:46:43 -05:00
Michael Cook (mackal)
fb8873e77b
Fix for glm with GCC 7.3
...
Something similar will be in the next release of glm
2018-02-08 15:54:17 -05:00
Uleat
e943771945
More tweaks to bot jitter code
2018-02-07 22:40:45 -05:00
Uleat
05a3c4b2b8
Implemented pass-thru for Mob::CalculateNewPosition2(...) arguments 'fixZ' and 'calcHeading'
2018-02-07 18:47:42 -05:00
Michael Cook (mackal)
24b396e516
Fix /pet leader
2018-02-06 21:50:59 -05:00
Michael Cook (mackal)
cdd0b2de00
Bug fix for longer reuses
2018-02-06 13:13:13 -05:00
Michael Cook (mackal)
4096ee1f1e
Should dismount if mounted and casting and FD spell
2018-02-05 13:38:03 -05:00
Michael Cook (mackal)
f720e51585
Implement NPC Charm Stats
...
These combat stats an NPC will change to while charmed
2018-02-04 16:30:16 -05:00
Michael Cook (mackal)
c5c93bb2e6
Fix distance forget aggro drop not triggering events
2018-02-04 13:23:47 -05:00
Michael Cook (mackal)
85bafecc93
Command #repop will clear NPC spell cache now
2018-02-02 20:18:40 -05:00
Uleat
2ed185aa2c
Forgot unversioned script file...
2018-02-02 18:26:01 -05:00
Uleat
1b2316ad1f
Update for bot_spells_entries [ci skip]
2018-02-02 18:25:01 -05:00
Chris Miles
80ad3a8940
Merge pull request #702 from daerath/BugFix/RecipesIgnoreContainerSize
...
Bug fix/recipes ignore container size
2018-02-02 13:15:24 -06:00
Uleat
cef4928dd0
Tweak for rogue bot jitter code
2018-02-01 20:43:26 -05:00
Michael Cook (mackal)
ab65bb1d57
Update #showspellslist command
2018-02-01 19:03:42 -05:00
Michael Cook (mackal)
c21293e508
Fix issue with spells that didn't make sense to be innate
2018-02-01 18:55:16 -05:00
Michael Cook (mackal)
3c794cfc07
Add Support to define a valid HP range for NPC casting
...
These will allow us to define a valid HP range (HP of the caster) that
an NPC will cast a spell. For example NPC casting a defensive spell at
2018-02-01 18:34:07 -05:00
Uleat
d71dbd1751
Relocated 'stop movement' code into class Mob from class Bot
2018-02-01 05:38:10 -05:00
Uleat
8805021960
Re-worked Bot::AI_Process(); Added 'leash,' 'main assist' and 'combat abort' features
2018-01-31 19:31:09 -05:00
Uleat
dd2b12b517
Fix for 'MobAI_DEBUG_Spells >= 10' compile failure [skip-ci]
2018-01-31 17:46:28 -05:00
Michael Cook (mackal)
78f3a2aa64
Merge pull request #704 from noudess/master
...
Cleanup some rules that are no longer used anywhere.
2018-01-30 14:37:26 -05:00
Michael Cook (mackal)
03dbe47546
Skip distance check in mob spell AI for some target types
...
This should be good enough for now, some of the hatelist spells use 0
ranges for some reason :P
The client checks only a few target types for distance, we should
probably just match that eventually
2018-01-30 13:16:25 -05:00
Michael Cook (mackal)
13ad5e4b46
Lets ignore Z on distance hate removal until pathing doesn't suck
2018-01-30 12:53:58 -05:00
Michael Cook (mackal)
6716e580f3
Make npc_spells_cache a map fixes #705
...
Should probably add a way to clear the cache, but we didn't do that
before so I didn't bother.
2018-01-29 23:36:05 -05:00
Michael Cook (mackal)
5d9c8c8e27
Quick fix to allow dev work to still happen on npc spells
...
This will allow a bit of overhead while developing NPC spell sets
2018-01-29 15:18:47 -05:00
Michael Cook (mackal)
7bd5213be4
Skip buff stack check for innates SpellType_Nukes
2018-01-29 15:16:56 -05:00
Paul Coene
93ddf915a2
Cleanup some rules that are no longer used anywhere.
2018-01-29 14:48:10 -05:00
Michael Cook (mackal)
f8ce10472b
Rework some Spell AI so NPCs can have spammy spells
...
Lots of encounters in EQ will spam spells, like dragon fear is on a very
tight timer etc. In order to eliminate the need to script all of these
encounters AI spells with a priority of '0' will be treated as "innate
spells." Devs have used this term and it is what I believe they mean by
it.
You can run update npc_spells_entries set priority = priority + 1 where priority >= 0;
to disable the behavior.
2018-01-28 18:06:54 -05:00
Kinglykrab
ceb2b287bb
Fixed merchantlist probability.
...
NPCs were setting a singular chance value and each item was checking based on this value, making the probability field not a random chance per item.
This removes the probability field from NPCs, SetMerchantProbability() and GetMerchantProbability() and makes the probability field truly random chance.
Special thanks to ChaosSlayerZ for noticing the issue here: http://www.eqemulator.org/forums/showthread.php?t=41731
2018-01-27 19:08:15 -05:00
Kinglykrab
8e9fa38197
Added #reloadmerchants for zone-based merchant refreshing.
2018-01-27 18:19:48 -05:00
Daerath
5763672175
Merge branch 'master' into BugFix/RecipesIgnoreContainerSize
2018-01-27 12:17:39 -05:00
Michael Cook (mackal)
6ed3301110
Add some appearance Changing functions
...
These directly modify the values so we can script appearance on
pets/swarm pets. (Ex. Host of the Elements, some Vet AAs)
These functions are only really useful in EVENT_SPAWN since that's
before the appearance data is sent to the client and this will avoid
having to send a bunch of illusion packets.
2018-01-24 15:26:53 -05:00
Daerath
fbe456ed45
* If GetItem returns null when searching for a container item, we now default bagslots to 10 instead of aborting.
2018-01-21 17:28:27 -05:00
Daerath
518a5e8ab1
* Added test for null output of GetItem and log & return if the item cannot be found.
2018-01-21 15:49:15 -05:00
Daerath
008ac97a64
Merge branch 'master' into BugFix/RecipesIgnoreContainerSize
2018-01-21 10:18:10 -05:00
Daerath
7892fed6d9
* Combine container size is checked before displaying favorite recipes or when searching for a recipe. This fixes an issue where you could combine any recipe in a 2 slot container or in any container smaller than the number of required components.
...
* World containers that do not have ID values default to size 10 based as all world containers that are not transmitting ID values appear to have 10 slots.
2018-01-21 10:17:31 -05:00
Michael Cook (mackal)
6042410b4b
Fix duration on WakeTheDead
2018-01-20 19:19:40 -05:00
Michael Cook (mackal)
26532c03ac
Fix crash
...
Whoever made this using dynamic memory should be fired.
2018-01-19 23:28:07 -05:00
Uleat
0fa5053ad1
Merge branch 'master' of https://github.com/EQEmu/Server
2018-01-18 22:35:58 -05:00
Uleat
39a94dba0d
Fix for installer script bot schema failures
2018-01-18 22:34:23 -05:00
Michael Cook (mackal)
a440269c6b
Adjust the behavior of out of range aggro removal
...
This is a bit more accurate
2018-01-18 19:59:04 -05:00
Michael Cook (mackal)
a7310cba17
Export new special attack to lua too
2018-01-18 18:33:36 -05:00
Michael Cook (mackal)
b82100bcd7
Add IMMUNE_RANGED_ATTACKS
...
This makes them immune to archery/throwing
This also needs more work as comments state, but good enough for now
2018-01-18 18:30:29 -05:00
Michael Cook (mackal)
e7ce79261d
Add a timer to rate limit the hatelist check
2018-01-18 15:54:53 -05:00
Michael Cook (mackal)
d8bbb428d8
Add hatelist removal for far distances and time
2018-01-18 15:44:51 -05:00
Michael Cook (mackal)
7adc93d806
Fix zone failure messages on RoF+
2018-01-17 22:01:45 -05:00
Michael Cook (mackal)
62dcc188d1
Set bZoning to false in failure cases
2018-01-17 21:37:24 -05:00