Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::LUA

Quests::LUA Section regarding LUA scripts, help, questions, answers

Reply
 
Thread Tools Display Modes
  #1  
Old 12-20-2018, 09:17 AM
Eudith
Fire Beetle
 
Join Date: Dec 2018
Posts: 12
Default Set Base Attribute Values

Hello!

I am trying to set a character's class, diety and base attributes in Lua. (I am ultimately trying to implement a Final Fantasy style Class Change system, but that's neither here nor there.) I see SetBaseClass() and SetDeity() methods, but looking through the API documentation online there don't seem to be SetBaseStr(), SetBaseDex(), etc. methods.

Is it currently possible to set base attributes via Lua? And if not, where should I submit a feature request for this?

Thank you very much!
Reply With Quote
  #2  
Old 12-20-2018, 06:55 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,594
Default

You can set base stats in the database using the character creation tables. But as far as dynamically changing them, you can’t. You could use a DBI script to force kick them and update their base stats in the database.
Reply With Quote
  #3  
Old 12-20-2018, 08:54 PM
Eudith
Fire Beetle
 
Join Date: Dec 2018
Posts: 12
Default

Okay, good to know. I tried setting base stats using the character creation tables to always be 75 for all stats, but for some reason that didn't work; I can just let players choose their base stats but reset them all to 75 during server downtime.

Thank you!
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 02:15 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3