From aae1026c0336f9bd280ac0d5cc8d523004adad21 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 9 Jan 2008 16:08:57 +0000 Subject: - corrected duration of sphere mines to be 30 secs regardless of skill level - Corrected duel_count/duel_list (you DON'T place variables in a .h file! That is what 'extern' is for) - Script command warpportal now places a warp in its initial state (as if a real warp portal was casted) - Updated dispell to also not remove the following effects: Hindsight, Inc Hit/Atk Rate (NPC_POWERUP), Nen, TK stances and tumble, warm and speedup1 (the other speed potion) - Chase-walking characters can now loot. - Hiding characters can't drop items now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12036 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/map/pc.h') diff --git a/src/map/pc.h b/src/map/pc.h index 85f0d7ee0..d179ec770 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -98,6 +98,15 @@ enum { EQI_MAX } equip_index_enum; +struct duel { + int members_count; + int invites_count; + int max_players_limit; +}; + +extern struct duel duel_list[MAX_DUEL]; +extern int duel_count; + #define pc_setdead(sd) ( (sd)->state.dead_sit = (sd)->vd.dead_sit = 1 ) #define pc_setsit(sd) ( (sd)->state.dead_sit = (sd)->vd.dead_sit = 2 ) #define pc_isdead(sd) ( (sd)->state.dead_sit == 1 ) -- cgit v1.2.3-70-g09d2