用于战神引擎的神魔之力Npc脚本,脚本是自定义的,帮主把牵扯到的素材、属性文件,都提取出来了,脚本默认使用的是冰焰结晶这个材料晋升,材料的DB数据帮主也一并提取了,物品的显示外观,你们在添加的时候,自己用版本里面现有的材料外观代替就行。
特别提示:页面上的售价只包含脚本和素材等,不包含免费的安装脚本技术指导。
部分脚本
procedure _9z; begin if This_Player.GetBagItemCount ('冰焰结晶') >= 450 then begin if This_Player.YBNum >= 3500 then begin if This_Player.Level >= 63 then begin This_Player.Take('冰焰结晶',450); This_Player.ScriptRequestSubYBNum(3500); This_Player.SetV(43,1,9); //设置转生等级 This_Player.SetV(69,7,39); //设置转生封号 This_Player.SetV(564,10,(This_Player.GetV(564,10)+10)); //设置转生攻击 This_Player.SetV(565,10,(This_Player.GetV(565,10)+10)); //设置转生魔法 This_Player.SetV(566,10,(This_Player.GetV(566,10)+10)); //设置转生道术 This_Player.SetV(560,1,(This_Player.GetV(560,1)+1)); //设置转生倍攻 //ServerSay('恭喜玩家'+This_Player.Name+'成功完成了神魔之力[9]阶!', 2); ServerSayPlus('恭喜玩家'+This_Player.Name+'成功完成了神魔之力[9]阶!'); domain; TZJH_NPC; givefenghao; end else This_NPC.NpcDialog(This_Player, '你的等级不足,63级!'); end else This_NPC.NpcDialog(This_Player, '你的元宝不足,无法转生!'); end else This_NPC.NpcDialog(This_Player, '冰焰结晶,不足!'); end; procedure _10z; begin if This_Player.GetBagItemCount ('冰焰结晶') >= 520 then begin if This_Player.YBNum >= 4200 then begin if This_Player.Level >= 65 then begin This_Player.Take('冰焰结晶',520); This_Player.ScriptRequestSubYBNum(4200); This_Player.SetV(43,1,10); //设置转生等级 This_Player.SetV(69,7,40); //设置转生封号 This_Player.SetV(564,10,(This_Player.GetV(564,10)+10)); //设置转生攻击 This_Player.SetV(565,10,(This_Player.GetV(565,10)+10)); //设置转生魔法 This_Player.SetV(566,10,(This_Player.GetV(566,10)+10)); //设置转生道术 This_Player.SetV(560,1,(This_Player.GetV(560,1)+1)); //设置转生倍攻 //ServerSay('恭喜玩家'+This_Player.Name+'成功圆满完成了神魔之力[10]转,转生成功!', 5); ServerSayPlus('恭喜玩家'+This_Player.Name+'成功完成了神魔之力[10]阶!'); domain; TZJH_NPC; givefenghao; end else This_NPC.NpcDialog(This_Player, '你的等级不足,65级!'); end else This_NPC.NpcDialog(This_Player, '你的元宝不足,无法转生!'); end else This_NPC.NpcDialog(This_Player, '冰焰结晶,不足!'); end; begin if This_Player.GetV(43,1) <= 0 then This_Player.setV(43,1,0); domain; end.