EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bug Reports (https://www.eqemulator.org/forums/forumdisplay.php?f=591)
-   -   perl $npc->GetRunspeed() is returning 40x the value (https://www.eqemulator.org/forums/showthread.php?t=39866)

Athrogate 07-19-2015 12:11 AM

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

ghanja 07-19-2015 03:09 PM

$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.


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

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