Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2015, 12:11 AM
Athrogate
Fire Beetle
 
Join Date: Jul 2015
Posts: 2
Default perl $npc->GetRunspeed() is returning 40x the value

Currently using the Perl interface to get the runspeed from the database its returning a value 40x more than what is set in the database.

NPC runspeed is 0.3 in the database

$npc->GetRunSpeed() in a quest file returns 12.

Set another npc to 1.0 in the database

$npc->GetRunSpeed() returned 40.

Thanks,
-Athrogate
Reply With Quote
  #2  
Old 07-19-2015, 03:09 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

$mob->GetRunSpeed() returns the modified speed (buffs, etc.), by a quick look of things anyway. Been awhile since I've dabbled with it (when making a Perl AI), like 2011/2012.
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 01:13 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3