EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   How to add a query for Mob strength (https://www.eqemulator.org/forums/showthread.php?t=35249)

Maze_EQ 04-25-2012 12:19 AM

How to add a query for Mob strength
 
If anyone could help me, I'd like to make ALL monsters ingame reduced in strength by 75% I am not sure how to do this.

lerxst2112 04-25-2012 01:18 AM

What does "strength" mean? Less hit points? They hit players for less?

KLS 04-25-2012 01:45 AM

I suspect he means the damage they deal, but yeah need clarification.

Maze_EQ 04-25-2012 03:32 AM

What I am looking for is global stats reduction, ac, hp, mana, str, agi etc I was wondering if it could be done in a query, I've searched for hours....can't find nothing like it.

So say you have a kobold warrior

hp:1200
mana:1200
ac:400
Damage=20-50
str:65
agi:65
(etc)

How would you make EVERY mob reduce all this by 75 % ?

hp:300
mana:300
ac:100
damage=5-37
str:17
Agi:17

Basically thats what I'm getting at, and don't know how to word it.

Maze_EQ 04-25-2012 04:38 AM

Sorry for double posting but I seem to have figured it out...

update npc_types set hp = hp - hp*.3

just substitute hp for the required, if this can be deleted or whatnot, thank you.

werebat 04-25-2012 08:27 AM

Actually its just hp = hp*.3 (thats 70% by the way, if you want 75% like you post stated then its hp = hp*.25).

Keep in mind this will also lower the strength of any pets.

Uleat 04-26-2012 01:42 AM

Disregard...

Uleat 04-26-2012 01:48 AM

Hmm...

1 * 1 = 1
1 * 0.7 = 0.7
1 * 0.3 = 0.3

Hmm...


Reduce to 75% of original: hp = hp * .75

Reduce by 75% of original: hp = hp - (hp * 0.75) -or- hp = hp * 0.25

(Always backup your database before playing..with it!)


All times are GMT -4. The time now is 06:45 AM.

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