L2JPREMIUM  5M
com.premium.game.model.entity.sevensigns.SevenSigns Class Reference
Collaboration diagram for com.premium.game.model.entity.sevensigns.SevenSigns:

Classes

class  SevenSignsPeriodChange
 

Public Member Functions

void addFestivalScore (int cabal, int amount, int festivalId)
 
int addPlayerStoneContrib (L2PcInstance player, int blueCount, int greenCount, int redCount)
 
void changePeriodManualy ()
 
boolean checkIsDawnPostingTicket (int itemId)
 
boolean checkIsRookiePostingTicket (int itemId)
 
boolean checkSummonConditions (L2PcInstance activeChar)
 
int getAncientAdenaReward (L2PcInstance player, boolean removeReward)
 
final int getCabalHighestScore ()
 
final int getCurrentCycle ()
 
final int getCurrentFestivalScore (int cabal)
 
final int getCurrentPeriod ()
 
final String getCurrentPeriodName ()
 
final String getCurrentPeriodNameText ()
 
final int getCurrentScore (int cabal)
 
final double getCurrentStoneScore (int cabal)
 
final int getDaysToPeriodChange ()
 
final long getMilliToPeriodChange ()
 
int getPlayerAdenaCollect (L2PcInstance player)
 
int getPlayerCabal (L2PcInstance player)
 
int getPlayerContribScore (L2PcInstance player)
 
final StatsSet getPlayerData (L2PcInstance player)
 
int getPlayerSeal (L2PcInstance player)
 
int getPlayerStoneContrib (L2PcInstance player)
 
final int getSealOwner (int seal)
 
final int getSealProportion (int seal, int cabal)
 
final int getTotalMembers (int cabal)
 
void giveCPMult (int StrifeOwner)
 
final boolean isCompResultsPeriod ()
 
boolean isDateInSealValidPeriod (Calendar date)
 
final boolean isSealValidationPeriod ()
 
void removeCPMult ()
 
void saveSevenSignsData (L2PcInstance player, boolean updateSettings)
 
void sendCurrentPeriodMsg (L2PcInstance player)
 
void sendMessageToAll (SystemMessageId sysMsgId)
 
int setPlayerInfo (L2PcInstance player, int chosenCabal, int chosenSeal)
 
void spawnSevenSignsNPC ()
 

Static Public Member Functions

static int calcAncientAdenaReward (int blueCount, int greenCount, int redCount)
 
static int calcContributionScore (int blueCount, int greenCount, int redCount)
 
static final String getCabalName (int cabal)
 
static final String getCabalNameText (int cabal)
 
static final String getCabalShortName (int cabal)
 
static SevenSigns getInstance ()
 
static final String getSealName (int seal, boolean shortName)
 
static final String getSealNameText (int seal, boolean shortName)
 

Static Public Attributes

static final String SEVEN_SIGNS_DATA_FILE = "./config/main/events/fun_events.properties"
 
static final String SEVEN_SIGNS_HTML_PATH = "data/html/seven_signs/"
 
static final int CABAL_NULL = 0
 
static final int CABAL_DUSK = 1
 
static final int CABAL_DAWN = 2
 
static final int SEAL_NULL = 0
 
static final int SEAL_AVARICE = 1
 
static final int SEAL_GNOSIS = 2
 
static final int SEAL_STRIFE = 3
 
static final int PERIOD_COMP_RECRUITING = 0
 
static final int PERIOD_COMPETITION = 1
 
static final int PERIOD_COMP_RESULTS = 2
 
static final int PERIOD_SEAL_VALIDATION = 3
 
static final int PERIOD_START_HOUR = 18
 
static final int PERIOD_START_MINS = 00
 
static final int PERIOD_START_DAY = Calendar.MONDAY
 
static List< L2SpawnANGELS = new ArrayList<>()
 
static List< L2SpawnDEMONS = new ArrayList<>()
 
static final int PERIOD_MINOR_LENGTH = 900000
 
static final int PERIOD_MAJOR_LENGTH = 604800000 - PERIOD_MINOR_LENGTH
 
static final int ANCIENT_ADENA_ID = 5575
 
static final int RECORD_SEVEN_SIGNS_ID = 5707
 
static final int CERTIFICATE_OF_APPROVAL_ID = 6388
 
static final int RECORD_SEVEN_SIGNS_COST = 500
 
static final int ORATOR_NPC_ID = 31094
 
static final int PREACHER_NPC_ID = 31093
 
static final int MAMMON_MERCHANT_ID = 31113
 
static final int MAMMON_BLACKSMITH_ID = 31126
 
static final int MAMMON_MARKETEER_ID = 31092
 
static final int SPIRIT_IN_ID = 31111
 
static final int SPIRIT_OUT_ID = 31112
 
static final int LILITH_NPC_ID = 25283
 
static final int ANAKIM_NPC_ID = 25286
 
static final int CREST_OF_DAWN_ID = 31170
 
static final int CREST_OF_DUSK_ID = 31171
 
static final int SEAL_STONE_BLUE_ID = 6360
 
static final int SEAL_STONE_GREEN_ID = 6361
 
static final int SEAL_STONE_RED_ID = 6362
 
static final int SEAL_STONE_BLUE_VALUE = 3
 
static final int SEAL_STONE_GREEN_VALUE = 5
 
static final int SEAL_STONE_RED_VALUE = 10
 
static final int BLUE_CONTRIB_POINTS = 3
 
static final int GREEN_CONTRIB_POINTS = 5
 
static final int RED_CONTRIB_POINTS = 10
 
static ScheduledFuture<?> _periodTimer
 

Protected Member Functions

void calcNewSealOwners ()
 
void initializeSeals ()
 
void resetPlayerData ()
 
void resetSeals ()
 
void restoreSevenSignsData ()
 
void setCalendarForNextPeriodChange ()
 
void teleLosingCabalFromDungeons (String compWinner)
 

Protected Attributes

int _activePeriod
 
int _currentCycle
 
double _dawnStoneScore
 
double _duskStoneScore
 
int _dawnFestivalScore
 
int _duskFestivalScore
 
int[] _dawnFestivalIdScore
 
int[] _duskFestivalIdScore
 
int _compWinner
 
int _previousWinner
 

Static Protected Attributes

static Logger _log = Logger.getLogger(SevenSigns.class.getName())
 

Member Data Documentation

◆ _dawnFestivalIdScore

int [] com.premium.game.model.entity.sevensigns.SevenSigns._dawnFestivalIdScore
protected
Initial value:
=
{
0,
0,
0,
0,
0
}

◆ _duskFestivalIdScore

int [] com.premium.game.model.entity.sevensigns.SevenSigns._duskFestivalIdScore
protected
Initial value:
=
{
0,
0,
0,
0,
0
}

The documentation for this class was generated from the following file: