📄 gefg_cas01.txt
字号:
//仓库职员 雇用 / 解雇
L_M5:
// npcStatus = AgitNpcGet AGIT_NPC_CONTAINER AN_VISIBLE
if (GetCastleData("gefg_cas01.gat",9) == 1) goto L_M5_A;
goto L_M5_B;
L_M5_A://if npcStatus == 1
mes "[管理人格讷合哲]";
mes "现在已经是 ,雇用卡普拉职员的状态啰... 你要解雇卡普拉职员吗 ?";
next;
menu "要解雇 ",L_M5_A_M1,"取消 ",L_M5_A_M2;
L_M5_A_M1:
cutin "kafra_01.bmp",2;
mes "[ 雇用的 卡普拉职员 ]";
mes "过去我那么用心的工作了... 你真的要把我解雇吗?... 请主人发挥最大的雅量再给一次机会...请你再考虑一次好吗 ...";
next;
menu "要解雇 ",L_M5_A_M1_M1,"取消 ",L_M5_A_M1_M2;
L_M5_A_M1_M1:
mes "[ 雇用的 卡普拉职员 ]";
mes "呜哇啊! 太过份了! 怎么可以这样啊 ~";
next;
cutin "kafra_01.bmp",255;
// AgitNpcSet AGIT_NPC_CONTAINER AN_VISIBLE 0
disablenpc "卡普拉 职员#gef1";
setcastledata "gefg_cas01.gat",9,0;
mes "[管理人格讷合哲]";
mes "....";
mes "已经把卡普拉职员解雇了... 不过 ,还有什么地方不满意吗?";
close;
end;
L_M5_A_M1_M2:
mes "[ 雇用的 卡普拉职员 ]";
mes "我会努力的... 谢谢 ";
close;
end;
L_M5_A_M2:
mes "[管理人格讷合哲]";
mes "依我看,卡普拉职员非常努力的工作 ,为了其它会员们着想,就继续留着她吧";
close;
end;
L_M5_B://else(雇用)
mes "[管理人格讷合哲]";
mes "和卡普拉总公司订契约后 ,想要在秘密基地里面 ,雇用卡普拉职员吗 ?";
mes "^ff0000 想要雇用的话,需要 10000金币... ";
next;
menu "要雇用 ",L_M5_B_M1,"取消 ",L_M5_B_M2;
L_M5_B_M1:
// skLevel = AgitGet AGIT_KAFRA_SKILL
// -----工会技能 ,有和卡普拉订契约的技能吗? --------------------
set @Kafra_Skill,getgdskilllv(@GIDg1,GD_KAFRACONTACT);
if (@Kafra_Skill == 0) goto L_M5_B_M1_A;
if (Zeny < 10000) goto L_M5_B_M1_B;
set Zeny,Zeny-10000;
// AgitNpcSet AGIT_NPC_CONTAINER AN_VISIBLE 1
// AgitFunc AF_SET_PAY_TIME 0 0
enablenpc "卡普拉 职员#gef1";
setcastledata "gefg_cas01.gat",9,1;
mes "[管理人格讷合哲]";
mes "成功的和卡普拉总公司订契约了,你已经雇用卡普拉职员了";
next;
cutin "kafra_01.bmp",2;
mes "[ 雇用的 卡普拉职员 ]";
mes "您好 ,我是总公司派来的卡普拉职员";
mes "我不会让工会的名誉沾上污点 ,所以我会努力的工作";
next;
cutin "kafra_01.bmp",255;
mes "[管理人格讷合哲]";
mes "雇用的卡普拉职员 ,有一个月的契约期间 ,过了一个月后,在续缴金额";
mes "现在开始,会员们的辛劳会慢慢的减轻了 ";
close;
end;
L_M5_B_M1_A:
mes "[管理人格讷合哲]";
mes "主人 ,如今还没跟卡普拉总公司订契约的状况,所以还不能雇用卡普拉职员 ,假如想要跟卡普拉总公司签订契约的话 ,先学会工会技能中 ^ff0000和卡普拉订契约^000000 的技能吧";
close;
end;
L_M5_B_M1_B://if v[VAR_MONEY] < 10000
mes "[管理人格讷合哲]";
mes "很抱歉... 现在工会里的储蓄 ,不够所需的金额,所以雇用卡普拉职员失败 .";
close;
end;
L_M5_B_M2:
mes "[管理人格讷合哲]";
mes "我已经按照你的吩咐做了 ,不过也要为了辛苦的会员着想,早日雇用卡普拉职员为上策啊";
close;
end;
L_M6:
mes "[管理人格讷合哲]";
mes "要到我们生产品囤积的,真贵物品房间吗?";
mes "那个地方是为了我们的主人,的专属于你的地方... 除了你之外,其它人都不能其门而入";
next;
menu "要进入主人的房间",L_M6_M1,"取消",L_M6_M2;
L_M6_M1:
mes "[管理人格讷合哲]";
mes "我将为你服务到秘密通道那里,请跟我来 ";
mes "回来的时候,按下秘密按钮即可 ";
next;
warp "gefg_cas01.gat",152,117;
end;
L_M6_M2:
mes "[管理人格讷合哲]";
mes "生产品一天只生产一次 . . . 假如没有即时收走的话,下一次就不能进来了";
mes "所以说为了我们工会的发展,尽量花点时间去收取啊";
close;
end;
// 让出秘密基地
//~ L_M7:
//~ mes "[管理人格讷合哲]";
//~ mes "主人!!";
//~ mes "你说真的要放弃,让我们用鲜血换来的秘密基地吗?!";
//~ mes "假如真的要结束的话,在这些日子以来,我们所流的血,到底有什么意义呢!";
//~ mes "请再做考虑考虑吧! 主人!!";
//~ next;
//~ menu "让出秘密基地",L_M7_M1,"取消",L_M7_M2;
//~ L_M7_M1:
//~ mes "[管理人格讷合哲]";
//~ mes "主人!!请三思而后行啊 ,主人!!";
//~ mes "这期间所流的血!! 想到那些牺牲你不能这样做啊!!";
//~ next;
//~ menu "取消",L_M7_M1_M1,"让出秘密基地",L_M7_M2_M2;
//~ L_M7_M1_M1:
//~ mes "[管理人格讷合哲]";
//~ mes "我就知道你会这样做的 ,主人!!";
//~ mes "拜讬你了 ,即时是开玩笑,请你下一次不要讲这种话";
//~ close;
//~ end;
//~ L_M7_M1_M2:
//~ mes "[管理人格讷合哲]";
//~ mes "主人!!.....";
//~ mes "......主 .....主人 ......";
//~// AgitSet AGIT_GUILD 0
//~ close;
//~ setcastledata "gefg_cas01.gat",1,0;
//~ setcastledata "gefg_cas01.gat",2,0;
//~ setcastledata "gefg_cas01.gat",3,0;
//~ setcastledata "gefg_cas01.gat",4,0;
//~ setcastledata "gefg_cas01.gat",5,0;
//~ setcastledata "gefg_cas01.gat",6,0;
//~ setcastledata "gefg_cas01.gat",7,0;
//~ setcastledata "gefg_cas01.gat",8,0;
//~ setcastledata "gefg_cas01.gat",9,0;
//~ setcastledata "gefg_cas01.gat",10,0;
//~ setcastledata "gefg_cas01.gat",11,0;
//~ setcastledata "gefg_cas01.gat",12,0;
//~ setcastledata "gefg_cas01.gat",13,0;
//~ setcastledata "gefg_cas01.gat",14,0;
//~ setcastledata "gefg_cas01.gat",15,0;
//~ setcastledata "gefg_cas01.gat",16,0;
//~ setcastledata "gefg_cas01.gat",17,0;
//~ Announce "秘密基地[" + GetCastleName("gefg_cas01.gat") + "]被[" + GetGuildName(@GIDg1) + "]工会出让了",0;
//~ MapRespawnGuildID "gefg_cas01.gat",GetCastleData("gefg_cas01.gat",1),7;
//~ end;
//~ L_M7_M2:
//~ mes "[管理人格讷合哲]";
//~ mes "我就知道你会这样做的 ,主人!!";
//~ mes "拜讬你了 ,即时是开玩笑,请你下一次不要讲这种话";
//~ close;
//~ end;
OnClock0000://重新致能每天能投资2点数值
SetCastleData "gefg_cas01.gat",4,0;
SetCastleData "gefg_cas01.gat",5,0;
end;
OnAgitStart:
disablenpc "卡普拉 职员#gef1";
End;
OnRecvCastleG01:
if ($@vMap_AgitFlag_G01 >= 1) end;
OnAgitEnd:
if (getcastledata("gefg_cas01.gat",9) != 0) enablenpc "卡普拉 职员#gef1";
End;
}
gefg_cas01.gat,1,1,1 script GDgef01 -1,{
OnAgitStart:
//OnRecvCastleG01:
// 当工会里空无人时,可以召唤魔物以测点名.
if (GetCastleData("gefg_cas01.gat",1) == 0) goto L_Mob;
if (GetCastleData("gefg_cas01.gat",1) != 0) goto L_Guardian;
end;
L_Mob:
areamonster "gefg_cas01.gat",0,0,300,300,"闇神官",1117,10;
areamonster "gefg_cas01.gat",0,0,300,300,"风魔巫师",1263,11;
areamonster "gefg_cas01.gat",0,0,300,300,"巫婆",1102,10;
areamonster "gefg_cas01.gat",0,0,300,300,"南瓜先生",1130,10;
areamonster "gefg_cas01.gat",0,0,300,300,"马尔杜克",1140,20;
areamonster "gefg_cas01.gat",0,0,300,300,"幽灵剑士",1163,9;
areamonster "gefg_cas01.gat",0,0,300,300,"爱丽丝女仆",1275,1;
areamonster "gefg_cas01.gat",0,0,300,300,"深渊骑士",1219,1;
areamonster "gefg_cas01.gat",0,0,300,300,"月夜猫",1150,1;
areamonster "gefg_cas01.gat",0,0,300,300,"皮里恩",1159,1;
monster "gefg_cas01.gat",197,181,"弑神者",1203,1;
monster "gefg_cas01.gat",197,181,"兽人英雄",1087,1;
monster "gefg_cas01.gat",197,181,"兽人战士长",1213,10;
monster "gefg_cas01.gat",197,181,"兽人弓箭手",1189,10;
end;
L_Guardian:
if (GetCastleData("gefg_cas01.gat",10) != 0) monster "gefg_cas01.gat",67,179,"外城 士兵 监护人",1287,1,"GDgef01::OnGD1Dead";
if (GetCastleData("gefg_cas01.gat",11) != 0) monster "gefg_cas01.gat",36,186,"外城 弓箭手 监护人",1285,1,"GDgef01::OnGD2Dead";
if (GetCastleData("gefg_cas01.gat",12) != 0) monster "gefg_cas01.gat",50,186,"外城 弓箭手 监护人",1285,1,"GDgef01::OnGD3Dead";
if (GetCastleData("gefg_cas01.gat",13) != 0) monster "gefg_cas01.gat",62,41,"内城 士兵 监护人",1287,1,"GDgef01::OnGD4Dead";
if (GetCastleData("gefg_cas01.gat",14) != 0) monster "gefg_cas01.gat",50,67,"内城 骑士 监护人",1286,1,"GDgef01::OnGD5Dead";
if (GetCastleData("gefg_cas01.gat",15) != 0) monster "gefg_cas01.gat",184,20,"内城 士兵 监护人",1287,1,"GDgef01::OnGD6Dead";
if (GetCastleData("gefg_cas01.gat",16) != 0) monster "gefg_cas01.gat",189,41,"内城 骑士 监护人",1286,1,"GDgef01::OnGD7Dead";
if (GetCastleData("gefg_cas01.gat",17) != 0) monster "gefg_cas01.gat",200,167,"首领 监护人",1286,1,"GDgef01::OnGD8Dead";
end;
OnGD1Dead:
setcastledata "gefg_cas01.gat",10,0;
// MapAnnounce "gefg_cas01.gat","工会守护者‘战士’01 被破坏了",17;
// set @Deffence,GetCastleData("gefg_cas01.gat",3);
// if (@Deffence < 100) End;
// set @Deffence,@Deffence-100;
// SetCastleData "gefg_cas01.gat",3,@Deffence;
end;
OnGD2Dead:
SetCastleData "gefg_cas01.gat",11,0;
// MapAnnounce "gefg_cas01.gat","工会守护者‘战士’02 被破坏了, 防御度下降",17;
end;
OnGD3Dead:
SetCastleData "gefg_cas01.gat",12,0;
// MapAnnounce "gefg_cas01.gat","工会守护者‘弓箭手’01 被破坏了, 防御度下降",17;
end;
OnGD4Dead:
SetCastleData "gefg_cas01.gat",13,0;
// MapAnnounce "gefg_cas01.gat","工会守护者‘弓箭手’02 被破坏了, 防御度下降",17;
end;
OnGD5Dead:
SetCastleData "gefg_cas01.gat",14,0;
// MapAnnounce "gefg_cas01.gat","工会守护者‘弓箭手’03 被破坏了, 防御度下降",17;
end;
OnGD6Dead:
SetCastleData "gefg_cas01.gat",15,0;
// MapAnnounce "gefg_cas01.gat","工会守护者‘骑士’01 被破坏了, 防御度下降",17;
end;
OnGD7Dead:
SetCastleData "gefg_cas01.gat",16,0;
// MapAnnounce "gefg_cas01.gat","工会守护者‘骑士’02 被破坏了, 防御度下降",17;
end;
OnGD8Dead:
SetCastleData "gefg_cas01.gat",17,0;
// MapAnnounce "gefg_cas01.gat","工会守护者‘骑士’03 被破坏了, 防御度下降",17;
end;
OnAgitEnd:
KillMonster "gefg_cas01.gat","GDgef01::OnGD1Dead";
KillMonster "gefg_cas01.gat","GDgef01::OnGD2Dead";
KillMonster "gefg_cas01.gat","GDgef01::OnGD3Dead";
KillMonster "gefg_cas01.gat","GDgef01::OnGD4Dead";
KillMonster "gefg_cas01.gat","GDgef01::OnGD5Dead";
KillMonster "gefg_cas01.gat","GDgef01::OnGD6Dead";
KillMonster "gefg_cas01.gat","GDgef01::OnGD7Dead";
KillMonster "gefg_cas01.gat","GDgef01::OnGD8Dead";
end;
}
gefg_cas01.gat,152,117,0 script 主人房的宝箱#gef1 -1,{
OnClock0010:
killmonster "gefg_cas01.gat","T_Box_G01";
end;
OnClock0030:
if (GetCastleData("gefg_cas01.gat",1) == 0) end;
set $@vMap_Economy_G01,GetCastleData("gefg_cas01.gat",2);
//Basic T_Box
monster "gefg_cas01.gat",153,113,"宝箱",rand(1334,1335),1,"T_Box_G01";
monster "gefg_cas01.gat",154,113,"宝箱",rand(1334,1335),1,"T_Box_G01";
monster "gefg_cas01.gat",154,112,"宝箱",rand(1334,1335),1,"T_Box_G01";
monster "gefg_cas01.gat",153,112,"宝箱",rand(1334,1335),1,"T_Box_G01";
//Economy T_Box
if ($@vMap_Economy_G01 >= 5) monster "gefg_cas01.gat",151,115,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 10) monster "gefg_cas01.gat",152,115,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 15) monster "gefg_cas01.gat",153,115,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 20) monster "gefg_cas01.gat",154,115,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 25) monster "gefg_cas01.gat",155,115,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 30) monster "gefg_cas01.gat",156,115,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 35) monster "gefg_cas01.gat",156,114,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 40) monster "gefg_cas01.gat",156,113,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 45) monster "gefg_cas01.gat",156,112,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 50) monster "gefg_cas01.gat",156,111,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 55) monster "gefg_cas01.gat",156,110,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 60) monster "gefg_cas01.gat",155,110,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 65) monster "gefg_cas01.gat",154,110,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 70) monster "gefg_cas01.gat",153,110,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 75) monster "gefg_cas01.gat",152,110,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 80) monster "gefg_cas01.gat",151,110,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 85) monster "gefg_cas01.gat",151,111,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 90) monster "gefg_cas01.gat",151,112,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 >= 95) monster "gefg_cas01.gat",151,113,"宝箱",rand(1334,1335),1,"T_Box_G01";
if ($@vMap_Economy_G01 > 99) monster "gefg_cas01.gat",151,114,"宝箱",rand(1334,1335),1,"T_Box_G01";
end;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -