1
0

299 Commits

Author SHA1 Message Date
Emagi
4213beec95 nav path affirmations 2025-01-29 22:01:25 -05:00
Emagi
7e69739e43 allow LUA Functions for movement to use nav path 2025-01-29 15:13:26 -05:00
Emagi
7098c1dbf3 address AoM client having issues with Y coordinates above terrain when lua pathing does not properly align to terrain 2025-01-29 08:50:01 -05:00
Emagi
6f8bee17f5 try to remove gaps between objects causing players/spawns/objects to fall through 2025-01-28 15:25:06 -05:00
Emagi
782f84e67e smooth out pathing by not enforcing Y all the time, still need to do something about gaps in objects that cause spawns to fall through :-/ 2025-01-28 09:52:44 -05:00
Emagi
79a010e055 disable bank / shared bank in trade and also sellitem 2025-01-26 15:16:27 -05:00
Emagi
b8738480b2 mitigation_modifier sint16 added to info struct to allow modification of mitigation after the base is obtained from items 2025-01-26 14:59:55 -05:00
Emagi
abfba27112 mitigation vs physical support added (independently had slash, crush, pierce, physical is a combo of all 3) 2025-01-25 08:13:12 -05:00
Emagi
1342bc5af8 Update Combat.cpp 2025-01-22 11:37:50 -05:00
Emagi
883f172312 make sure to remove spell effect so we don't try to access a dead spell ptr later 2025-01-21 09:20:04 -05:00
Emagi
19cd63878c Update LuaInterface.cpp 2025-01-21 08:03:17 -05:00
Emagi
bd9f1bd8ce Fix accidentally not nullifying the spell pointer when we remove a spell effect 2025-01-21 07:37:22 -05:00
Emagi
78db10105e Lua Function GetID(Spawn) added.. 2025, it's amazing...! 2025-01-19 11:46:04 -05:00
Emagi
bd7d69c495 Additionally RemoveProc should only remove the target, not all targets in the spell 2025-01-19 10:23:57 -05:00
Emagi
b985613791 RemoveSpellBonus should only remove the target if specified, otherwise it can remove the entire target set/group accidentally 2025-01-19 09:59:42 -05:00
Emagi
e9936f1c80 script protection on spells against reuse of the lua state between proc / other spell processes 2025-01-18 18:54:10 -05:00
Emagi
dad7873dc5 LUA functions added: GetSpellCaster(Spell) and GetCasterSpellLevel(Spell) the Spell field is optional if in a spell script
db additionally had field added:

alter table character_spell_effects add column caster_level smallint(5) unsigned not null default 0;
2025-01-18 09:16:35 -05:00
Emagi
c300a5b066 Fixed hangup with remove spell due to remove target list lock 2025-01-16 12:51:09 -05:00
Emagi
3efce0abd6 call spell remove function for reason "target_dead" and "target_removed" also address the long delay between calling the remove function and the death of a spawn. Lastly made it so we can reference the spawn group id after death for a spawn since we remove it from a spawn group. 2025-01-16 12:29:24 -05:00
Emagi
e20b45eedd Fixed issues with /reload spells causing a crash 2025-01-16 10:53:12 -05:00
Emagi
d215872bdf properly restrict obtained spells with classic spells flag 2025-01-16 10:38:05 -05:00
Emagi
154ba64b9c lua spell function remove updated for lua arguments, eg. function remove(Caster, Target, Reason, ..data args..), similar to function cast(Caster, Target, ..data args..) 2025-01-15 15:03:30 -05:00
Emagi
d775c1ece5 be a bit more generous on the scale factor 2025-01-14 14:56:53 -05:00
Emagi
6f36c96a4a revert + reupload fix resistibility factor for higher tiers, properly clamp the resistibility also 2025-01-14 14:00:37 -05:00
Emagi
cd64a84d40 Revert "fix resistibility factor for higher tiers"
This reverts commit e1a02a3ef73106484c3063910bcc2d9e21645315.
2025-01-14 13:59:30 -05:00
Emagi
ff7753528d Revert "have a slightly lower pivot point to avoid negative values since most resistibility is set to >=.65"
This reverts commit 14b0a118d627a314ecebf3a723b33226a8b14f52.
2025-01-14 13:59:24 -05:00
Emagi
14b0a118d6 have a slightly lower pivot point to avoid negative values since most resistibility is set to >=.65 2025-01-14 13:57:01 -05:00
Emagi
e1a02a3ef7 fix resistibility factor for higher tiers 2025-01-14 13:50:19 -05:00
Emagi
3e447db611 fix some bad multipliers for the current xp of the level 2025-01-13 09:21:37 -05:00
Emagi
82a1885887 Added classic spell level support (aka mini ding spells) like warrior getting knee break at lvl 19.6 2025-01-13 09:06:11 -05:00
Emagi
9b60035656 LUA function Resurrect updated with 8th and 9th argument for revive_sickness_spell_id and revive_sickness_spell_tier respectively. Fixed avoiding crash with bad spawn ptr if resurrect caster left zone. 2025-01-11 09:22:25 -05:00
Emagi
e3e0e8b8fe fix and restrict selling to city merchants, must be in a guild to get status and in the level range, selling will get no status 2025-01-10 20:02:22 -05:00
Emagi
c029874469 assure the spell is friendly when applying only to group members 2025-01-10 19:13:03 -05:00
Emagi
3162106580 Added Lua Functions PlayAnimationString(Spawn: Spawn, String: EmoteStringCommand, Spawn: OptTarget, Boolean: SetNoTarget, Boolean: UseAllSpellTargets, Boolean: IgnoreSelf) and GetSpellTargets(Optional_Spell) if no argument must be in spell script. Fixed spells with no range that are group based to apply to all in group. 2025-01-10 19:08:47 -05:00
Emagi
c24f0c89fc only create a persisted respawn if it has a respawn time 2025-01-09 17:44:11 -05:00
Emagi
ec2b564132 have NPC's return their own level so they just use the base dmg 2025-01-09 13:50:07 -05:00
Emagi
b1b9ab8ed9 LUA Function GetSpellRequiredLevel(Player) added to retrun the required level for the spell based on the adventure class 2025-01-09 13:34:32 -05:00
Emagi
f86add3c05 Update Commands.cpp 2025-01-04 21:04:55 -05:00
Emagi
a820439430 add select command to support checking for accepted dialogs 2025-01-04 16:10:38 -05:00
Emagi
1cc7d22a44 support flight paths in KoS and earlier clients, also start of showing loot to other group/raid members 2025-01-04 15:24:02 -05:00
Emagi
5430823352 fix flags in KoS client so we can see mounts / set invis so on 2025-01-04 15:23:13 -05:00
Emagi
856c29674a zone unlock lock and zone/zoneid commands now have duplicate id as a second number, incomplete cureplayer for raid groups, lastly patched issues with claim command 2025-01-02 13:35:53 -05:00
Emagi
04f38a6599 added zone info into memory, you can use /reload zoneinfo to clear the cache if GM status available. 2024-12-30 10:10:48 -05:00
Emagi
a4e44dd520 Added round robin support to raids 2024-12-28 18:36:59 -05:00
Emagi
c8d199139f Avoid misconfigured or heroic opportunities persisting past zone if they somehow get applied to a player 2024-12-28 18:21:20 -05:00
Emagi
2afc0b8e92 Allow players to re-enter the original duplicate zone with the transporter selection dialog 2024-12-27 09:04:18 -05:00
Emagi
3200c1d66d Fix the number of players in zone to be more accurate 2024-12-23 19:16:16 -05:00
Emagi
314fc8396c Added tracking of zone duplicate id (when its a public zone) to the characters table. We will now properly persist to the respective zone when a public zone becomes instanced. 2024-12-23 17:43:58 -05:00
Emagi
42173ceef2 Added support to create duplicated zones of public zones (non city zone). Additionally spawn locations can be limited to the primary public zone and not replicated (for epics). 2024-12-23 08:46:11 -05:00
Emagi
7f138c5bef Support in eq2emu for respawn_offset_low respawn_offset_high to align with changes in spawn_location_placement for editor
alter table spawn_location_placement add column respawn_offset_low int(10) signed not null default 0 after respawn;
alter table spawn_location_placement add column respawn_offset_high int(10) signed not null default 0 after respawn_offset_low;
2024-12-19 13:02:18 -05:00