KayenEQ
2cf2ef4fac
Fix to check if weapon actually has a valid proc before trying to proc it.
2015-03-10 00:33:11 -04:00
Alex
aaa9595b59
Merge pull request #372 from noudess/master
...
A non magical weapon with an augment tagged as magic now hits as magic
2015-02-18 12:52:56 -08:00
KimLS
2774d8e761
AddToHateList will no longer assert on other = nullptr, it will now just do nothing. Since the function can be called from perl/lua it's inapprops to let them just crash the server with an abort() from assert.
2015-02-11 21:56:58 -08:00
KayenEQ
c8acb7bd43
numhits issue fix
2015-02-10 23:24:41 -05:00
Paul Coene
8cde649e39
A non magical weapon with an augment tagged as magical now registers
...
as a magig weapon when attacking a creature requiring magic
2015-02-09 17:04:44 -05:00
KayenEQ
0521cae8d0
Implemented npc specialability (44) COUNTER_AVOID_DAMAGE which when applied to the ATTACKING NPC will make their attacks more difficult to be avoided by riposte/dodge/parry/block.
...
Parama0: Negative modifer value that affects ALL avoid damage types dodge/parry/riposte/block) chance on defender. Ie (44,50 = 50 pct reduction to ALL)
Parama1: Negative modifer value that affects RIPOSTE chance on defender. Ie (44,1,0,50 = 50 pct reduction to riposte chance)
Parama2: Negative modifer value that affects PARRY chance on defender. Ie (44,1,0,0,50 = 50 pct reduction to parry chance)
Parama3: Negative modifer value that affects BLOCK chance on defender. Ie (44,1,0,0,0,50 = 50 pct reduction to block chance)
Parama4: Negative modifer value that affects DODGE chance on defender. e (44,1,0,0,0,0,50 = 50 pct reduction to dodge chance)
Example of usage: Player has Improved Dodge V (+50 pct dodge chance), you want to negate this bonus you would set 44,1,0,0,0,0,50 on your NPC.
Clean up and minor fixes to AvoidDamage function.
Added support to a few AA bonuses there.
2015-02-08 20:17:51 -05:00
KayenEQ
bfa6bd3458
Merge pull request #362 from KayenEQ/Development
...
Improvements to the pet type (5) code.
2015-02-03 08:01:15 -05:00
KayenEQ
33767aeb91
Improvements to the pet type (5) code.
2015-02-03 07:59:29 -05:00
KayenEQ
ff8a19b1cb
Merge pull request #361 from KayenEQ/Development
...
Implemented pet type 5 (petTargetLock)
2015-02-03 07:10:41 -05:00
KayenEQ
379219aff1
Implemented new pet type (5) which summons a regular pet that locks onto
...
the casters target exclusively until the target dies, when target dies
the pet is killed. (Pets don't respond to commands except get lost).
This does not stack with regular pets.
Note: On live these pets cast an actual spell (Unsummon) that kills them for 20k damage,
due to how limiting that is to be hard coded, the pets will simply just
kill themselves instead.
Pending, will needd to add an optional SQL to update pet tables to convert
known live spells that use this.
2015-02-03 06:40:51 -05:00
Kinglykrab
180612bb21
Added new rule to make the UnmemSpellAll on death optional.
...
- New Rule: Character:UnmemSpellsOnDeath (default true)
2015-02-01 18:57:26 -05:00
JJ
96925f0dde
Some minor cleanup. [skip ci]
2015-01-31 17:03:44 -05:00
KimLS
17af9e3808
Merge fixes, hopefully didn't break anything.
2015-01-23 13:36:27 -08:00
KimLS
269d56e1d0
Switched out our kinda juryrigged vector types for glm::vec types since we use that as a 3d math library already but never switched out the types
2015-01-23 00:01:10 -08:00
Akkadius
c5447778a6
Merge remote-tracking branch 'remotes/origin/master' into logging_changes
...
Conflicts:
world/client.cpp
world/worlddb.cpp
zone/aggro.cpp
zone/bot.cpp
zone/client.cpp
zone/client_packet.cpp
zone/client_process.cpp
zone/doors.cpp
zone/entity.cpp
zone/inventory.cpp
zone/mob_ai.cpp
zone/perl_client.cpp
zone/spells.cpp
zone/waypoints.cpp
zone/zone.cpp
zone/zonedb.cpp
zone/zoning.cpp
2015-01-21 17:29:30 -06:00
Akkadius
0d9b6703a6
Rename debug.h to global_define.h, update cmakelists and such
2015-01-19 04:12:09 -06:00
Akkadius
467b359d0c
Moved all EQEmuLogSys:: enum references used in Log.Out to a namespace 'Logs' for shortening of syntax
2015-01-18 02:20:16 -06:00
Akkadius
c025765283
Renamed DoLog to Out as the aggregate logging function for simplicity of use and shortened syntax of Log.Out
2015-01-18 02:00:15 -06:00
Akkadius
1c048cb1d1
Renamed DebugCategory to DoLog as the aggregate logging function for simplicity of use and shortened syntax of Log.DoLog
2015-01-18 01:54:09 -06:00
Akkadius
e691735a2d
Consolidate 'LogType' Error logs over to 'LogCategory'
2015-01-18 01:30:25 -06:00
Akkadius
7dbde36b03
Rename reference logger to Log
2015-01-18 00:41:18 -06:00
Michael Cook (mackal)
fd77fbf163
Merge pull request #313 from addtheice/data_bundling
...
Data bundling
2015-01-17 17:30:14 -05:00
Michael Cook (mackal)
f9a7da61b8
Switch NUMHIT_ enum to a strongly typed enum
2015-01-17 16:18:09 -05:00
Akkadius
0641be187d
Convert Client unhandled incoming opcodes
2015-01-17 02:46:26 -06:00
Akkadius
6a567288ae
port mlog 'Combat' category to new log system
2015-01-17 02:22:53 -06:00
Akkadius
cae6a70a2c
port mlog 'Spells' category to new log system
2015-01-17 02:01:20 -06:00
Akkadius
132fbbb0c6
Rename LogDebugType to DebugCategory
2015-01-16 03:09:02 -06:00
Akkadius
59f90aede9
Another convert
2015-01-16 02:18:30 -06:00
Akkadius
2828d51308
Converted mlogs in Mob::CheckHitChance to new logs
2015-01-16 02:16:07 -06:00
Akkadius
c10f5b2cbc
Removed #ATTACK_DEBUG Mob::CheckHitChance and converted debug
2015-01-16 02:12:19 -06:00
Akkadius
f957d27fa5
Removed #EQDEBUG Mob::CheckHitChance and converted debug
2015-01-16 02:11:28 -06:00
Akkadius
488e94df56
Removed #EQDEBUG Mob::AttackAnimation
2015-01-16 02:10:10 -06:00
Akkadius
edd871353d
Removed attack.cpp #EQDEBUG
2015-01-16 02:08:04 -06:00
Akkadius
b76e179d75
Fix spacing
2015-01-10 15:47:36 -06:00
Akkadius
6844645dfb
Replace LogFile->write(EQEmuLog::Error, with logger.logevents(EQEmuLogSys::Error
2015-01-10 15:44:35 -06:00
Akkadius
dadae1a71f
Replaced Debug messages: LogFile->write with logger.LogDebug
2015-01-10 15:26:38 -06:00
Arthur Ice
cd9ca65587
merge upstream
2015-01-08 19:40:00 -08:00
Akkadius
be381b4e56
Renamed EQEMuLog class to EQEmuLog
2015-01-08 19:46:28 -06:00
Akkadius
8983953d7d
Remove debugging from hate changes
2014-12-27 20:25:20 -06:00
Akkadius
73fe229e25
More hate changes
2014-12-27 20:23:49 -06:00
Akkadius
3a488e3a61
Changed hate counter to uint32 to prevent negative rollback, this most likely can will be an issue but more uncommon
...
Renamed and refactored most functions and variables in hate_list.h/cpp for readability
Refactored how hate works in some local functions mixing the use of hate variable and split it out into different status variables
hate_list.cpp/.h style cleanup
hate_list.h header function sort, comment erase
functions should clearly state their function
2014-12-27 18:24:42 -06:00
Uleat
34ab3e10f5
Added some nullptr checks for ItemInst* in a few places (tradeskills.cpp - particularly augments - needs a better review)
2014-12-23 10:14:45 -05:00
Michael Cook (mackal)
18fb86a560
Force changing the timer_time for attack timers
...
Should fix issues with waiting for a slow timer after a cure
2014-12-22 01:58:54 -05:00
Arthur Ice
f409d39f1a
merge upstream
2014-12-21 13:57:20 -08:00
Michael Cook (mackal)
1261aac036
Check DivineAura in TryWeaponProc, should resolve #321
2014-12-18 18:50:38 -05:00
KayenEQ
7dad77c080
Clients will now receive exp / faction from their swarm pets kills ect.
2014-12-17 20:09:41 -05:00
Michael Cook (mackal)
b5c60d8123
Bot compile fix
2014-12-15 20:08:46 -05:00
Michael Cook (mackal)
4c9befee22
Some clean ups due thanks to clang's warnings
2014-12-09 23:41:19 -05:00
KayenEQ
4047c70de1
Fix for completely broken skill proc function.
2014-12-09 00:38:20 -05:00
KayenEQ
70f570dbd9
Implemented support for allowing most focus effects to now be usable
...
by NPCs (ie Heal/Damage focus, cast time, spell range ect) from
both spell buffs and items.
Rule for enabling spell focus is TRUE by default
Rule for enabling item focus is FALSE by default.
Consilidated a number of redundant client / mob functions
to use the same pathway for calculating effect values.
2014-12-08 01:22:01 -05:00