- UID
- 1182885
- 主题
- 2
- 阅读权限
- 30
- 帖子
- 522
- 精华
- 0
- 积分
- 341
- 金钱
- 1090
- 荣誉
- 8
- 人气
- 0
- 在线时间
- 205 小时
- 评议
- 0
- 帖子
- 522
- 精华
- 0
- 积分
- 341
- 金钱
- 1090
- 荣誉
- 8
- 人气
- 0
- 评议
- 0
|
回41楼的,龙的攻击是用的召唤龙的攻击,肯定会攻击自己人
你要想不攻击自己人,那就在data\ini\weapon.ini 文件里搜索
“SummonedDragonFireBreath ”代码,这是龙的攻击
ProjectileCollidesWith = ENEMIES NEUTRAL STRUCTURES WALLS
RadiusDamageAffects = ENEMIES NEUTRALS NOT_SIMILAR MINES
将以上代码加到“SummonedDragonFireBreath ”的下面保存就OK了
复活我又加进去啊,就是下面的
Behavior = RespawnUpdate ModuleTag_RespawnUpdate
DeathAnim = DYING
DeathFX = FX_DrogothDieToRespawn
InitialSpawnFX = FX_DrogothInitialSpawn
RespawnFX = FX_DrogothRespawn
AutoRespawnAtObjectFilter = NONE +CASTLE_KEEP
ButtonImage = HPSummonedDragon
这是在城堡复活的代码
;RespawnEntries determine the ruleset for how a character can be revived. Some units may automatically respawn, others
;may require a specific revive action performed on him. You can specify different values for each level... or use Level:Any
RespawnRules = AutoSpawn:No Cost:2500 Time:115000 Health:100% ;DEFAULT VALUES
RespawnEntry = Level:2 Cost:2500 Time:115000 ; ;50% cost, 1x buildtime ;For other levels, only override what is different.
RespawnEntry = Level:3 Cost:2500 Time:115000
RespawnEntry = Level:4 Cost:2500 Time:115000
RespawnEntry = Level:5 Cost:3250 Time:230000 ; ;65% cost, 2x buildtime
RespawnEntry = Level:6 Cost:3250 Time:230000
RespawnEntry = Level:7 Cost:3250 Time:230000
RespawnEntry = Level:8 Cost:4000 Time:345000 ; ;80% cost, 3x buildtime
RespawnEntry = Level:9 Cost:4000 Time:345000
RespawnEntry = Level:10 Cost:4000 Time:345000
End
这是每一级复活的时间和所需的金钱,你可以看看其他英雄的文件,里面都有这个啊
生命代码是:“MaxHealth = DROGOTH_HEALTH ”
Behavior = AutoHealBehavior ModuleTag_FellbeastHealing 自疗代码
StartsActive = Yes
HealingAmount = 30 生命回复值
HealingDelay = 1000 每一次生命回复的间隔 一秒
StartHealingDelay = 30000 生命恢复开始时间30秒
HealOnlyIfNotInCombat = Yes
End
至于技能,我在前面都把自定义英雄的技能翻译了,你自己看吧 |
|