diff options
author | Kisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-04-05 06:00:20 +0000 |
---|---|---|
committer | Kisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-04-05 06:00:20 +0000 |
commit | d841fc529949f361e915b73a073d1fa9d4ec60f7 (patch) | |
tree | 6a9a34b176f00c6178700a46c01d1c752821d40e /src/map/chat.h | |
parent | 1bea10f578d4e8119659a0373c0a9213fdaab4d4 (diff) | |
download | hercules-d841fc529949f361e915b73a073d1fa9d4ec60f7.tar.gz hercules-d841fc529949f361e915b73a073d1fa9d4ec60f7.tar.bz2 hercules-d841fc529949f361e915b73a073d1fa9d4ec60f7.tar.xz hercules-d841fc529949f361e915b73a073d1fa9d4ec60f7.zip |
- Completed L0ne's 2007 request for 'waitingroom' to support required zeny and level.
- Updated NPC files which required the waitingroom update.
- Added Poring War script.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14765 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chat.h')
-rw-r--r-- | src/map/chat.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/chat.h b/src/map/chat.h index 569e6cbe8..be3efb513 100644 --- a/src/map/chat.h +++ b/src/map/chat.h @@ -17,6 +17,9 @@ struct chat_data { uint8 users; // current user count uint8 limit; // join limit uint8 trigger; // number of users needed to trigger event + uint32 zeny; // required zeny to join + uint32 minLvl; // minimum base level to join + uint32 maxLvl; // maximum base level allowed to join struct map_session_data* usersd[20]; struct block_list* owner; char npc_event[50]; @@ -30,7 +33,7 @@ int chat_changechatowner(struct map_session_data* sd, const char* nextownername) int chat_changechatstatus(struct map_session_data* sd, const char* title, const char* pass, int limit, bool pub); int chat_kickchat(struct map_session_data* sd, const char* kickusername); -int chat_createnpcchat(struct npc_data* nd, const char* title, int limit, bool pub, int trigger, const char* ev); +int chat_createnpcchat(struct npc_data* nd, const char* title, int limit, bool pub, int trigger, const char* ev, int zeny, int minLvl, int maxLvl); int chat_deletenpcchat(struct npc_data* nd); int chat_enableevent(struct chat_data* cd); int chat_disableevent(struct chat_data* cd); |