From c159a3c4ffd414d7423b3504a282cce1111b7874 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Wed, 30 Oct 2013 18:42:58 -0200 Subject: Account-wide Exp/Drop/Death Modifiers Attempting to mimic the official as suggested in http://hercules.ws/board/topic/250-official-vip-system/ The variables can be read and modified thru scripting as well as sql, the patch introduces 3 new pc-arams 'ModExp','ModDrop' and 'ModDeath' for that purpose. The OnLogin modifier display is not the real deal though -- wasn't able to get it to output properly (though that might have been my client files failt) Up for review. Signed-off-by: shennetsind --- src/common/mmo.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common/mmo.h') diff --git a/src/common/mmo.h b/src/common/mmo.h index 9281314dc..13748a787 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -414,6 +414,9 @@ struct mmo_charstatus { unsigned short slotchange; time_t delete_date; + + /* `account_data` modifiers */ + unsigned short mod_exp,mod_drop,mod_death; }; typedef enum mail_status { -- cgit v1.2.3-70-g09d2