EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::LUA (https://www.eqemulator.org/forums/forumdisplay.php?f=680)
-   -   Set Base Attribute Values (https://www.eqemulator.org/forums/showthread.php?t=42214)

Eudith 12-20-2018 09:17 AM

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!

Kingly_Krab 12-20-2018 06:55 PM

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.

Eudith 12-20-2018 08:54 PM

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!


All times are GMT -4. The time now is 04:43 PM.

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