Michael Cook (mackal)
b5e9c0f996
Fix PVP arenas
2018-02-12 19:42:09 -05:00
Michael Cook (mackal)
d2360753fb
Fix issue with optional SQL [skip ci]
2018-02-11 17:40:49 -05:00
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
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
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
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
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
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
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
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
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
Michael Cook (mackal)
aa1114c387
Rename Client::zoning to Client::bZoning
2018-01-17 21:37:24 -05:00
Michael Cook (mackal)
42d3a7e4f6
Merge pull request #684 from daerath/feature/Dae-ModernAAXP
...
Feature/dae modern aaxp
2018-01-15 22:27:20 -05:00
Michael Cook (mackal)
af02b9f958
Add json config examples
2018-01-15 22:02:52 -05:00
Michael Cook (mackal)
d18fb730ec
Don't increment the xtarget count on feign memory
2018-01-13 01:14:32 -05:00
Michael Cook (mackal)
760ba01e6b
Update a comment
2018-01-10 22:34:57 -05:00
Michael Cook (mackal)
7559d96a0e
Merge pull request #692 from noudess/master
...
Allow trading nodrop to pets via new rule.
2018-01-10 14:02:43 -05:00
Michael Cook (mackal)
057823e4c1
Merge pull request #691 from noudess/master
...
Add rule to use ClassicBackstab (no mob fronttab)
2018-01-10 13:35:21 -05:00
Michael Cook (mackal)
50cc093250
Merge pull request #690 from noudess/master
...
Level was missing from Spell error message.
2018-01-10 13:15:50 -05:00
Michael Cook (mackal)
279cd4660d
Merge pull request #687 from noudess/master
...
Removed pets from Witness Heal Aggro.
2018-01-09 18:11:28 -05:00
Michael Cook (mackal)
4b612400da
Merge pull request #683 from noudess/master
...
Adjust xp loss on death if using the level_based_mods.
2018-01-09 17:17:17 -05:00
Michael Cook (mackal)
c1ad00cbc6
Fix where SE_ExtraAttackChance happens
...
Improved AA descriptions say this is after a successful double attack
2017-12-23 22:55:45 -05:00
Michael Cook (mackal)
6686346473
Implement July 24, 2002 pet resist changes
2017-12-23 22:48:21 -05:00
Michael Cook (mackal)
0356c0a891
Refactor getting resist value out to a function
2017-12-23 22:35:05 -05:00
Michael Cook (mackal)
8af4730ddf
Merge pull request #680 from shea851/xtarget_fix
...
Fix for Xtargets not being populated when pet initiates aggro.
2017-12-22 18:39:05 -05:00
Michael Cook (mackal)
9af9deb0f5
Attempt to fix disc issue when client has no buff but server still does
...
This is kind of hard to test, but it is what the client is doing
2017-12-15 18:42:21 -05:00
Michael Cook (mackal)
477ba3f4b9
Apply HotZone for AAs
...
Ahh is this the right spot? No idea :P
2017-12-15 01:47:45 -05:00
Michael Cook (mackal)
55f1767001
Add confirmed OP_MoveMultipleItems structs
...
Pretty sure SoF-UF are the same, but I haven't verified that yet
2017-11-30 16:50:10 -05:00
Michael Cook (mackal)
f8b924c262
Identified other OP_MoveMultipleItems opcodes
...
Older clients don't actually ever send this but they do accept it
2017-11-26 18:51:27 -05:00
Michael Cook (mackal)
e19b7bd368
Start work on OP_MoveMultipleItems (RoF+)
...
Currently it just kicks to prevent desyncs
2017-11-25 23:57:15 -05:00
Michael Cook (mackal)
52d31a6846
Make high STR race rez effects a rule
...
They stopped using this one at some point it seems
2017-11-19 01:45:05 -05:00
Michael Cook (mackal)
da163be8db
Fix auto complete error
2017-11-10 00:06:50 -05:00
Michael Cook (mackal)
e928046a95
Add guild tribute slot for legacy stuff
2017-11-10 00:04:33 -05:00
Michael Cook (mackal)
3eaa0b4fb1
Don't need to garble for language, client does
...
Maybe older clients need it?
2017-11-09 13:31:04 -05:00
Michael Cook (mackal)
37bedfe9ba
Move PetHoTT to NPC::SetTarget for charmed pets
2017-11-04 01:27:41 -04:00
Michael Cook (mackal)
df0004c1b0
Another fix for GetHaste for pets
2017-11-04 01:08:55 -04:00
Michael Cook (mackal)
24e4730204
Whoops, we do haste differently
2017-11-04 00:39:54 -04:00
Michael Cook (mackal)
7d12382333
Fix NPC/Pet haste caps
2017-11-04 00:33:30 -04:00
Michael Cook (mackal)
bc348dadad
Merge pull request #668 from regneq/master
...
Trap overhaul ported from takp
2017-10-29 13:18:57 -04:00
Michael Cook (mackal)
982c078926
Merge pull request #665 from joeyw/fix-weapon-proc-level
...
Change weapon proc req. level to Level2 property
2017-10-25 18:42:32 -04:00
Michael Cook (mackal)
50d5f3785c
Send caster name in buff packets for UF+
...
Currently the names only show for inspecting via Target Window because
we send buff packets in the wrong order and there is a dependency on
them being correct for self that isn't present for target window.
2017-10-24 00:02:49 -04:00
Michael Cook (mackal)
199dd7d618
Fix missing round kick dmg calc
2017-10-20 17:01:39 -04:00
Michael Cook (mackal)
4e9c3e19d2
Fix some XTarget FD issues
2017-10-16 01:25:14 -04:00
Michael Cook (mackal)
0f1ca0856c
Fix mana regen issue with old skill progression
2017-10-15 21:35:03 -04:00
Michael Cook (mackal)
75e60b7f8e
Area Regen functions shouldn't send to all
2017-10-09 01:08:01 -04:00
Michael Cook (mackal)
64d39134b9
Fix issues with Mob::TryTriggerOnValueAmount
2017-10-09 00:18:33 -04:00
Michael Cook (mackal)
414cafdbed
Add OP_AddNimbusEffect
2017-10-09 00:04:43 -04:00
Michael Cook (mackal)
f566cba56a
Add Area Regen functions to Lua
2017-10-08 21:43:16 -04:00
Michael Cook (mackal)
8400994c57
Rework regens to match modern clients
2017-10-08 00:13:53 -04:00
Michael Cook (mackal)
f8a4f2e6bd
Merge pull request #662 from noudess/master
...
Rule to dictate if you can teach yourself lang.
2017-09-24 18:07:41 -04:00
Michael Cook (mackal)
8c9b852586
Fix food/drink to match live
2017-09-19 02:01:06 -04:00
Michael Cook (mackal)
9634bef7fc
Identify Stackable and Lore in OP_AdventureMerchantResponse
...
Thanks eqmule!
2017-09-17 21:33:58 -04:00
Michael Cook (mackal)
240f04eda7
Implement fleeing stun
2017-09-04 02:10:10 -04:00
Michael Cook (mackal)
7b4c130e0a
Switch local saved "animation" to signed
...
This variable is really the SpeedRun but packed as an int ...
2017-09-03 15:02:36 -04:00
Michael Cook (mackal)
7e3fdee86c
Fix Life Burn from killing you
2017-09-03 02:04:25 -04:00
Michael Cook (mackal)
4e7870c634
Don't set reuse timer in UseDiscipline in case CastSpell fails
2017-08-30 15:17:02 -04:00
Michael Cook (mackal)
487dcc4459
Tweak down spellend_timer for delaytimer
...
400 ms is far too aggressive for normal game play
Set to 10 ms to hopefully not get in the way of legitimate game play
Also, why do we even do this? As far as I can tell, we need this to be
less than the users ping to not cause issues. What are the actual
reasons we do this and what can we do differently to solve them?
2017-08-30 14:35:01 -04:00
Michael Cook (mackal)
2146489740
Add rest of the avoidance skills to AA bonus
2017-08-26 00:15:01 -04:00
Michael Cook (mackal)
3746128014
Fix SE_IncreaseBlockChance stacking
2017-08-26 00:12:47 -04:00
Michael Cook (mackal)
ca32e35ef6
More Zone struct commments
2017-08-26 00:12:34 -04:00
Michael Cook (mackal)
bb8c6da0b4
Update comment [skip ci]
2017-08-08 14:03:04 -04:00
Michael Cook (mackal)
d5699fb68d
Flush out RoF2 NewZone_Struct
2017-08-04 16:43:45 -04:00
Michael Cook (mackal)
28fca1f8dc
More OP_SpawnAppearance types
2017-08-01 20:14:10 -04:00
Michael Cook (mackal)
935dc7d8fb
Add more OP_SpawnAppearance types (RoF2 at least)
2017-08-01 19:57:30 -04:00
Michael Cook (mackal)
771c3b175e
Fix AffectedBySpellExcludingSlot
2017-08-01 13:09:18 -04:00
Michael Cook (mackal)
2286203123
Fix invis in spawn structs
2017-07-29 23:31:47 -04:00
Michael Cook (mackal)
210655ddc7
More SpawnStruct comments
2017-07-29 19:15:27 -04:00
Michael Cook (mackal)
034ebab064
Fix some comments
2017-07-29 18:47:35 -04:00
Michael Cook (mackal)
e32b6c55e4
Add enum GravityBehavior (FlyMode) from MQ2
2017-07-29 18:23:42 -04:00
Michael Cook (mackal)
4f016de277
More comments to RoF2 Spawn Struct
2017-07-29 18:15:56 -04:00
Michael Cook (mackal)
02b7e3fafb
Comment spawn struct for RoF2
...
These should change anything, just useful comments for clean up
2017-07-29 15:37:35 -04:00
Michael Cook (mackal)
0b11340c4e
Forgot show_name for mercs too
2017-07-26 00:58:46 -04:00
Michael Cook (mackal)
f6f3060c9d
Fix trap removal
2017-07-24 22:58:58 -04:00
Michael Cook (mackal)
6bf2cf8cb8
Fix aura removal
2017-07-24 22:51:00 -04:00
Michael Cook (mackal)
a0140ff943
Fix client UI when auras expire
2017-07-24 15:27:33 -04:00
Michael Cook (mackal)
df1e486df6
Fix isquest issue with SQL
2017-07-24 14:35:22 -04:00
Michael Cook (mackal)
a0cfba5b3e
Fix show_name for bots
2017-07-24 12:32:58 -04:00
Michael Cook (mackal)
0624667572
Fix SQL
2017-07-22 21:54:40 -04:00
Michael Cook (mackal)
07c80f9560
Fix SQL
2017-07-22 21:52:51 -04:00