• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

A permanent temporarily buff (yup)

TGYoshi

In space
Joined
Aug 20, 2010
Messages
1,107
Reaction score
121
Location
In space
Is there a simple way to buff someone's maxhealth, certain skill levels etc.?
This buff should be permanent, but it should NOT be saved in the database. So whenever the user relogs, or dies (somewhat relogs), the buff will be gone.

In the sources I've found:
Code:
query << "`healthmax` = " << player->healthMax << ", ";
which saves the maxhealth, but I can't find anything about buffs there.

Any idea how to make this? Eventually with source editing.
 
Probably not the most convenient way to do this, but..
You could create new columns in the database to store the old skills/maxhealth.
That way they are available when it is time to revert.
 
I guess I'll edit the source then, I don't want to mess with database columns since it's totally pointless and a waste of resources. Quite messy whenever someone log in's then.
 
Back
Top