Kinglykrab
11369247b1
[INT64] Further int64 cleanup in Perl SetHP() and GetSpellHPBonuses() in Perl/Lua. ( #2222 )
2022-05-29 16:36:32 -05:00
Kinglykrab
8f3ac74196
[INT64] Fix int64 for OOC Regen and GetHP(), GetMaxHP(), GetItemHPBonuses() in Perl/Lua. ( #2218 )
...
* [INT64] Fix int64 for OOC Regen and GetHP(), GetMaxHP(), GetItemHPBonuses() in Perl/Lua.
- These all had int64 values and were overflowing, returning garbage data.
* Update npc.cpp
2022-05-29 14:33:30 -04:00
Chris Miles
209b0eb273
[int64] Hate Fixes ( #2163 )
...
* Hate fixes
* Update perl_hateentry.cpp
* Update perl_hateentry.cpp
2022-05-09 20:49:43 -05:00
Chris Miles
f201d4c999
[int64] Support for HP / Mana / End / Damage / Hate ( #2091 )
...
* Initial int64 work
* Hate 64 bit
* Update special_attacks.cpp
* Aggro / Damage / Hate int64
* NPC edit adjustments
* Fix bot compile
* More int64 adjustments
* More int64 references
* npcedit references
* aggrozone
* More int64 changes
* More int64 changes for damage
* Many more damage int64 references
* More spell damage int64 conversions
* HealDamage
* Damage fully working
* Remove debug
* Add migration
* More int64 adjustments
* Much wow, many int64
* More int64
* PR adjustments
2022-05-07 22:32:02 -05:00
Kinglykrab
0aeab11408
[Commands] Cleanup #summon Command. ( #2145 )
...
* [Commands] Cleanup #summon Command.
- Cleanup messages and logic.
- Add glm::vec4 overload for GMMove.
- Remove unused parameter from GMMove.
- Remove unnecessary Lua GMMove now that parameter is gone.
* Update summon.cpp
* Cleanup.
2022-05-06 18:45:12 -05:00
KayenEQ
615f4a5304
[API] Apply spells with custom buff durations and adjust existing spell buff durations. ( #1997 )
...
* working
* Update spell_effects.cpp
* updates
* disable_buff_overwrite
* revert
* update
* working
* update
* updates
* Update spells.cpp
* getbuffstat done
* Update perl_mob.cpp
* [API] Apply spells with custom buff durations and adjust existing spell buff durations.
* [API] Apply spells with custom buff durations and adjust existing spell buff durations.
* [API] Apply spells with custom buff durations and adjust existing spell buff durations.
* [API] Apply spells with custom buff durations and adjust existing spell buff durations.
* https://github.com/EQEmu/Server/pull/1997
Lua added, thanks kinglykrab
2022-02-15 08:58:10 -05:00
KayenEQ
b938e6223c
[Spells] Invisibility updates and rework ( #1991 )
...
* updates pre merge
* update
* Update spell_effects.cpp
* Update mob.h
* test
* test
* updates
* updates
* save
* update
* working solid
* animal and undead start
* progress
* updates
* rename
* set invis appearance on bonus
* remove fade buff state check
* update IsViisble check
* optimizing
* don't break bots
* debug remover
* Update ruletypes.h
* perl adds
* Update client_packet.cpp
* update
* done
* remove debugs
* Update client_packet.cpp
* update
* [Spells] Invisibility updates and rework
lua support
* [Spells] Invisibility updates and rework
lua
2022-02-15 00:18:02 -05:00
KayenEQ
82000949e3
[Spells] Update to SPA 297 and 484 to support focus from AA and items. ( #1858 )
...
[Spells] Update to SPA 297 and 484 to support focus from AA and items.
2021-12-03 15:39:06 -05: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
Kinglykrab
3dcddcba04
[Quest API] Add GetHateRandomBot(), GetHateRandomClient(), and GetHateRandomNPC() to Perl/Lua. ( #1613 )
...
- Add $mob->GetHateRandomBot() to Perl.
- Add $mob->GetHateRandomClient() to Perl.
- Add $mob->GetHateRandomNPC() to Perl.
- Add mob:GetHateRandomBot() to Lua.
- Add mob:GetHateRandomClient() to Lua.
- Add mob:GetHateRandomNPC() to Lua.
2021-10-17 23:41:10 -04:00
hg
fb98349bbd
[Quest API] Add mob SetPet and RemovePet quest apis ( #1569 )
...
Will be required for tutoriala script and other similar events
2021-10-01 22:11:16 -05:00
Alex
249cbb7bc7
[Quest API] Add CanRaceEquipItem(item_id) to Perl/Lua. ( #1411 )
...
* [Quest API] Add CanRaceEquipItem(item_id) to Perl/Lua.
- Add $mob->CanRaceEquipItem(item_id) to Perl.
- Add mob:CanClassEquipItem(item_id) to Lua.
- Add mob:CanRaceEquipItem(item_id) to Lua.
* Use constants.
Co-authored-by: Chris Miles <akkadius1@gmail.com>
2021-06-17 18:42:44 -04:00
Alex
3f8b67e500
[Quest API] Add RemoveAllNimbusEffects() to Perl/Lua. ( #1413 )
...
* [Quest API] Add RemoveAllNimbusEffects() to Perl/Lua.
- Add $client->RemoveAllNimbusEffects() to Perl.
- Add client:RemoveAllNimbusEffects() to Lua.
* Optimize.
2021-06-17 11:40:01 -05:00
Michael Cook (mackal)
02526072f3
[Quest API] Add Lua_Mob::GetShuffledHateList ( #1381 )
...
This returns the hate list but in a random order. This is useful to
prevent repeated (potentially infinite ...) calls to GetHateRandom()
2021-06-11 13:28:35 -05:00
Alex
0f23bd24cc
[Quest API] Convert Client GetLastName() method export to Mob export. ( #1331 )
2021-04-22 22:41:19 -05:00
Alex
af517be184
Merge branch 'master' into hate_list_quest_api
2021-02-25 22:58:41 -05:00
Kinglykrab
1af1b7bbdc
[Quest API] Add GetHateClosest() and GetHateListByDistance(distance) to Perl/Lua.
2021-02-25 22:53:33 -05:00
Alex
66d24ff419
[Quest API] Add IsHorse() to Perl and Lua. ( #1264 )
2021-02-23 20:50:06 -06:00
Alex
f2b67ae969
[Quest API] Add Mob-based data bucket methods to Perl/Lua. ( #1237 )
...
* Add Mob-based data bucket methods to Perl/Lua.
* Update mob.cpp
* Update perl_mob.cpp
2021-02-08 23:06:33 -06:00
Kinglykrab
7e1e1651e4
Add GetClassBitmask(), GetClassName(), GetRaceBitmask(), and GetRaceName() to Perl/Lua.
2021-01-18 18:47:32 -05:00
Alex
eb039d176c
Add GetDisplayAC() to Perl/Lua.
2020-06-29 15:49:24 -04:00
Alex
b9f57f1f28
Revert "Build System Updated"
2019-10-12 21:07:06 -07:00
Alex
895c8626b6
Merge branch 'build' into feature/remove_boost
2019-09-27 16:32:13 -07:00
Akkadius
9f25c9070c
Refactor message functions
2019-08-11 00:14:02 -05:00
Michael Cook (mackal)
f4310c5a06
Merge branch 'master' into fix_OP_SpecialMesg
2019-07-20 01:27:37 -04:00
regneq
31d0adbacc
added language paramter to Lua_Mob::Say() and Lua_Mob::Shout() (credit to Torven)
2019-07-18 18:20:22 -07:00
Michael Cook (mackal)
9fe17f4d46
Fix issues with OP_SpecialMesg handling
...
This should prevent any optimizations being done on the "1 char string"
This also fully documents the packet and expands the uses of
quest::say/QuestSay
2019-07-18 00:56:46 -04:00
Kinglykrab
51c51b0d72
Export Mob::GetItemStat(item_id, identifier) to Lua.
2019-06-16 19:56:07 -04:00
Kinglykrab
7d1362732d
New Perl/Lua buff functionality.
...
- Mob::FindBuffBySlot(slot)
This allows you to find buffs by a specific slot.
Example: https://i.imgur.com/VG68cxs.png
Perl Example: https://pastebin.com/8HvMAC4h
- Mob::BuffCount()
This will find the active number of buffs an NPC/client has.
Example: https://i.imgur.com/jrLRBwV.png
Perl Example: https://pastebin.com/Wmg16wwp
2019-06-13 18:20:33 -04:00
Paul Coene
c24bfaf35f
Update lua_mob.h
2019-04-24 10:30:24 -04:00
Adam Martin
5f23a72a16
Removed unused boost header, fixed compiling with new luabind
...
Fixed TryFinishingBlow attempting to return by parameter reference.
The new luabind fails with a by_reference to by_value check. Using
a pointer accomplishes the same goal, but bypasses this issue.
2019-02-02 00:08:46 -06:00
KimLS
1785120796
Bunch of refactoring and walking, AI needs a ton of tweaking to use the new logic
2018-10-12 00:03:58 -07:00
KimLS
1aa97957d8
Renamed function, need to fix bots, some combat bug fixes.
2018-09-21 23:54:07 -07:00
KimLS
7278c6294d
Movement will now be handled by the movement manager instead of mob
2018-09-20 16:14:47 -07:00
KimLS
a53f65d86b
Merge and compile fixes (non-bot, will do bots later)
2018-04-16 14:15:08 -07:00
Michael Cook (mackal)
8f66527e02
Add TryMoveAlong(distance, angle)
...
This will take a distance you would like to move and an EQ angle you
would like to move relative to current heading (so 0 is in front, 256
behind)
Exported to Lua as well
2018-03-06 23:03:55 -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)
414cafdbed
Add OP_AddNimbusEffect
2017-10-09 00:04:43 -04:00
KimLS
5f1063acb9
Add pathfinding interfaces, still heavily wip
2017-07-18 00:01:59 -07:00
KimLS
f79f54920d
Export needed fns
2017-06-12 14:14:39 -07:00
KimLS
7189994b78
Many lua things many many things
2017-05-19 22:50:08 -07:00
KimLS
28fd766278
Export many things
2017-05-15 15:46:19 -07:00
KimLS
6d59baffaf
Basic mod setup only supports combat hooks for now I'll add a few more before i push this
2017-04-26 22:56:18 -07:00
Michael Cook (mackal)
d36f1159fb
Add SendBeginCast to Lua API
2017-04-08 02:07:08 -04:00
Michael Cook (mackal)
37e87e8cef
Rework combat to make use of a struct to fix some bugs
2017-01-28 19:38:44 -05:00
Athrogate
a121675161
Add GetAppearance() to lua.
2016-11-28 13:50:24 -08:00
Michael Cook (mackal)
a49aef24c5
Fix luabind::adl::object forward declare for clang
...
clang didn't like this, and GCC likes both :P
2016-05-04 03:01:53 -04: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
Kinglykrab
9a1271805a
Added GetMeleeMitigation() to Perl and Lua for Mobs (Clients/NPCs).
2015-12-21 15:45:25 -05:00
Kinglykrab
0177c8d7d9
Exported several Mob-based methods to Perl and Lua.
2015-12-19 19:42:35 -05:00