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

麻烦帮看下这段JASS,技能的触发区域再哪里

[复制链接]
发表于 2011-4-25 20:33:39 | 显示全部楼层 |阅读模式
  1. function Trig____________________045_Func006Func004002003 takes nothing returns boolean
  2.     return ( IsUnitEnemy(GetFilterUnit(), GetOwningPlayer(GetAttacker())) == true )
  3. endfunction
  4. function Trig____________________045_Func006Func008A takes nothing returns nothing
  5.     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)
  6. endfunction
  7. function Trig____________________045_Func006C takes nothing returns boolean
  8.     if ( not ( IsUnitType(GetAttacker(), UNIT_TYPE_HERO) == true ) ) then
  9.         return false
  10.     endif
  11.     if ( not ( IsItemOwned(GetItemOfTypeFromUnitBJ(GetAttacker(), 'I03Y')) == true ) ) then
  12.         return false
  13.     endif
  14.     if ( not ( GetRandomInt(1, 100) <= 35 ) ) then
  15.         return false
  16.     endif
  17.     return true
  18. endfunction
复制代码
麻烦帮看下这段代码的触发区域在那里,现在的技能是在英雄周围施放,我想将其改成对伤害目标施放怎么改呢?
 楼主| 发表于 2011-4-25 20:50:44 | 显示全部楼层
[s:166][s:166]没人解答吗  - -
回复

使用道具 举报

发表于 2011-4-26 18:57:01 | 显示全部楼层
引用第1楼老罗于2011-04-25 20:50发表的 :
[s:166] [s:166] 没人解答吗  - -

应该说这个是T转J....话说LZ与其改这个..不如重写一个伤害目标的T好了.在你自己的地图里面.就应该不算是难事..
如果是别人的地图的话...........GA是不讨论修改地图地哦.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-4 11:49 , Processed in 0.079090 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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