⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 attrtype.lua

📁 top web admin panel (tales of pirates)
💻 LUA
📖 第 1 页 / 共 2 页
字号:
ATTR_COUNT_BASE0    = 0;
ATTR_LV             = ATTR_COUNT_BASE0 + 0; -- char level (grading role)
ATTR_HP             = ATTR_COUNT_BASE0 + 1; -- the current HP (for vessels that durable) 
ATTR_SP             = ATTR_COUNT_BASE0 + 2; -- the current SP (the vessels that supply) 
ATTR_TITLE          = ATTR_COUNT_BASE0 + 3; -- the title role 
ATTR_JOB            = ATTR_COUNT_BASE0 + 4; -- professional role 
ATTR_FAME           = ATTR_COUNT_BASE0 + 5; -- reputation 
ATTR_AP             = ATTR_COUNT_BASE0 + 6; -- Attribute points 
ATTR_TP             = ATTR_COUNT_BASE0 + 7; -- skills point 
ATTR_GD             = ATTR_COUNT_BASE0 + 8; -- money
ATTR_SPRI           = ATTR_COUNT_BASE0 + 9; -- artillery shells flying speed 
ATTR_CHATYPE        = ATTR_COUNT_BASE0 + 10; -- role in the type of control (players, NPC, monsters, etc.) 
ATTR_SAILLV         = ATTR_COUNT_BASE0 + 11; -- marine grade
ATTR_LIFELV         = ATTR_COUNT_BASE0 + 12; -- class life
ATTR_LIFETP         = ATTR_COUNT_BASE0 + 13; -- life skills points 
ATTR_BOAT_BERTH     = ATTR_COUNT_BASE0 + 14; -- berthing port
-- The following attributes within the scope of the order irrevocable 
ATTR_CEXP           = ATTR_COUNT_BASE0 + 15; -- the current experience (for vessels that Shouliandu) 
ATTR_NLEXP          = ATTR_COUNT_BASE0 + 16; -- an experience required 
ATTR_CLEXP          = ATTR_COUNT_BASE0 + 17; -- the current level of experience 
ATTR_CLEFT_SAILEXP  = ATTR_COUNT_BASE0 + 18; -- the remaining sailing experience 
ATTR_CSAILEXP       = ATTR_COUNT_BASE0 + 19; -- accumulated sailing experience (current sailing experience) 
ATTR_CLV_SAILEXP    = ATTR_COUNT_BASE0 + 20; -- the current class sailing experience 
ATTR_NLV_SAILEXP    = ATTR_COUNT_BASE0 + 21; -- the next grade class sailing experience 
ATTR_CLIFEEXP       = ATTR_COUNT_BASE0 + 22; -- the life experience 
ATTR_CLV_LIFEEXP    = ATTR_COUNT_BASE0 + 23; -- the current grading life experience 
ATTR_NLV_LIFEEXP    = ATTR_COUNT_BASE0 + 24; -- the next grade life experience 
--

ATTR_COUNT_BASE1    = 25;
ATTR_STR            = ATTR_COUNT_BASE1 + 0; -- force
ATTR_DEX            = ATTR_COUNT_BASE1 + 1; -- Focus on 
ATTR_AGI            = ATTR_COUNT_BASE1 + 2; -- Agile
ATTR_CON            = ATTR_COUNT_BASE1 + 3; -- Physique
ATTR_STA            = ATTR_COUNT_BASE1 + 4; -- energy
ATTR_LUK            = ATTR_COUNT_BASE1 + 5; -- lucky
ATTR_MXHP           = ATTR_COUNT_BASE1 + 6; -- the largest HP 
ATTR_MXSP           = ATTR_COUNT_BASE1 + 7; -- the largest SP 
ATTR_MNATK          = ATTR_COUNT_BASE1 + 8; -- Cuoxiaogongjili
ATTR_MXATK          = ATTR_COUNT_BASE1 + 9; -- the largest attack of
ATTR_DEF            = ATTR_COUNT_BASE1 + 10; -- defense force
ATTR_HIT            = ATTR_COUNT_BASE1 + 11; -- shooting
ATTR_FLEE           = ATTR_COUNT_BASE1 + 12; -- Ducking rate
ATTR_MF             = ATTR_COUNT_BASE1 + 13; -- opening rate 
ATTR_CRT            = ATTR_COUNT_BASE1 + 14; -- unexploded strike rate
ATTR_HREC           = ATTR_COUNT_BASE1 + 15; -- hp speed of recovery
ATTR_SREC           = ATTR_COUNT_BASE1 + 16; -- sp speed of recovery 
ATTR_ASPD           = ATTR_COUNT_BASE1 + 17; -- attacks interval 
ATTR_ADIS           = ATTR_COUNT_BASE1 + 18; -- the range of attack 
ATTR_MSPD           = ATTR_COUNT_BASE1 + 19; -- Mobile speed
ATTR_COL            = ATTR_COUNT_BASE1 + 20; -- resource acquisition speed
ATTR_PDEF           = ATTR_COUNT_BASE1 + 21; -- physical resistance
ATTR_BOAT_CRANGE    = ATTR_COUNT_BASE1 + 22; -- vessels of the shells exploded 
ATTR_BOAT_CSPD      = ATTR_COUNT_BASE1 + 23; -- artillery shells flying speed vessels
ATTR_BOAT_PRICE     = ATTR_COUNT_BASE1 + 24; -- the value of vessels 

ATTR_COUNT_BASE2    = 50;
ATTR_BSTR           = ATTR_COUNT_BASE2 + 0; -- basic strength --- STR
ATTR_BDEX           = ATTR_COUNT_BASE2 + 1; -- basic focus --- ACC 
ATTR_BAGI           = ATTR_COUNT_BASE2 + 2; -- basic Agile --- AGI
ATTR_BCON           = ATTR_COUNT_BASE2 + 3; -- basic physical --- CON
ATTR_BSTA           = ATTR_COUNT_BASE2 + 4; -- basic energy --- SPR
ATTR_BLUK           = ATTR_COUNT_BASE2 + 5; -- basic fortunate --- luck
ATTR_BMXHP          = ATTR_COUNT_BASE2 + 6; -- basic largest HP
ATTR_BMXSP          = ATTR_COUNT_BASE2 + 7; -- the largest basic SP
ATTR_BMNATK         = ATTR_COUNT_BASE2 + 8; -- basic Cuoxiaogongjili
ATTR_BMXATK         = ATTR_COUNT_BASE2 + 9; -- the largest attack of the basic
ATTR_BDEF           = ATTR_COUNT_BASE2 + 10; -- basic defense force
ATTR_BHIT           = ATTR_COUNT_BASE2 + 11; -- basic shooting
ATTR_BFLEE          = ATTR_COUNT_BASE2 + 12; -- evade the basic rate
ATTR_BMF            = ATTR_COUNT_BASE2 + 13; -- basic rate treasure hunt
ATTR_BCRT           = ATTR_COUNT_BASE2 + 14; -- basic explosive strike rate
ATTR_BHREC          = ATTR_COUNT_BASE2 + 15; -- basic hp speed of recovery 
ATTR_BSREC          = ATTR_COUNT_BASE2 + 16; -- basic (sp role in the speed of recovery) (vessels consumption rate) 
ATTR_BASPD          = ATTR_COUNT_BASE2 + 17; -- basic attacks interval 
ATTR_BADIS          = ATTR_COUNT_BASE2 + 18; -- Basic range of attack 
ATTR_BMSPD          = ATTR_COUNT_BASE2 + 19; -- basic mobile speed
ATTR_BCOL           = ATTR_COUNT_BASE2 + 20; -- basic resource acquisition speed
ATTR_BPDEF          = ATTR_COUNT_BASE2 + 21; -- basic physical resistance 
ATTR_BOAT_BCRANGE   = ATTR_COUNT_BASE2 + 22; -- basic vessels explosion of shells
ATTR_BOAT_BCSPD     = ATTR_COUNT_BASE2 + 23; -- basic shells flying speed vessels 

ATTR_COUNT_BASE3    = 74;
ATTR_ITEMC_STR      = ATTR_COUNT_BASE3 + 0; -- forces props coefficient (item coefficient) Addition 
ATTR_ITEMC_AGI      = ATTR_COUNT_BASE3 + 1; -- Agile props coefficient Addition 
ATTR_ITEMC_DEX      = ATTR_COUNT_BASE3 + 2; -- Focus on props coefficient Addition
ATTR_ITEMC_CON      = ATTR_COUNT_BASE3 + 3; -- physical props coefficient Addition
ATTR_ITEMC_STA      = ATTR_COUNT_BASE3 + 4; -- props energy coefficient Addition
ATTR_ITEMC_LUK      = ATTR_COUNT_BASE3 + 5; -- lucky props coefficient Addition 
ATTR_ITEMC_ASPD     = ATTR_COUNT_BASE3 + 6; -- attacks interval props coefficient Addition 
ATTR_ITEMC_ADIS     = ATTR_COUNT_BASE3 + 7; -- attack from the props coefficient Addition 
ATTR_ITEMC_MNATK    = ATTR_COUNT_BASE3 + 8; -- Cuoxiaogongjili props coefficient Addition
ATTR_ITEMC_MXATK    = ATTR_COUNT_BASE3 + 9; -- the largest attack of props coefficient Addition
ATTR_ITEMC_DEF      = ATTR_COUNT_BASE3 + 10; -- defense of props coefficient Addition 
ATTR_ITEMC_MXHP     = ATTR_COUNT_BASE3 + 11; -- the largest HP props coefficient Addition
ATTR_ITEMC_MXSP     = ATTR_COUNT_BASE3 + 12; -- the largest coefficient SP props Addition
ATTR_ITEMC_FLEE     = ATTR_COUNT_BASE3 + 13; -- Ducking rate coefficient props Addition
ATTR_ITEMC_HIT      = ATTR_COUNT_BASE3 + 14; -- hit rate coefficient props Addition 
ATTR_ITEMC_CRT      = ATTR_COUNT_BASE3 + 15; -- props explosion hit rate coefficient Addition
ATTR_ITEMC_MF       = ATTR_COUNT_BASE3 + 16; -- treasure hunting props rate coefficient Addition
ATTR_ITEMC_HREC     = ATTR_COUNT_BASE3 + 17; -- hp speed of recovery coefficient props Addition
ATTR_ITEMC_SREC     = ATTR_COUNT_BASE3 + 18; -- sp speed of recovery coefficient props Addition
ATTR_ITEMC_MSPD     = ATTR_COUNT_BASE3 + 19; -- Mobile speed props coefficient Addition 
ATTR_ITEMC_COL      = ATTR_COUNT_BASE3 + 20; -- props resources acquisition speed coefficient Addition
ATTR_ITEMC_PDEF     = ATTR_COUNT_BASE3 + 21; -- physical resistance coefficient props Addition 

ATTR_COUNT_BASE4    = 96;
ATTR_ITEMV_STR      = ATTR_COUNT_BASE4 + 0; -- numerical strength props (item value) Addition 
ATTR_ITEMV_AGI      = ATTR_COUNT_BASE4 + 1; -- Agile props numerical Addition 
ATTR_ITEMV_DEX      = ATTR_COUNT_BASE4 + 2; -- Focus on props numerical Addition 
ATTR_ITEMV_CON      = ATTR_COUNT_BASE4 + 3; -- Numerical physical props Addition
ATTR_ITEMV_STA      = ATTR_COUNT_BASE4 + 4; -- Numerical energy props Addition
ATTR_ITEMV_LUK      = ATTR_COUNT_BASE4 + 5; -- lucky props numerical Addition
ATTR_ITEMV_ASPD     = ATTR_COUNT_BASE4 + 6; -- Addition attack numerical interval props

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -