350 lines
5.7 KiB
JavaScript
350 lines
5.7 KiB
JavaScript
import {
|
||
EAttrTypeL1
|
||
} from "../ts/core/EEnum";
|
||
|
||
let EquipTypeNumerical = [
|
||
EAttrTypeL1.ATK,
|
||
EAttrTypeL1.SPD,
|
||
EAttrTypeL1.DEFEND_ADD,
|
||
EAttrTypeL1.PHY_COMBO,
|
||
EAttrTypeL1.HP_MAX,
|
||
EAttrTypeL1.MP_MAX,
|
||
EAttrTypeL1.BONE,
|
||
EAttrTypeL1.SPIRIT,
|
||
EAttrTypeL1.STRENGTH,
|
||
EAttrTypeL1.DEXTERITY,
|
||
|
||
EAttrTypeL1.GOLD,
|
||
EAttrTypeL1.WOOD,
|
||
EAttrTypeL1.WATER,
|
||
EAttrTypeL1.FIRE,
|
||
EAttrTypeL1.SOIL,
|
||
];
|
||
exports.EquipTypeNumerical = EquipTypeNumerical;
|
||
|
||
// 戰鬥回合動作
|
||
let ActType = {
|
||
Skill: 1,
|
||
Item: 2,
|
||
Summon: 3,
|
||
RunAway: 4, // 逃跑
|
||
Protect: 5, // 保護
|
||
Catch: 6, //捕捉
|
||
SummonBack: 7, //召還
|
||
};
|
||
exports.ActType = ActType;
|
||
|
||
// 戰鬥回合內 響應
|
||
let BtlRespone = {
|
||
NoThing: 0, // 無響應
|
||
Defense: 1, // 防禦
|
||
Dodge: 2, // 閃避
|
||
CriticalHit: 3, // 暴擊
|
||
Catched: 4, // 被抓
|
||
NoCatch: 5, // 不能被抓
|
||
CatchFail: 6, // 捕捉失敗
|
||
Protect: 7,
|
||
BeProtected: 8, //被保護
|
||
SummonBack: 9,
|
||
Summon: 10,
|
||
SummonFaild: 11,
|
||
PoFang: 12,
|
||
};
|
||
exports.BtlRespone = BtlRespone;
|
||
|
||
class CArriveCallBack {
|
||
constructor(x, y, callback, data) {
|
||
this.x = x;
|
||
this.y = y;
|
||
this.callback = callback;
|
||
this.data = data;
|
||
}
|
||
}
|
||
|
||
exports.CArriveCallBack = CArriveCallBack;
|
||
|
||
let EChuZhanState = {
|
||
ERest: 0,
|
||
EFight: 1
|
||
};
|
||
|
||
module.exports.EChuZhanState = EChuZhanState;
|
||
|
||
let limitWordList = [
|
||
'系統',
|
||
'官方',
|
||
'測試',
|
||
'gm',
|
||
'Gm',
|
||
'GM',
|
||
'管理',
|
||
'Q群',
|
||
'QQ',
|
||
'微信',
|
||
'內測',
|
||
'內部',
|
||
'技術',
|
||
'公告',
|
||
'公測',
|
||
'垃圾',
|
||
'裙',
|
||
'毛澤東',
|
||
'周恩來',
|
||
'劉少奇',
|
||
'習近平',
|
||
'李克強',
|
||
'群',
|
||
'君羊',
|
||
'朱德',
|
||
'丁磊',
|
||
'操',
|
||
'日',
|
||
'幹',
|
||
'你媽',
|
||
];
|
||
exports.limitWordList = limitWordList;
|
||
|
||
let TitleType = {
|
||
IMGTitle: 0, //圖片類稱謂
|
||
CommonTitle: 1, //普通文字稱謂,如幫派類稱謂
|
||
BroTitle: 2, //結拜類稱謂
|
||
CoupleTitle: 3, //夫妻類稱謂
|
||
};
|
||
|
||
exports.TitleType = TitleType;
|
||
|
||
let RoleTitleInfoType = {
|
||
Admin: 1,
|
||
ShuiLuZhanShen: 86,
|
||
SanCaiTongZi: 43,
|
||
Couple: 200,
|
||
Brother: 201,
|
||
BangZhong: 221,
|
||
TangZhu: 222,
|
||
ZhangLao: 223,
|
||
YouHuFa: 224,
|
||
ZuoHuFa: 225,
|
||
FuBangZhu: 226,
|
||
BangZhu: 227,
|
||
};
|
||
|
||
exports.RoleTitleInfoType = RoleTitleInfoType;
|
||
|
||
let RoleTitleList = [{
|
||
id: 1,
|
||
name: '遊戲管理員',
|
||
desc: '負責管理遊戲內各種違規現象',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 20,
|
||
name: '天人合一',
|
||
desc: '天與地合,人與天合',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 29,
|
||
name: '馳騁江湖',
|
||
desc: '馳騁江湖,快意恩仇',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 30,
|
||
name: '馬到成功',
|
||
desc: '馬都到了,事能不成嗎? ',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 43,
|
||
name: '財大氣粗',
|
||
desc: '有錢,說話就是硬氣',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 44,
|
||
name: '超群絕倫',
|
||
desc: '人群中你最亮眼',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 46,
|
||
name: '豐功偉績',
|
||
desc: '前無古人,後無來者',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 47,
|
||
name: '富甲天下',
|
||
desc: '天底下最有錢的人',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 56,
|
||
name: '武林高手',
|
||
desc: '武林中已經有你這號人了',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 57,
|
||
name: '武林奇才',
|
||
desc: '骨骼驚奇,練武奇才',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 58,
|
||
name: '武林英傑',
|
||
desc: '天下武林,英雄豪傑',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 59,
|
||
name: '武林至尊',
|
||
desc: '武林上下,唯吾獨尊',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 60,
|
||
name: '武林宗師',
|
||
desc: '武林中,德高望重,人人敬仰',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 65,
|
||
name: '三界豪傑',
|
||
desc: '三界之內,英雄豪傑',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 78,
|
||
name: '三界首善',
|
||
desc: '三界之內的大善人',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 86,
|
||
name: '水陸戰神',
|
||
desc: '水陸大會的不敗戰神',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 96,
|
||
name: '天地英雄',
|
||
desc: '天地之間,汝為英雄',
|
||
type: 0
|
||
},
|
||
{
|
||
id: 200,
|
||
name: '夫妻',
|
||
desc: '夫妻搭配,幹活不累',
|
||
type: 3
|
||
},
|
||
{
|
||
id: 201,
|
||
name: '結拜',
|
||
desc: '打架,拼的就是人多',
|
||
type: 2
|
||
},
|
||
{
|
||
id: 221,
|
||
name: '幫眾',
|
||
desc: '的小蝦米,只能打醬油',
|
||
type: 1
|
||
},
|
||
{
|
||
id: 222,
|
||
name: '堂主',
|
||
desc: '的堂主,大小也算是個乾部了',
|
||
type: 1
|
||
},
|
||
{
|
||
id: 223,
|
||
name: '長老',
|
||
desc: '的長老,幫會中層,有望更上一層',
|
||
type: 1
|
||
},
|
||
{
|
||
id: 224,
|
||
name: '右護法',
|
||
desc: '的右護法,幫會高層,參與幫務管理',
|
||
type: 1
|
||
},
|
||
{
|
||
id: 225,
|
||
name: '左護法',
|
||
desc: '的左護法,幫會高層,參與幫務管理',
|
||
type: 1
|
||
},
|
||
{
|
||
id: 226,
|
||
name: '副幫主',
|
||
desc: '的副幫主,一人之上,萬人之下',
|
||
type: 1
|
||
},
|
||
{
|
||
id: 227,
|
||
name: '幫主',
|
||
desc: '的幫主,幫會上下,唯吾獨尊',
|
||
type: 1
|
||
},
|
||
];
|
||
|
||
|
||
exports.RoleTitleList = RoleTitleList;
|
||
|
||
|
||
let RelationType = {
|
||
Brother: 0, // 結拜
|
||
Couple: 1, // 結婚
|
||
};
|
||
exports.RelationType = RelationType;
|
||
|
||
let RelationTypeMembersCount = {
|
||
[RelationType.Brother]: 5,
|
||
[RelationType.Couple]: 2,
|
||
};
|
||
exports.RelationTypeMembersCount = RelationTypeMembersCount;
|
||
|
||
let relationActionType = {
|
||
Bro_Create: 0,
|
||
Bro_Leave: 1,
|
||
Bro_Destroy: 2,
|
||
};
|
||
exports.relationActionType = relationActionType;
|
||
|
||
//target:1 玩家,2 NPC
|
||
let relationMsg = [{
|
||
action: 0,
|
||
msg1: '蒼天在上,我與',
|
||
msg2: '在此義結金蘭,今後有福同享有難同當[32]',
|
||
target: 1
|
||
},
|
||
{
|
||
action: 0,
|
||
msg1: '不求同年同月同日生,但求同年同月日死[32]',
|
||
msg2: '',
|
||
target: 1
|
||
},
|
||
{
|
||
action: 0,
|
||
msg1: '皇天在上,厚土在下,此心明鑑,永不負約[32]',
|
||
msg2: '',
|
||
target: 1
|
||
},
|
||
{
|
||
action: 0,
|
||
msg1: '[23]樹有雙生之宜,人有同心之交,恭喜',
|
||
msg2: '人能遇見有緣的對方[23]',
|
||
target: 2
|
||
},
|
||
{
|
||
action: 0,
|
||
msg1: '望',
|
||
msg2: '人能夠相伴終生,祝此情永存[23]',
|
||
target: 2
|
||
},
|
||
];
|
||
|
||
exports.relationMsg = relationMsg;
|
||
exports.schemeUseMoney = 10000000;
|
||
exports.schemeActiveMoney = 100000;
|
||
exports.resetXiulian = 200000; |