Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 05-26-2007, 05:59 PM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default

Hello there,

I actually have a problem with formulas for the melee bot output dmg. The goal is to make their dmg calculated on criterias and to be as close as the clients.

My maths are pretty bad and I need your help.

For the dmg calculation, I would like to take into consideration:
- the lvl of the bot
- the class
- the atk/delay ratio of a weapon (1h, dual wield and 2h)
- the str/dex/agi depending of the class
- any other criteria ?


For an example and for a warrior with 100str, I've tried:

For a 1hand weap in the primary melee slot:
Code:
( (atk/delay)*(str/3) ) + lvl
For a 1hand weapon in the secondary melee slot:
Code:
( (atk/delay)*(str/3) ) + (lvl*0.33)
At lvl10, with a 10/30 weapon, the warrior would deal as its max melee output:
primary: 14dmg

At lvl20,
primary: 18dmg

at lvl50,
primary: 27dmg

wich isn't accurate at all..

This is just an example to show how bad are my maths and what the issue is : to find a correct formula for the melee bot.


The second issue is the way the bots do assist. I need to have advises/ideas on this.
Actually, each bot attacks the mob(s) that attack this bot. Also, each bot attacks the mob(s) that attacks you(the leader).
It needs to be improved and for that I have an idea but I need your advises.
I can make it so each bot (but the CC bots) assist the main melee of the group. I mean, if there is a warrior, they only assist him, else if there is a SK they assist him, else if there is a paladin, etc... This way, it will be easier to code the CC bot so they can do some CC on adds.

But now, what happens if you're not grouped with any melee ? I could make it so they assist you by default... or a pet...

Any ideas on this ?

G'day,
mag
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
 

Thread Tools
Display Modes

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 03:01 AM.


 

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