霸者火龙配套的魂骨+血炼+神力脚本(带明文版布局文件)

用于战神引擎的魂骨+血炼+神力脚本,从霸者火龙里面提取出来的,经过测试,可以正常使用,但需要配合盘古插件,脚本明文版,可以任意修改,配套的素材和明文版布局文件和牵扯到的所有脚本都全部打包了,添加的时候,记得先备份原先的,在操作。

霸者火龙配套的魂骨+血炼+神力脚本(带明文版布局文件)

霸者火龙配套的魂骨+血炼+神力脚本(带明文版布局文件)

霸者火龙配套的魂骨+血炼+神力脚本(带明文版布局文件)

部分脚本

procedure SetAbil(AbilType, value:Integer);
//SetAbil函数内代码尽量不要修改,直接调用即可;
var H8, L8,fmax : Integer;
begin
	if AbilType <= 4 then
	begin
		fmax:=255;
	end else
	if AbilType <= 11 then
	begin
		fmax:=65535;	
	end else
	if (AbilType <= 16) then begin fmax:=255; end else if (AbilType = 17) then begin fmax:=65535; end else begin fmax:=255; end if value >= fmax then value := fmax - 1;
	H8 := value / 256;
	L8 := value mod 256;
	//下面这行是调试输出语句,正式使用时可屏蔽;
	case AbilType of
		1://倍攻
		begin
		This_Player.AuthByHelped(6212 + 0,L8);
		end;
		2://备用1
		begin
		This_Player.AuthByHelped(6212 + 1,L8);	
		end;
		3://备用2
		begin
		This_Player.AuthByHelped(6212 + 2,L8);
		end;
		4://备用3
		begin
		This_Player.AuthByHelped(6212 + 3,L8);
		end;
		5://MAXHP
		begin
		This_Player.AuthByHelped(6212 + 4,L8);
		This_Player.AuthByHelped(6212 + 5,H8);
		end;
		6://MAXMP
		begin
		This_Player.AuthByHelped(6212 + 6,L8);
		This_Player.AuthByHelped(6212 + 7,H8);
		end;
		7://MAX攻击
		begin
		This_Player.AuthByHelped(6212 + 8,L8);
		This_Player.AuthByHelped(6212 + 20,H8);
		end;
		8://MAX魔法
		begin
		This_Player.AuthByHelped(6212 + 9,L8);
		This_Player.AuthByHelped(6212 + 21,H8);
		end;
		9://MAX道术
		begin
		This_Player.AuthByHelped(6212 + 10,L8);
		This_Player.AuthByHelped(6212 + 22,H8);
		end;
		10://MAX防御
		begin
		This_Player.AuthByHelped(6212 + 11,L8);
		This_Player.AuthByHelped(6212 + 23,H8);
		end;
		11://MAX魔御
		begin
		This_Player.AuthByHelped(6212 + 12,L8);
		This_Player.AuthByHelped(6212 + 13,H8);
		end;
		12://备用4
		begin
		This_Player.AuthByHelped(6212 + 14,L8);
		end;
		13://备用5
		begin
		This_Player.AuthByHelped(6212 + 15,L8);
		end;
		14://刺术上限
		begin
		This_Player.AuthByHelped(6212 + 16,L8);
		This_Player.AuthByHelped(6212 + 17,H8);
		end;
		15://刺术下限
		begin
		This_Player.AuthByHelped(6212 + 18,L8);
		This_Player.AuthByHelped(6212 + 19,H8);
		end;
		16://百分比免伤
		begin
		This_Player.AuthByHelped(1400 + 0,L8);
		end;			
		17://死亡防爆(小退属性消失,需要每次重新设置)
		begin
		This_Player.AuthByHelped(396 + 0,L8);
		This_Player.AuthByHelped(396 + 1,H8);
		end;
		18://杀人爆率(小退属性消失,需要每次重新设置)
		begin
		This_Player.AuthByHelped(1401 + 0,L8);
		end;
	end; 
end;
分享到:
赞(0)