|
本文搜索关键字:隐藏 | 技能 | 这个系统可以实现英雄的多元化 你可以利用英雄升级得到的技能点数来提高英雄的技能等级,即使这个技能英雄一开始"并没有"学到.
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演示!
|