找回密码
 点一下
查看: 3368|回复: 2

[已解决]求助 此技能冷却时间怎么修改  希望高手说详细点 谢谢

[复制链接]
发表于 2008-9-22 23:56:52 | 显示全部楼层 |阅读模式
if(not(GetSpellAbilityId()=='A09N'))then
return false
endif
return true
endfunction
function Trig_shouweiqiyue_shanghai_Func001001003001 takes nothing returns boolean
return(IsUnitAliveBJ(GetFilterUnit())==true)
endfunction
function Trig_shouweiqiyue_shanghai_Func001001003002 takes nothing returns boolean
return(IsUnitEnemy(GetFilterUnit(),GetTriggerPlayer())==true)
endfunction
function Trig_shouweiqiyue_shanghai_Func001001003 takes nothing returns boolean
return GetBooleanAnd(Trig_shouweiqiyue_shanghai_Func001001003001(),Trig_shouweiqiyue_shanghai_Func001001003002())
endfunction
function Trig_shouweiqiyue_shanghai_Func001A takes nothing returns nothing
call UnitDamageTargetBJ(GetTriggerUnit(),GetEnumUnit(),(I2R(GetHeroAgi(GetTriggerUnit(),true))*30.00),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_UNIVERSAL)
call AddSpecialEffectTargetUnitBJ("origin",GetEnumUnit(),"Abilities\\Spells\\Orc\\ReinforcedTrollBurrow\\ReinforcedTrollBurrowTarget.mdl")
call DestroyEffect(GetLastCreatedEffectBJ())
endfunction
function Trig_shouweiqiyue_shanghai_Actions takes nothing returns nothing
call ForGroupBJ(GetUnitsInRangeOfLocMatching(5000.00,GetSpellTargetLoc(),Condition(function Trig_shouweiqiyue_shanghai_Func001001003)),function Trig_shouweiqiyue_shanghai_Func001A)
endfunction
function InitTrig_shouweiqiyue_shanghai takes nothing returns nothing
set gg_trg_shouweiqiyue_shanghai=CreateTrigger()
call TriggerRegisterUnitEvent(gg_trg_shouweiqiyue_shanghai,gg_unit_O000_0047,EVENT_UNIT_SPELL_EFFECT)
call TriggerAddCondition(gg_trg_shouweiqiyue_shanghai,Condition(function Trig_shouweiqiyue_shanghai_Conditions))
call TriggerAddAction(gg_trg_shouweiqiyue_shanghai,function Trig_shouweiqiyue_shanghai_Actions)
endfunction
发表于 2008-9-23 00:50:34 | 显示全部楼层
技能cd貌似和代码无关………………
回复

使用道具 举报

发表于 2008-9-23 18:30:30 | 显示全部楼层
里面似乎没有添加删除技能..

那么去物体编辑器找把
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-11-24 08:17 , Processed in 0.063621 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表