你可以利用英雄升级得到的技能点数来提高英雄的技能等级,即使这个技能英雄一开始"并没有"学到.
function Trig________________u_Actions takes nothing returns nothing
call CreateFogModifierRectBJ( true, Player(0), FOG_OF_WAR_VISIBLE, GetPlayableMapRect() )
call SetPlayerAbilityAvailableBJ( false, 'AEsh', Player(0) )
call SetPlayerAbilityAvailableBJ( false, 'AOr3', Player(0) )
call SetPlayerAbilityAvailableBJ( false, 'AOsf', Player(0) )
call SetPlayerAbilityAvailableBJ( false, 'AOcl', Player(0) )
endfunction
function Trig_________________002_Func001C takes nothing returns boolean
if ( not ( GetUnitLevel(GetTriggerUnit()) == 5 ) ) then
return false
endif
return true
endfunction
function Trig_________________002_Func002C takes nothing returns boolean
if ( not ( GetUnitLevel(GetTriggerUnit()) == 8 ) ) then
return false
endif
return true
endfunction
function Trig_________________002_Func003C takes nothing returns boolean
if ( not ( GetUnitLevel(GetTriggerUnit()) == 13 ) ) then
return false
endif
return true
endfunction
function Trig_________________002_Func004C takes nothing returns boolean
if ( not ( GetUnitLevel(GetTriggerUnit()) == 17 ) ) then
return false
endif
return true
endfunction
function Trig_________________002_Actions takes nothing returns nothing
if ( Trig_________________002_Func001C() ) then
call SetPlayerAbilityAvailableBJ( true, 'AEsh', Player(0) )
else
endif
if ( Trig_________________002_Func002C() ) then
call SetPlayerAbilityAvailableBJ( true, 'AOr3', Player(0) )
else
endif
if ( Trig_________________002_Func003C() ) then
call SetPlayerAbilityAvailableBJ( true, 'AOsf', Player(0) )
else
endif
if ( Trig_________________002_Func004C() ) then
call SetPlayerAbilityAvailableBJ( true, 'AOcl', Player(0) )
else
endif
endfunction
注意,这并不是一个J演示!
[ 本帖最后由 Omega 于 2006-1-16 07:49 编辑 ]
附件: [[分享]如何隐藏英雄的技能] F6jiggcK.rar (1970-1-1 08:00, 21.38 K)该附件被下载次数 225
责任编辑:admin
进入论坛参与针对本文章的讨论
