- function Trig____________________045_Func006Func004002003 takes nothing returns boolean
- return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(GetAttacker())) == true )
- endfunction
- function Trig____________________045_Func006Func008A takes nothing returns nothing
- call UnitDamageTargetBJ(GetAttacker(), GetEnumUnit(), ( ( I2R(GetHeroLevel(GetAttacker())) * 8.50 ) * ( ( ( I2R(GetHeroStatBJ(bj_HEROSTAT_INT, GetAttacker(), true)) * 30.00 ) + I2R(GetHeroStatBJ(bj_HEROSTAT_STR, GetAttacker(), true)) * 30.00 ) + I2R(GetHeroStatBJ(bj_HEROSTAT_AGI, GetAttacker(), true)) * 30.00 ) ), ATTACK_TYPE_CHAOS, DAMAGE_TYPE_UNIVERSAL)
- endfunction
- function Trig____________________045_Func006C takes nothing returns boolean
- if ( not ( IsUnitType(GetAttacker(), UNIT_TYPE_HERO) == true ) ) then
- return false
- endif
- if ( not ( IsItemOwned(GetItemOfTypeFromUnitBJ(GetAttacker(), 'I03Y')) == true ) ) then
- return false
- endif
- if ( not ( GetRandomInt(1, 100) <= 35 ) ) then
- return false
- endif
- return true
- endfunction
复制代码 麻烦帮看下这段代码的触发区域在那里,现在的技能是在英雄周围施放,我想将其改成对伤害目标施放怎么改呢? |