Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-25-2012, 12:19 AM
Maze_EQ
Demi-God
 
Join Date: Mar 2012
Posts: 1,103
Default 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.
Reply With Quote
  #2  
Old 04-25-2012, 01:18 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

What does "strength" mean? Less hit points? They hit players for less?
Reply With Quote
  #3  
Old 04-25-2012, 01:45 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

I suspect he means the damage they deal, but yeah need clarification.
Reply With Quote
  #4  
Old 04-25-2012, 03:32 AM
Maze_EQ
Demi-God
 
Join Date: Mar 2012
Posts: 1,103
Default

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.
Reply With Quote
  #5  
Old 04-25-2012, 04:38 AM
Maze_EQ
Demi-God
 
Join Date: Mar 2012
Posts: 1,103
Default

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.
Reply With Quote
  #6  
Old 04-25-2012, 08:27 AM
werebat's Avatar
werebat
Hill Giant
 
Join Date: Oct 2010
Posts: 143
Default

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.
Reply With Quote
  #7  
Old 04-26-2012, 01:42 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Disregard...

Last edited by Uleat; 04-26-2012 at 01:51 AM.. Reason: Dropped my coke bottle on the mouse and it posted...
Reply With Quote
  #8  
Old 04-26-2012, 01:48 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

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!)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:08 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3