魔兽改图吧 关注:1,339贴子:7,922
  • 3回复贴,共1

终于找到关于挑战镜像的段落了,请大神帮我分析一下

取消只看楼主收藏回复

if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func001C())then
set udg_Jx_zs=GetRandomInt(1,3)
if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func001Func002C())then
call AdjustPlayerStateBJ(R2I((58000.00+(58000.00*udg_renwu_jlbfb[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[7]))]))),GetOwningPlayer(udg_Jin_dw[7]),PLAYER_STATE_RESOURCE_GOLD)
call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[7]))+("|r 挑战自我 x 20 !成功!! |cffffcc00金币+"+(I2S(R2I((58000.00+(58000.00*udg_renwu_jlbfb[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[7]))]))))+"|r 该房间已重新开放!!")))))
call AdjustPlayerStateBJ(2000,GetOwningPlayer(udg_Jin_dw[7]),PLAYER_STATE_RESOURCE_GOLD)
else
if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func001Func002Func002C())then
if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func001Func002Func002Func001C())then
if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func001Func002Func002Func001Func002C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(udg_Jin_dw[7],'cnob'))
else
call SetItemCharges(GetItemOfTypeFromUnitBJ(udg_Jin_dw[7],'cnob'),(GetItemCharges(GetItemOfTypeFromUnitBJ(udg_Jin_dw[7],'cnob'))-1))
endif
call DisplayTimedTextToPlayer(GetOwningPlayer(udg_Jin_dw[7]),0,0,5.00,"|cffffcc00[系统]:|r你的幸运符发生了神奇的功效 !")
if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func001Func002Func002Func001Func004C())then
call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,80)
call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,25)
call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,25)
call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[7]))+"|r 挑战自我 x 20 !成功!! |cffffcc00力量+80,敏捷+25,智力+25|r 该房间已重新开放!!")))
else
if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func001Func002Func002Func001Func004Func001C())then
call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,40)
call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,75)
call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,25)
call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[7]))+"|r 挑战自我 x 20 !成功!! |cffffcc00敏捷+75,力量+40,智力+25|r 该房间已重新开放!!")))
else
call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,40)
call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,25)
call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,75)
call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[7]))+"|r 挑战自我 x 20 !成功!! |cffffcc00智力+75,敏捷+25,力量+40|r 该房间已重新开放!!")))
endif
endif
else
if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func001Func002Func002Func001Func001C())then
call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,60)
call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,15)
call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,15)
call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[7]))+"|r 挑战自我 x 20 !成功!! |cffffcc00力量+60,敏捷+15,智力+15|r 该房间已重新开放!!")))
else
if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func001Func002Func002Func001Func001Func001C())then
call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,25)
call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,55)
call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,15)
call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[7]))+"|r 挑战自我 x 20 !成功!! |cffffcc00敏捷+55,力量+25,智力+15|r 该房间已重新开放!!")))
else
call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,25)
call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,15)
call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,55)
call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[7]))+"|r 挑战自我 x 20 !成功!! |cffffcc00智力+55,敏捷+15,力量+25|r 该房间已重新开放!!")))
endif
endif
endif
call AdjustPlayerStateBJ(2000,GetOwningPlayer(udg_Jin_dw[7]),PLAYER_STATE_RESOURCE_GOLD)
if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func001Func002Func002Func009C())then
set udg_XL_cs[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[7]))]=(udg_XL_cs[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[7]))]+1)
call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r 恭喜 |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[7]))+"|r 挑战自我 x 20 时顿悟 获得|cff00ff00仙人直升一重|r的奖励!")))
call DestroyEffect(AddSpecialEffectTarget("Abilities\\Spells\\Demon\\ReviveDemon\\ReviveDemon.mdl",udg_Jin_dw[7],"origin"))
call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,(15+(2*udg_XL_cs[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[7]))])))
call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,(15+(2*udg_XL_cs[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[7]))])))
call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[7],bj_MODIFYMETHOD_ADD,(15+(2*udg_XL_cs[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[7]))])))
else
endif
else
call AdjustPlayerStateBJ(R2I((27000.00+(27000.00*udg_renwu_jlbfb[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[7]))]))),GetOwningPlayer(udg_Jin_dw[7]),PLAYER_STATE_RESOURCE_GOLD)
call AdjustPlayerStateBJ(2000,GetOwningPlayer(udg_Jin_dw[7]),PLAYER_STATE_RESOURCE_GOLD)
call AddHeroXP(udg_Jin_dw[7],5000,true)
set udg_Fb_jf[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[7]))]=(udg_Fb_jf[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[7]))]+5)
call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[7]))+("|r 挑战自我 x 20 !成功!! |cffffcc00金币+"+(I2S(R2I((27000.00+(27000.00*udg_renwu_jlbfb[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[7]))]))))+",经验+5000,副本积分+5|r 该房间已重新开放!!")))))
endif
endif
call TriggerSleepAction(1.50)
call SetUnitPositionLoc(udg_Jin_dw[7],udg_Jx_dian[4])
call PanCameraToTimedLocForPlayer(GetOwningPlayer(udg_Jin_dw[7]),Location(GetUnitX(udg_Jin_dw[7]),GetUnitY(udg_Jin_dw[7])),0)
set udg_Jin_dw[7]=null
set udg_Jin_dw[8]=null
set udg_Jin_Buff[4]=false
else
endif
开头有个设置1~3的随机数,后面好像没有用到,能告诉我作用在那里了吗???谢谢大神!


IP属地:广东1楼2018-03-27 00:20回复
    function Trig_Jin002_Actions takes nothing returns nothing
    if(Trig_Jin002_Func001C())then
    call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(GetTriggerUnit()))+"|r 挑战自我 x 5 !失败!!该房间已重新开放!!")))
    call RemoveUnit(udg_Jin_dw[2])
    set udg_Jin_dw[1]=null
    set udg_Jin_dw[2]=null
    set udg_Jin_Buff[1]=false
    set udg_Shui_BUFF[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[1]))]=false
    else
    if(Trig_Jin002_Func001Func007C())then
    call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(GetTriggerUnit()))+"|r 挑战自我 x 10 !失败!!该房间已重新开放!!")))
    call RemoveUnit(udg_Jin_dw[4])
    set udg_Jin_dw[3]=null
    set udg_Jin_dw[4]=null
    set udg_Jin_Buff[2]=false
    set udg_Shui_BUFF[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[3]))]=false
    else
    if(Trig_Jin002_Func001Func007Func007C())then
    call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(GetTriggerUnit()))+"|r 在秒木山挑战自我 x 5 !失败!!该房间已重新开放!!")))
    call RemoveUnit(udg_Jin_dw[6])
    set udg_Jin_dw[5]=null
    set udg_Jin_dw[6]=null
    set udg_Jin_Buff[3]=false
    set udg_Shui_BUFF[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[5]))]=false
    else
    if(Trig_Jin002_Func001Func007Func007Func001C())then
    call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(GetTriggerUnit()))+"|r 在秒木山挑战自我 x 20 !失败!!该房间已重新开放!!")))
    call RemoveUnit(udg_Jin_dw[8])
    set udg_Jin_dw[7]=null
    set udg_Jin_dw[8]=null
    set udg_Jin_Buff[4]=false
    else
    if(Trig_Jin002_Func001Func007Func007Func001Func001C())then
    set udg_Jx_zs=GetRandomInt(1,3)
    if(Trig_Jin002_Func001Func007Func007Func001Func001Func003C())then
    call AdjustPlayerStateBJ(R2I((18000.00+(18000.00*udg_renwu_jlbfb[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[1]))]))),GetOwningPlayer(udg_Jin_dw[1]),PLAYER_STATE_RESOURCE_GOLD)
    call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[1]))+("|r 挑战自我 x 5 !成功!! |cffffcc00金币+"+(I2S(R2I((18000.00+(18000.00*udg_renwu_jlbfb[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[1]))]))))+"|r 该房间已重新开放!!")))))
    call AdjustPlayerStateBJ(1000,GetOwningPlayer(udg_Jin_dw[1]),PLAYER_STATE_RESOURCE_GOLD)
    else
    if(Trig_Jin002_Func001Func007Func007Func001Func001Func003Func002C())then
    if(Trig_Jin002_Func001Func007Func007Func001Func001Func003Func002Func001C())then
    if(Trig_Jin002_Func001Func007Func007Func001Func001Func003Func002Func001Func002C())then
    call RemoveItem(GetItemOfTypeFromUnitBJ(udg_Jin_dw[1],'cnob'))
    else
    call SetItemCharges(GetItemOfTypeFromUnitBJ(udg_Jin_dw[1],'cnob'),(GetItemCharges(GetItemOfTypeFromUnitBJ(udg_Jin_dw[1],'cnob'))-1))
    endif
    call DisplayTimedTextToPlayer(GetOwningPlayer(udg_Jin_dw[1]),0,0,5.00,"|cffffcc00[系统]:|r你的幸运符发生了神奇的功效 !")
    if(Trig_Jin002_Func001Func007Func007Func001Func001Func003Func002Func001Func004C())then
    call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,35)
    call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,15)
    call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,15)
    call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[1]))+"|r 挑战自我 x 5 !成功!! |cffffcc00力量+35,敏捷+15,智力+15|r 该房间已重新开放!!")))
    else
    if(Trig_Jin002_Func001Func007Func007Func001Func001Func003Func002Func001Func004Func001C())then
    call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,10)
    call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,30)
    call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,10)
    call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[1]))+"|r 挑战自我 x 5 !成功!! |cffffcc00敏捷+30,力量+10,智力+10|r 该房间已重新开放!!")))
    else
    call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,10)
    call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,10)
    call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,30)
    call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[1]))+"|r 挑战自我 x 5 !成功!! |cffffcc00智力+30,敏捷+10,力量+10|r 该房间已重新开放!!")))
    endif
    endif
    else
    if(Trig_Jin002_Func001Func007Func007Func001Func001Func003Func002Func001Func001C())then
    call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,25)
    call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,10)
    call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,10)
    call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[1]))+"|r 挑战自我 x 5 !成功!! |cffffcc00力量+25,敏捷+10,智力+10|r 该房间已重新开放!!")))
    else
    if(Trig_Jin002_Func001Func007Func007Func001Func001Func003Func002Func001Func001Func001C())then
    call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,5)
    call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,20)
    call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,5)
    call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[1]))+"|r 挑战自我 x 5 !成功!! |cffffcc00敏捷+20,力量+5,智力+5|r 该房间已重新开放!!")))
    else
    call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,5)
    call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,5)
    call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[1],bj_MODIFYMETHOD_ADD,20)
    call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[1]))+"|r 挑战自我 x 5 !成功!! |cffffcc00智力+20,敏捷+5,力量+5|r 该房间已重新开放!!")))
    endif
    endif
    endif
    call AdjustPlayerStateBJ(1000,GetOwningPlayer(udg_Jin_dw[1]),PLAYER_STATE_RESOURCE_GOLD)
    else
    call AdjustPlayerStateBJ(R2I((10000.00+(10000.00*udg_renwu_jlbfb[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[1]))]))),GetOwningPlayer(udg_Jin_dw[1]),PLAYER_STATE_RESOURCE_GOLD)
    call AdjustPlayerStateBJ(1000,GetOwningPlayer(udg_Jin_dw[1]),PLAYER_STATE_RESOURCE_GOLD)
    call AddHeroXP(udg_Jin_dw[1],3000,true)
    call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[1]))+("|r 挑战自我 x 5 !成功!! |cffffcc00金币+"+(I2S(R2I((10000.00+(10000.00*udg_renwu_jlbfb[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[1]))]))))+",经验+3000|r 该房间已重新开放!!")))))
    endif
    endif


    IP属地:广东3楼2018-03-27 18:56
    回复
      if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002C())then
      set udg_Jx_zs=GetRandomInt(1,3)
      if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func003C())then
      call AdjustPlayerStateBJ(R2I((18000.00+(18000.00*udg_renwu_jlbfb[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[5]))]))),GetOwningPlayer(udg_Jin_dw[5]),PLAYER_STATE_RESOURCE_GOLD)
      call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[5]))+("|r 挑战自我 x 5 !成功!! |cffffcc00金币+"+(I2S(R2I((18000.00+(18000.00*udg_renwu_jlbfb[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[5]))]))))+"|r 该房间已重新开放!!")))))
      call AdjustPlayerStateBJ(1000,GetOwningPlayer(udg_Jin_dw[5]),PLAYER_STATE_RESOURCE_GOLD)
      else
      if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func003Func002C())then
      if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func003Func002Func001C())then
      if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func003Func002Func001Func002C())then
      call RemoveItem(GetItemOfTypeFromUnitBJ(udg_Jin_dw[5],'cnob'))
      else
      call SetItemCharges(GetItemOfTypeFromUnitBJ(udg_Jin_dw[5],'cnob'),(GetItemCharges(GetItemOfTypeFromUnitBJ(udg_Jin_dw[5],'cnob'))-1))
      endif
      call DisplayTimedTextToPlayer(GetOwningPlayer(udg_Jin_dw[5]),0,0,5.00,"|cffffcc00[系统]:|r你的幸运符发生了神奇的功效 !")
      if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func003Func002Func001Func004C())then
      call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,35)
      call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,15)
      call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,15)
      call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[5]))+"|r 挑战自我 x 5 !成功!! |cffffcc00力量+35,敏捷+15,智力+15|r 该房间已重新开放!!")))
      else
      if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func003Func002Func001Func004Func001C())then
      call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,10)
      call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,30)
      call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,10)
      call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[5]))+"|r 挑战自我 x 5 !成功!! |cffffcc00敏捷+30,力量+10,智力+10|r 该房间已重新开放!!")))
      else
      call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,10)
      call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,10)
      call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,30)
      call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[5]))+"|r 挑战自我 x 5 !成功!! |cffffcc00智力+30,敏捷+10,力量+10|r 该房间已重新开放!!")))
      endif
      endif
      else
      if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func003Func002Func001Func001C())then
      call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,25)
      call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,10)
      call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,10)
      call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[5]))+"|r 挑战自我 x 5 !成功!! |cffffcc00力量+25,敏捷+10,智力+10|r 该房间已重新开放!!")))
      else
      if(Trig_Jin002_Func001Func007Func007Func001Func001Func002Func002Func003Func002Func001Func001Func001C())then
      call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,5)
      call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,20)
      call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,5)
      call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[5]))+"|r 挑战自我 x 5 !成功!! |cffffcc00敏捷+20,力量+5,智力+5|r 该房间已重新开放!!")))
      else
      call ModifyHeroStat(bj_HEROSTAT_STR,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,5)
      call ModifyHeroStat(bj_HEROSTAT_AGI,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,5)
      call ModifyHeroStat(bj_HEROSTAT_INT,udg_Jin_dw[5],bj_MODIFYMETHOD_ADD,20)
      call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[5]))+"|r 挑战自我 x 5 !成功!! |cffffcc00智力+20,敏捷+5,力量+5|r 该房间已重新开放!!")))
      endif
      endif
      endif
      call AdjustPlayerStateBJ(1000,GetOwningPlayer(udg_Jin_dw[5]),PLAYER_STATE_RESOURCE_GOLD)
      else
      call AdjustPlayerStateBJ(R2I((10000.00+(10000.00*udg_renwu_jlbfb[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[5]))]))),GetOwningPlayer(udg_Jin_dw[5]),PLAYER_STATE_RESOURCE_GOLD)
      call AdjustPlayerStateBJ(1000,GetOwningPlayer(udg_Jin_dw[5]),PLAYER_STATE_RESOURCE_GOLD)
      call AddHeroXP(udg_Jin_dw[5],3000,true)
      call DisplayTimedTextToForce(GetPlayersAll(),5.00,("|cffffcc00[系统]:|r |cff00ff00"+(GetPlayerName(GetOwningPlayer(udg_Jin_dw[5]))+("|r 挑战自我 x 5 !成功!! |cffffcc00金币+"+(I2S(R2I((10000.00+(10000.00*udg_renwu_jlbfb[GetConvertedPlayerId(GetOwningPlayer(udg_Jin_dw[5]))]))))+",经验+3000|r 该房间已重新开放!!")))))
      endif
      endif
      call TriggerSleepAction(1.50)
      call SetUnitPositionLoc(udg_Jin_dw[5],udg_Jx_dian[4])
      call PanCameraToTimedLocForPlayer(GetOwningPlayer(udg_Jin_dw[5]),Location(GetUnitX(udg_Jin_dw[5]),GetUnitY(udg_Jin_dw[5])),0)
      set udg_Jin_dw[5]=null
      set udg_Jin_dw[6]=null
      set udg_Jin_Buff[3]=false
      else


      IP属地:广东5楼2018-03-27 19:03
      回复
        该楼层疑似违规已被系统折叠 查看此楼


        IP属地:广东6楼2018-03-27 19:07
        回复