- 战神引擎
- AIDA64 Extreme完整版 2023-7-23
- HBuilderX app懒人制作 2023-7-13
- 2024 全新天龙荣耀竖版,客户端,服务端全套,带合区工具,带内置玩家后台,特效全开 5月前
- 林俊杰全套14张无损音乐专辑 2021-8-25
- 战神引擎
- V8
- lua
- 脚本
- 传奇
- 安卓
- 天花板
- Linux
- 冰雪
- 手工端
- 手游
- 数据库
- 系统
- unity
- 666
- 原神
- 传奇3
- 单机
- 热个人人格
- 176
- 复古
- 野径云俱黑赶快
- 群服
- CentOS
- 特色
- 存档
- 破解版
- 问题
- 盘古
- 白猪
- 离线版
- 话题
- 图片
- 格式
- 沉默
- 光芒引擎
- 说明书
- 富士康
- iPhone
- 游戏
- 阅读
- 小说
- 种子
- 磁力搜索
- Controller
- 代码
- TeamViewer
- 向日葵
- 君临
- 真三国
- sql
- 攻略
- 雷神
- 新春
- 情怀
- 魔兽
- 单机传奇
- 酷狗
- 下载
- 探秘
- 3proxy
- 登录
- sxg
- Gee
- 机场推荐
- 梯子推荐
- 丛林肉搏
- 第一版
- 苹果
- XO引擎
- socks5
- 硬盘
- 检测
- 翻墙
- 黑神话
- 黑神话悟空
- 热血传奇
- 客户端
835
0
2
返回
攻击触发备份
夜
发布于 2023-8-16
var Victim:TPlayer;//声明被攻击玩家对象
xulie,xulie15,xulie30,jilv,sjyu,zhengying,dengji,jinyan,jinbi,wupin,jinbi15,jinyan15,jinyan30,jinbi30:integer;
mo,mo15,mo30,wupinl: string;
begin
jilv:= random(10000);
xulie:= random(60);
xulie15:= random(109);
xulie30:= random(390);
dengji:= random(100);
zhengying:=random(4);
mo:= ReadIniSectionStr('怪物.txt','怪物',inttostr(xulie));
mo15:= ReadIniSectionStr('怪物.txt','怪物15',inttostr(xulie15));
mo30:= ReadIniSectionStr('怪物.txt','怪物30',inttostr(xulie30));
jinbi:=random(10000);
jinyan:=random(1000);
jinbi15:=random(20000);
jinyan15:=random(2000);
jinbi30:=random(30000);
jinyan30:=random(3000);
sjyu:= random(100);
wupin:=random(10);
case wupin of
0:wupinl:= '';
1:wupinl:= '修复神水';
2:wupinl:= '魔血石(小)';
3:wupinl:= '鸡肉';
4:wupinl:= '鹿肉';
5:wupinl:= '祝福油';
6:wupinl:= '强效太阳水';
7:wupinl:= '超级金创药';
8:wupinl:= '超级魔法药';
9:wupinl:= '疗伤药罐';
end;
if jilv < 300 then
begin
if (not IsPlayer) and ('练功师'<> VictimName) then
begin
if This_Player.Level < 20 then
begin
if sjyu > 95 then
begin
This_Player.Give(wupinl,1);
This_Player.PlayerNotice('你触发了获得'+wupinl ,6);
//ServerSay('刷2!!'+mo,3);
end else
if sjyu > 90 then
begin
This_Player.Give('经验',jinyan);
This_Player.PlayerNotice('你触发了获得经验'+inttostr(jinyan) ,6);
//ServerSay('刷2!!'+mo,3);
end else
if sjyu > 80 then
begin
This_Player.AddGold(jinbi);
This_Player.PlayerNotice('你触发了获得金币'+inttostr(jinbi) ,6);
//ServerSay('刷2!!'+mo,3);
end else
if sjyu > 70 then
begin
This_Player.MakeSlave(mo, dengji , 1 , 15 , False ,0);
This_Player.PlayerNotice('有一只 ' + mo+'来帮你来呢' ,6);
//ServerSay('刷2!!'+mo,3);
end else
if sjyu > 60 then
begin
//This_Player.CreateCampAnimal(mo, This_Player.MapName, This_Player.My_X - 1 + random(3),This_Player.My_Y - 1 + random(3),1, 2, This_Player.My_X - 1 + random(3), This_Player.My_Y - 1 + random(3));
This_Player.CreateCampAnimal(mo, zhengying, This_Player.My_X - 1 + random(3), This_Player.My_Y - 1 + random(3),1, 2, This_Player.My_X - 1 + random(3), This_Player.My_Y - 1 + random(3));
This_Player.PlayerNotice('你遇到了一支叛逆 ' + mo ,5);
//ServerSay('刷2!!'+mo,3);
end else
if jilv > 50 then
begin
This_Player.PlayerNotice('你遇到了一支落单' + mo ,5);
//ServerSay('刷1!!'+mo,3);
This_Player.CreateMon(This_Player.MapName, This_Player.My_X - 1 + random(3),This_Player.My_Y - 1 + random(3), 2,mo, 1);
end;
end else
if This_Player.Level < 35 then
begin
if sjyu > 95 then
begin
This_Player.Give(wupinl,1);
This_Player.PlayerNotice('你触发了获得'+wupinl ,6);
//ServerSay('刷2!!'+mo,3);
end else
if sjyu > 90 then
begin
This_Player.Give('经验',jinyan15);
This_Player.PlayerNotice('你触发了获得经验'+inttostr(jinyan15) ,6);
//ServerSay('刷2!!'+mo,3);
end else
if sjyu > 80 then
begin
This_Player.AddGold(jinbi15);
This_Player.PlayerNotice('你触发了获得金币'+inttostr(jinbi15) ,6);
//ServerSay('刷2!!'+mo,3);
end else
if sjyu > 70 then
begin
This_Player.MakeSlave(mo, dengji , 1 , 15 , False ,0);
This_Player.PlayerNotice('有一只 ' + mo+'来帮你来呢' ,6);
//ServerSay('刷2!!'+mo,3);
end else
if sjyu > 60 then
begin
//This_Player.CreateCampAnimal(mo, This_Player.MapName, This_Player.My_X - 1 + random(3),This_Player.My_Y - 1 + random(3),1, 2, This_Player.My_X - 1 + random(3), This_Player.My_Y - 1 + random(3));
This_Player.CreateCampAnimal(mo15, zhengying, This_Player.My_X - 1 + random(3), This_Player.My_Y - 1 + random(3),1, 2, This_Player.My_X - 1 + random(3), This_Player.My_Y - 1 + random(3));
This_Player.PlayerNotice('你遇到了一支叛逆 ' + mo15 ,5);
//ServerSay('刷2!!'+mo,3);
end else
if jilv > 50 then
begin
This_Player.PlayerNotice('你遇到了一支落单' + mo15 ,5);
//ServerSay('刷1!!'+mo,3);
This_Player.CreateMon(This_Player.MapName, This_Player.My_X - 1 + random(3),This_Player.My_Y - 1 + random(3), 2,mo15, 1);
end;
end else
if This_Player.Level > 34 then
begin
if sjyu > 95 then
begin
This_Player.Give(wupinl,1);
This_Player.PlayerNotice('你触发了获得'+wupinl ,6);
//ServerSay('刷2!!'+mo,3);
end else
if sjyu > 90 then
begin
This_Player.Give('经验',jinyan30);
This_Player.PlayerNotice('你触发了获得经验'+inttostr(jinyan30) ,6);
//ServerSay('刷2!!'+mo,3);
end else
if sjyu > 80 then
begin
This_Player.AddGold(jinbi30);
This_Player.PlayerNotice('你触发了获得金币'+inttostr(jinbi30) ,6);
//ServerSay('刷2!!'+mo,3);
end else
if sjyu > 70 then
begin
This_Player.MakeSlave(mo, dengji , 1 , 15 , False ,0);
This_Player.PlayerNotice('有一只 ' + mo+'来帮你来呢' ,6);
//ServerSay('刷2!!'+mo,3);
end else
if sjyu > 60 then
begin
//This_Player.CreateCampAnimal(mo, This_Player.MapName, This_Player.My_X - 1 + random(3),This_Player.My_Y - 1 + random(3),1, 2, This_Player.My_X - 1 + random(3), This_Player.My_Y - 1 + random(3));
This_Player.CreateCampAnimal(mo30, zhengying, This_Player.My_X - 1 + random(3), This_Player.My_Y - 1 + random(3),1, 2, This_Player.My_X - 1 + random(3), This_Player.My_Y - 1 + random(3));
This_Player.PlayerNotice('你遇到了一支叛逆 ' + mo30 ,5);
//ServerSay('刷2!!'+mo,3);
end else
if jilv > 50 then
begin
This_Player.PlayerNotice('你遇到了一支落单' + mo30 ,5);
//ServerSay('刷1!!'+mo,3);
This_Player.CreateMon(This_Player.MapName, This_Player.My_X - 1 + random(3),This_Player.My_Y - 1 + random(3), 2,mo30, 1);
end;
end;
end;
end;
end;
最后于 2023-8-16
被夜编辑
,原因:
随便看看
版块热门