Michael Cook (mackal)
600866f573
Rewrite Bane and Elemental Dmg stuff and GetWeaponDamage (client version)
2016-01-16 18:29:17 -05:00
Michael Cook (mackal)
ad1c91f204
Fix bots
2016-01-16 17:52:21 -05:00
Michael Cook (mackal)
8f0d9015be
Fix rec/req level issues
2016-01-16 17:17:09 -05:00
Michael Cook (mackal)
281344b049
Add various GetItemStat totallers to ItemInst
...
The intent of these functions is to simplify various locations in the
code where we need to get a total of some stat on an item, including augs
and we can not just grab the total from the itembonuses struct.
This will also centralize where we need to add the powersource aug scaling
when we implement them. Since they will need the Purity stat from the
item it is in.
Notes:
- These functions recurse if the augments flag is true, which is false by
default to make it so you have to be explicit about recursing or not
- These functions don't take into account if you can equip or if you are
below recommended level, you will have to do that where you call these
functions.
2016-01-16 17:10:11 -05:00
Michael Cook (mackal)
d7e44643b5
Fix resist display issue for RoF/RoF2
...
These need to be found for the other clients
They are most likely a similar amount of bytes away from
the potionbelt in all clients
2016-01-15 17:20:48 -05:00
Michael Cook (mackal)
42f7e03b04
Fix typo in last commit
2016-01-15 17:00:10 -05:00
Michael Cook (mackal)
f33f3bd4f5
Fix Drakkin base resists and some missing class bonuses
2016-01-15 16:09:23 -05:00
Michael Cook (mackal)
3048eca5ad
Merge pull request #490 from AthrogatePEQ/master
...
Lua_Client::ClearCompassMark()
2016-01-12 22:56:18 -05:00
Michael Cook (mackal)
2cb58e9d02
Merge pull request #488 from daerath/master
...
* LightProfile_Struct::TypeToLevel. Incorrect comparision in case statement.
2016-01-11 12:34:44 -05:00
Michael Cook (mackal)
6fc5f8fba2
Fix stacking issues with SE_DamageModifier and SE_MinDamageModifier
2016-01-10 15:31:04 -05:00
Michael Cook (mackal)
2f129da08a
Add GetAttackDelay to lua's NPC API
2016-01-06 15:48:10 -05:00
Michael Cook (mackal)
17c45c8d36
Move triggered on cast things to after the spell
...
This appears how live does it
2016-01-06 13:30:50 -05:00
Michael Cook (mackal)
20f5c42c3e
Fix 60+ resist caps
2016-01-05 02:54:09 -05:00
Michael Cook (mackal)
5bcb9f0b35
Fix classic h2h dmg/delay also support for revamp
...
The revamp was implemented during SoF
Set Combat:UseRevampHandToHand to true to enable
2016-01-03 14:38:50 -05:00
Michael Cook (mackal)
05de206ace
Rework quiver haste
2016-01-03 01:58:37 -05:00
Michael Cook (mackal)
28848fa913
Merge pull request #486 from noudess/master
...
Added runspeed to #mystats window
2016-01-02 17:39:02 -05:00
Michael Cook (mackal)
3996a70037
2h DB should match client closer
...
I think the dev missed something when making it pretty for the forums
This should match it better.
2015-12-31 01:08:04 -05:00
Michael Cook (mackal)
e70b34f245
Merge pull request #482 from af4t/master
...
MSVC 2015 wants <algorithm> #included for std::min. If any other com…
2015-12-30 12:46:51 -05:00
Michael Cook (mackal)
7045581fdc
Cap big bags to 10 slots for now
2015-12-29 15:22:09 -05:00
Michael Cook (mackal)
c2c08b85f1
Merge pull request #481 from KinglyKrab/master
...
Added GetInstanceTimerByID(instance_id) to Perl and Lua.
2015-12-29 02:35:19 -05:00
Michael Cook (mackal)
3a7d7c727f
AA updates [skip ci]
2015-12-26 13:29:34 -05:00
Michael Cook (mackal)
c168d7b7b6
Fix macro hack? [skip ci]
2015-12-21 12:41:49 -05:00
Michael Cook (mackal)
7ad33f2445
Fix formatting
2015-12-21 12:33:32 -05:00
Michael Cook (mackal)
dfc5699403
Merge pull request #476 from KinglyKrab/master
...
Exported several Mob-based methods to Perl and Lua.
2015-12-19 19:54:17 -05:00
Michael Cook (mackal)
03592e58f9
Port EQMacEmu's Assist Aggro code
...
This code also allows you to toggle on Tick Pulling (Aggro:AllowTickPulling)
which was a pulling technique (exploit) fixed sometime in 2006
This code also implements assist caps to cut down on trains (5 by default)
Unsure if live what this number is (it exists) or if it's a per NPC basis
An NPC with Assist Aggro will not call for help, only NPCs with Primary Aggro will
2015-12-18 17:41:57 -05:00
Michael Cook (mackal)
f8867ea73d
Bump up initial aggro from Yell for Help to match initial aggro
...
I guess I forgot this one
2015-12-18 13:46:05 -05:00
Michael Cook (mackal)
488be05e0e
Add DB manifest for eqtime change
2015-12-17 19:50:33 -05:00
Michael Cook (mackal)
0fa5b8d3f2
Merge pull request #467 from Cilraaz/master
...
Old Race/Class Experience Mods
2015-11-20 14:00:03 -05:00
Michael Cook (mackal)
8464a0e3b5
Implement Guild Banks for RoF/RoF2
...
Everything appears to work, but please test!
2015-11-17 18:15:46 -05:00
Michael Cook (mackal)
525a39912f
Override Mob::GetEndurancePercent() for Merc
...
This allows their endurance to show in group!
2015-11-15 16:35:11 -05:00
Michael Cook (mackal)
7c4abcc68d
Fix int16 spell ID limit with items (click, procs, etc)
...
See issue #7 (Did we resolve it yet?)
2015-11-14 14:37:24 -05:00
Michael Cook (mackal)
78c75501f7
Reply to the request made on opening XTarget window
...
This allows the Extended Targets option in the EQ Menu to open the window
2015-11-10 03:27:30 -05:00
Michael Cook (mackal)
a6f6e18969
Implement cast restriction 700 (NPC only)
2015-11-03 18:43:47 -05:00
Michael Cook (mackal)
8d80f39ead
Fix copy paste error
2015-11-03 14:17:55 -05:00
Michael Cook (mackal)
63ae7ac315
Add Casting Restrictions to SE_CurrentHP (DoTs) buff processing
2015-11-03 14:16:36 -05:00
Michael Cook (mackal)
e7184f402d
Add Casting Restrictions to SE_CurrentHPOnce
2015-11-03 14:16:36 -05:00
Michael Cook (mackal)
835fbb81cb
Expand Casting Restrictions
...
Mostly to nerf HT, not fully implemented
2015-11-03 14:16:36 -05:00
Michael Cook (mackal)
21acd79acf
Fix procs that have end cost from consuming end
2015-11-02 17:58:35 -05:00
Michael Cook (mackal)
1dd911b150
Correct charm invis breaking
2015-10-30 16:45:34 -04:00
Michael Cook (mackal)
efeb80cc8b
Fix MGB not always turning off and make it work for discs
2015-10-14 16:36:38 -04:00
Michael Cook (mackal)
8ed255ad01
Fix expansionless AAs
2015-10-12 14:07:14 -04:00
Michael Cook (mackal)
9bff5baa1c
Nuked.
2015-10-08 13:36:04 -04:00
Michael Cook (mackal)
321fa9cd50
Merge pull request #457 from Cilraaz/master
...
Update to give client access to the proper AAs for the expansions all…
2015-09-30 13:30:44 -04:00
Michael Cook (mackal)
957aba7ae5
Fix Sinister Strikes calc
2015-09-24 19:39:36 -04:00
Michael Cook (mackal)
d0f9a14217
Revert "Fix likely dev typo in sinister strikes calc"
...
This reverts commit 72aaf56c79 .
2015-09-24 19:33:16 -04:00
Michael Cook (mackal)
72aaf56c79
Fix likely dev typo in sinister strikes calc
2015-09-20 03:58:21 -04:00
Michael Cook (mackal)
9408403a00
Fix damage bonus calculations
...
Based on dev quotes, nerfs Sinister Strikes
2015-09-18 19:50:48 -04:00
Michael Cook (mackal)
211462456c
More hate fixes
...
Refix double spell casting subtlety
Fix double spell casting subtlety for beneficial spells
Move 100 initial bonus to AddToHateList so melee get it as well
Lower prox aggro since the 100 bonus is in AddToHateList now
2015-09-17 01:46:40 -04:00
Michael Cook (mackal)
548701cba6
Fix int underflow error in disc reuse timers focus
2015-09-04 14:07:01 -04:00
Michael Cook (mackal)
0d3bd5988b
Fix issue when RemoveXTarget was called with a mob not on our XTargets
...
This could be better, but works for now
2015-09-04 12:12:29 -04:00
Michael Cook (mackal)
5126104fd6
Some crash fixes noticed on EQMacEmu
2015-09-03 20:42:35 -04:00
Michael Cook (mackal)
64deca11b2
Woops, gotta initialize the new flag
2015-09-03 03:05:50 -04:00
Michael Cook (mackal)
4ae02e5efe
XTargets will move auto entries up on removal like live
...
This also makes use of the bulk packet so not a crap ton of packets
generated.
2015-09-03 02:58:04 -04:00
Michael Cook (mackal)
7002ee184a
Merge pull request #451 from KinglyKrab/master
...
Fixed #npcedit rangedtype.
2015-08-28 15:19:38 -04:00
Michael Cook (mackal)
43586a33cd
Port PROX_AGGRO from EQMacEmu
...
If this ability is set, the NPCs will continuously add things to their
hate list while their engaged. If it's not set (default) they won't,
which is what the vast majority of NPCs do on live.
2015-08-26 16:20:56 -04:00
Michael Cook (mackal)
839b6e25d8
Fix "same spell line" optimization for same spell mana burns ...
2015-08-24 02:15:41 -04:00
Michael Cook (mackal)
39e35fa011
Temp solution for AE ramp crash
2015-08-21 03:09:27 -04:00
Michael Cook (mackal)
1d6a185f0f
Break "same spell line" optimizations for mana burns
2015-08-19 22:21:17 -04:00
Michael Cook (mackal)
60c6583c54
Fix readability [skip ci]
2015-08-19 14:44:46 -04:00
Michael Cook (mackal)
a4d0db8e0a
Implement the extra Wild Rampage/Rampage message (SoD+)
2015-08-15 00:34:10 -04:00
Michael Cook (mackal)
fe0758c984
Add EVENT_TICK for NPCs
...
This event fires at the start of the tick processing so we can
script on the actual tick.
2015-08-13 22:30:49 -04:00
Michael Cook (mackal)
1fc23beb78
Clear auto XTargets on WipeHateList
2015-08-12 23:36:59 -04:00
Michael Cook (mackal)
f46b88bbde
Merge pull request #447 from noudess/master
...
Fix snow so it ends correctly.
2015-08-08 19:28:00 -04:00
Michael Cook (mackal)
4a3701f05a
Merge pull request #449 from KinglyKrab/master
...
GetAccountAge() for Perl.
2015-08-08 19:26:30 -04:00
Michael Cook (mackal)
e0d65df4de
Fix #myskills crash
2015-08-06 20:29:55 -04:00
Michael Cook (mackal)
7fc8841a67
Fix AE Ramp iterator issue
2015-07-31 02:00:09 -04:00
Michael Cook (mackal)
b98bc207fb
Move AE Ramp back to 1 target until iterator invalidation issue is resolved
2015-07-31 01:46:16 -04:00
Michael Cook (mackal)
f380519803
Fix error with previous commit
2015-07-30 21:42:55 -04:00
Michael Cook (mackal)
0513f1ad5d
Default area rampage to unlimited targets
2015-07-30 21:26:51 -04:00
Michael Cook (mackal)
be459de555
Fix issue with adding spells via quest to an empty list
2015-07-27 01:20:21 -04:00
Michael Cook (mackal)
fb4cc70999
Correct some Aggro calcs
...
See updated post: http://www.eqemulator.org/forums/showthread.php?t=39819
Aggro:MaxStunProcAggro renamed to Aggro:MaxScalingProcAggro
2015-07-22 16:31:38 -04:00
Michael Cook (mackal)
c91374444b
Fix bard song hate
2015-07-18 01:01:27 -04:00
Michael Cook (mackal)
be16e558ff
Fix Spell Casting Subtlety for offensive spells
2015-07-18 00:58:02 -04:00
Michael Cook (mackal)
7cef9a05dd
Bump witness fail chance to 50
2015-07-18 00:57:10 -04:00
Michael Cook (mackal)
a245fceddd
Merge pull request #439 from KinglyKrab/master
...
New commands.
2015-07-16 22:39:34 -04:00
Michael Cook (mackal)
a52ab7ae48
Rework spell aggro based on http://www.eqemulator.org/forums/showthread.php?t=39819 <F37>
2015-07-16 22:38:32 -04:00
Michael Cook (mackal)
3cd474e960
Updated SpecialAbility lua constants
2015-07-12 23:37:43 -04:00
Michael Cook (mackal)
7909270527
Make sure we actually have the AA they're trying to cast
2015-07-09 02:44:55 -04:00
Michael Cook (mackal)
3c1b499485
Fix Expendable AAs
...
Thanks to ASan
2015-07-09 02:37:43 -04:00
Michael Cook (mackal)
3455d70ca2
Make SPECATK_QUAD uncheesable
...
Live seems to have w kinds of "quads" one is an innate DW
but people found out you could cheese them so luclin+ you can't anymore
so INNATE_DW you can give the NPC a 2h and they will stop quadding
QUAD they will accept the 2h but still quad
2015-07-07 17:20:37 -04:00
Michael Cook (mackal)
e70e11f86c
Merge pull request #436 from KinglyKrab/master
...
Bot command changes.
2015-07-06 16:55:52 -04:00
Michael Cook (mackal)
1e75b4ba77
Implement Triple Attack as a skill
...
See change log for more details
Optional SQL will max toons triple attack skills
2015-07-06 16:11:00 -04:00
Michael Cook (mackal)
1d29c873fb
Rewrite NPC combat rounds logic
...
See changelog.txt
2015-07-05 16:36:12 -04:00
Michael Cook (mackal)
70577584ab
Make SPECATK_QUAD == SPECATK_INNATE_DW when Combat:UseLiveCombatRounds is true
2015-07-05 03:33:16 -04:00
Michael Cook (mackal)
dcd1a07553
Fix issue with two hander for NPCs dual wielding
...
Cleaned up some other 2hander logic as well
2015-07-05 03:11:25 -04:00
Michael Cook (mackal)
d083262555
Fix clients offhand double attack check
2015-07-05 02:43:33 -04:00
Michael Cook (mackal)
fe97af4d89
Fix some issues with Rampage/AE Ramp
2015-07-05 02:27:51 -04:00
Michael Cook (mackal)
22efe33f9b
Correct the definition of "quading"
...
If you would like your NPCs to use the old rules, turn
Combat:UseLiveCombatRounds to false.
2015-07-05 02:05:50 -04:00
Michael Cook (mackal)
82fe15190b
Add CheckDoubleAttack for mobs
2015-07-05 01:37:14 -04:00
Michael Cook (mackal)
7c89ab3fec
Pull Mob mainhand/offhand attack rounds into their own functions
2015-07-05 01:15:46 -04:00
Michael Cook (mackal)
578bbf657a
Make Client::AI_Process in line with uncharmed
2015-07-05 00:46:37 -04:00
Michael Cook (mackal)
99620f8535
Add Mob/Client CheckDualWield functions
2015-07-05 00:45:46 -04:00
Michael Cook (mackal)
8d3d3d2af2
Add Dual Wield/Double Attack NPC skill overrides
...
The vast majority of mobs on live follow this path. The exception
appears most commonly with PC pets though. Eventually these should
be changeable in the DB.
2015-07-05 00:42:06 -04:00
Michael Cook (mackal)
49e9c9ee34
Reworked activated avoidance skills based on dev quotes
2015-07-04 02:13:26 -04:00
Michael Cook (mackal)
0372651613
Fix Bot::LoadAA
2015-07-03 17:42:31 -04:00
Michael Cook (mackal)
927a88cf96
Really fix class AA check
2015-07-03 02:31:12 -04:00
Michael Cook (mackal)
803fa48c05
Fix AA class check
2015-07-03 02:17:14 -04:00
Michael Cook (mackal)
ea18238a12
Some servers apparently relied on the HP update spam
2015-06-30 20:35:28 -04:00
Michael Cook (mackal)
009918cbd1
Fix songcap implementation
2015-06-27 22:43:00 -04:00
Michael Cook (mackal)
5a6685d129
Fix issue with AA cast mana consumption
...
AAs will now cast from slot "0xFF" instead of the itemslot
to avoid special behavior of items.
Mana reduction also moved down to the same place consumption takes
place like live.
2015-06-27 18:39:13 -04:00