EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Easiest way to make players immune to Root and Charm (https://www.eqemulator.org/forums/showthread.php?t=43474)

Ishkur 11-23-2021 12:35 PM

Easiest way to make players immune to Root and Charm
 
Hello All,

I play on a solo private server and one thing I do not like is having to wait for roots or charms to break on me so I can continue on my way. I found a way to make myself immune to fear and stuns via AA to eliminate some of this headache but I don't see one for Root or Charms.

What would be the best way to make players immune to roots and charms? Some folks said to remove the spells from NPC spell lists and some said to use AA or maybe spell buffs?

I am pretty new at anything modifying spells or spell lists but AA I have a decent grasp on.

Please advise any help is greatly appreciated thanks!!!

Splose 11-23-2021 05:58 PM

Quote:

Originally Posted by Ishkur (Post 267432)
Hello All,

I play on a solo private server and one thing I do not like is having to wait for roots or charms to break on me so I can continue on my way. I found a way to make myself immune to fear and stuns via AA to eliminate some of this headache but I don't see one for Root or Charms.

What would be the best way to make players immune to roots and charms? Some folks said to remove the spells from NPC spell lists and some said to use AA or maybe spell buffs?

I am pretty new at anything modifying spells or spell lists but AA I have a decent grasp on.

Please advise any help is greatly appreciated thanks!!!

Code:

SELECT
        npc_spells_entries.id,
        npc_spells_entries.npc_spells_id,
        npc_spells_entries.spellid,
        npc_spells_entries.type,
        npc_spells_entries.minlevel,
        npc_spells_entries.maxlevel,
        npc_spells_entries.manacost,
        npc_spells_entries.recast_delay,
        npc_spells_entries.priority,
        npc_spells_entries.resist_adjust,
        npc_spells_entries.min_hp,
        npc_spells_entries.max_hp
FROM
        npc_spells_entries
        INNER JOIN spells_new ON npc_spells_entries.spellid = spells_new.id
WHERE
        ( spell_category = 101 OR spell_category = 50 );

Delete everything that you get back from this query. It will stop NPCs from casting roots or snares entirely. There may be a negligible amount of spells that do not have the category set properly but this should work for 99.9999% of cases.

Ishkur 12-16-2021 06:04 PM

Thank you for your reply.

I am scared to delete anything out of the DB like that but I came across another idea with an AA. I understand custom AA's required changes to client files as well but I sort of know how to do that.

How about this for an AA?

AA Effects Info
Rank (15515) - Slot 1
Effect: 126 - Spell Resist Reduction
Base 1: 3000
Base 2: 0

Rank (15515) - Slot 2
Effect: 137 - Limit: Effect
Base 1: 99
Base 2: 0

Rank (15515) - Slot 3
Effect: 137 - Limit: Effect
Base 1: 22
Base 2: 0

I was told that spell effects 99 and 22 represent charm and root but I was wondering about the value for effect 126. Does that need to be a positive number or negative number to increase your resistance to that spell type?


All times are GMT -4. The time now is 03:57 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.