Пользовательские дополнения

На главную


mwar.GetCommonInfo()

Выдаёт ряд общих параметров механики Доминион.

-- библиотека
mwar

-- объявление:
function GetCommonInfo()

-- параметры
нет

-- возвращаемые значения
table или nil - если есть информация, то таблица с полями:
  serviceResourceIncreaseMax: number (integer) - максимальное значение увеличения эффективности при создании обслуживающего ресурса ("Могущество").
  serviceResourceIncomeIncrease: number (float) - шаг увеличения эффективности при создании обслуживающего ресурса.
  serviceResourceExchangeCost: number (integer) - стоимость покупки (в меди) одной единицы обслуживающего ресурса.
  serviceResourceCostIncrease: number (float) - увеличение стоимости покупки с каждым увеличением эффективности (множитель).
  serviceResource: CurrencyId или nil - обслуживающий ресурс гильдии игрока ("Могущество")
  regionProgressIncome: number (integer) -
  pvpResource: CurrencyId или nil - PvP-ресурс гильдии игрока ("Слава")
  pveResource: CurrencyId или nil - PvE-ресурс гильдии игрока ("Престиж")
  mapProgressCounterCap: number (integer) - Максимальное значение прогресса карты Доминион
  serviceResourceExchangeFactor: number (float) - курс обмена PvP- и PvE-ресурсов на обслуживающий ресурс
  minResourceEffectivnessFactor: number (float) - коэффициент уменьшения эффективность покупки обслуживающего ресурса, при большой разнице между PvP- и PvE-ресурсами
  maxInitialAttackSectorsCount: number (integer) - максимально количество секторов, которое можно атаковать изначально
  championFightsTimes: table или nil - список возможных времён начала сражений за сектора (см. mwar.SetSectorBattleTime( sectorId )), индексированная целыми числами (начиная от 0) таблица, формат элементов:
    entries: table или nil - список времён начала раундов сражения, значения - TimeTableId

-- пример использования
local info = mwar.GetCommonInfo()

См. также

Search: "CategoryLuaApi" "CategoryMWar"

AstralRegionId
AstralSectorId
CategoryMWar
EventMWarFlagCostsChanged
EventMWarLadderChanged
EventMWarMapAdded
EventMWarMapChanged
EventMWarMapRemoved
EventMWarQueueChanched
EventMWarRatingProgressChanged
EventMWarSectorChanged
FunctionAstralGetSectorEdgesById
FunctionAstralGetSectorInfoById
FunctionMWarAbandon
FunctionMWarBuyServiceResource
FunctionMWarCanCommand
FunctionMWarCanPlanning
FunctionMWarGetBattleSector
FunctionMWarGetCommonInfo
FunctionMWarGetCommonMatchMakingInfo
FunctionMwarGetCurrentBattleInfo
FunctionMWarGetFlagCosts
FunctionMWarGetGuildHistory
FunctionMWarGetGuildInfo
FunctionMWarGetGuildInterestSectors
FunctionMWarGetGuildName
FunctionMWarGetGuildSymbolics
FunctionMWarGetInfluenceMap
FunctionMWarGetLadderInfo
FunctionMWarGetMapProgressCounter
FunctionMWarGetOwnerGuild
FunctionMWarGetOwnershipMap
FunctionMWarGetQueueInfo
FunctionMWarGetRatingProgressInfo
FunctionMWarGetRegionProgress
FunctionMWarGetRegions
FunctionMWarGetRegionSectors
FunctionMwarGetSectorBattleTime
FunctionMWarGetSectorHistory
FunctionMWarGetSectorLevel
FunctionMWarGetSectors
FunctionMWarGetSectorStake
FunctionMwarGetServiceResourceCost
FunctionMWarJoinRequestRaid
FunctionMwarLeaveSectorBattleQueue
FunctionMWarPrepareAttack
FunctionMwarQueueSectorBattle
FunctionMWarReplicateLadder
FunctionMWarReplicateMap
FunctionMwarSetSectorBattleTime
FunctionMWarStake
InstancedEventResourceId
LootGroupId
TimeTableId


CategoryLuaApi CategoryFunction CategoryMWar

На главную