Chris Miles
5b4aeaa457
[Code Cleanup] Remove this-> in code where its implied ( #2088 )
2022-05-01 10:22:09 -04:00
Kinglykrab
17aaab1f9d
[Quest API] Add Spell methods to Perl. ( #1631 )
...
* [Quest API] Add Spell methods to Perl.
- Add quest::getspell(spell_id) to Perl.
- Add eq.get_spell(spell_id) to Lua.
These methods return a spell object.
Exports $spell object references to spell events.
* Formatting.
* Remove comment.
* Update spdat.cpp
* Amplication typo.
* Fix conflicts.
* Remove repository changes.
* Fix typing.
* Update spell_effects.cpp
2021-11-03 17:47:15 -04:00
KimLS
2fbd5aaccc
Rename namespace EQEmu to namespace EQ (so we don't have two similar but different namespaces anymore)
2020-05-17 18:36:06 -07:00
Uleat
99ee4e04d9
Added bot command 'precombat' to manually set pre-combat mode rather than the 'assumption' process used before; Added rule Bot:AllowOwnerOptionAltCombat to allow admins control over its use
2019-10-13 22:24:06 -04:00
Akkadius
44e3f28cb0
Logs::AI to LogAI
2019-09-02 03:44:03 -05:00
Uleat
ee49ad3ce9
Reworked BotDatabase into a functional add-on for ZoneDatabase
2019-06-24 18:13:25 -04:00
Uleat
3bdd6c20a5
Bot definition clean-up
2019-02-09 06:38:26 -05:00
Uleat
3cffe5f7ef
Put merc and bot classes on the same stance standard (mercs)
2019-02-07 22:09:31 -05:00
Akkadius
7aa1d243b0
[Performance] Reworked how all log calls are made in the source, see changelog.txt for more details
2017-04-01 03:51:46 -05:00
Uleat
b1be667884
Update bot spell casting chances table and implemented 'pre-combat' mode for all bots (only bard is actively coded atm)
2017-02-26 22:13:41 -05:00
Uleat
3383f65ff7
Updated bot casting roles to not refresh with every spell cast (oversight in recent casting chances commit)
2017-02-24 04:48:33 -05:00
Uleat
4e8a03f7b4
Migrated bot spell casting chance data to the database
2017-02-23 19:16:36 -05:00
Uleat
9adfe5b9ff
Fix for bot wizard repeating familiar casting when pet is dead and buff is active
2017-02-21 20:40:04 -05:00
Uleat
d9633dfee4
Bard bot song twisting update
2017-02-20 21:41:15 -05:00
Uleat
38651258fc
Updated npc spell types to 32-bit mask
2017-02-09 17:57:55 -05:00
Uleat
3ef98c9411
Added bot command 'inventorywindow'
2016-04-12 16:46:45 -04:00
Uleat
daeec0f5ec
Rework of some existing spell AI code
2016-04-11 16:51:30 -04:00
Uleat
b327da7092
Activation of the new 'Bots' command system
2016-03-24 18:50:31 -04:00
Uleat
ecd695ff9b
Script and server code query updates for bots_updater
2015-10-09 21:34:31 -04:00
Kinglykrab
2ca5a4ade6
Bot command changes.
...
- #bot ai mez is now #bot mez
- #bot bindme is now #bot bind
- #bot runeme is now #bot rune
- #bot augmentitem now has an alias of #bot ai
- #bot giveitem now has an alias of #bot gi
- Removed unused #bot groupmessages
- Removed useless additional parameters (c->GetName()/sep->arg[2])
- Formatted loops and conditionals.
2015-07-06 16:28:17 -04: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
Arthur Ice
4abe2fc6ff
Removed a usage of Mob::DistNoRootNoZ and used ComparativeDistanceNoZ instead
2015-01-18 02:03:44 -08: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
7dbde36b03
Rename reference logger to Log
2015-01-18 00:41:18 -06:00
Arthur Ice
1303a297c0
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-17 18:26:14 -08:00
Akkadius
d4f2e0ce5f
port mlog 'AI' category to new log system
2015-01-17 02:20:01 -06:00
Michael Cook (mackal)
395be050a3
Switch random function to std::mt19937
...
Added class EQEmu::Random
Functions:
EQEmu::Random::Int(int low, int high)
EQEmu::Random::Real(double low, double high)
EQEmu::Random::Roll(int required)
EQEmu::Random::Roll(double required)
EQEmu::Random::Reseed()
For zone, you will access the random object through the zone object
ex.
zone->random.Int(0, 100);
Int returns a random int between low and high
Real returns a random double between low and high
Roll(int) returns true if Int(0, 99) < required is true
Roll(double) returns true if Real(0.0, 1.0) <= required is true
2014-12-01 18:13:12 -05:00
KimLS
7fc21b9e3a
Tons of renames
2014-08-21 19:33:02 -07:00
Michael Cook (mackal)
4216627604
Prefer prefix ++/-- on non-primitive types
...
Postfix ++/-- might cause the creation of a tmp instance
that might be optimized out. Mights are bad. Prefix doesn't
have this problem.
2014-01-13 22:14:02 -05:00
Uleat
cab77e83da
High level debug (12) compile failure fix - I searched for as many as I could find with GrepWin, so there may be a few out there still
2013-10-27 03:13:10 -04:00
badcaptain
809925dc3e
Bots- added out of combat bard songs & #bot bardoutofcombat on|off command to turn them on/off.
2013-10-12 00:47:15 -04:00
badcaptain
765f23febc
Initial check-in of bard bot in combat song code.
2013-10-11 23:37:46 -04:00
KimLS
fcd9b525a8
Removed Common Profiler and Zone Profiler. They're well past outdated status and are just code bloat.
2013-08-29 15:46:40 -07:00
KimLS
63d678ce29
Replaced npcspecialatk with special_attacks, needs more testing also gotta export new api for it as I can't remove the legacy one. Too many quests rely on the legacy functionality.
2013-07-06 03:45:06 -07:00
Arthur Ice
5255c236c3
added std:: to a lot of locations which where
...
missed and added NOMINMAX to cmakelist
2013-05-22 23:55:49 -07:00
Arthur Ice
f1a487f606
Merge branch 'master' into StringFormatting.
...
Cleaned up the problems. Tested on Linux. Still need to test on windows.
Conflicts:
common/CMakeLists.txt
common/MiscFunctions.cpp
common/MiscFunctions.h
common/debug.cpp
world/Adventure.cpp
2013-05-19 18:56:21 -07:00
Arthur Ice
373ff66240
moved string functions from MiscFunctions to StringUtil
2013-05-11 00:05:11 -07:00
j883376
4bdd8b2502
Change space indentation to tabs
2013-05-09 11:37:51 -04:00
j883376
ffcff4aea1
Remove trailing whitespace
2013-05-09 11:13:16 -04:00
badcaptain
e2f25d1c92
Fixed a couple of merc stat issues and a few bot aggro issues, removed unneeded bot pet AI.
2013-04-25 00:42:52 -04:00
KimLS
da7347f76f
svn -> git Migration
2013-02-16 16:14:39 -08:00