sikskUnII
THÀNH VIÊN
- Tham gia
- 26/01/2017
- Bài viết
- 2,467
Mình đang muốn làm cho đại bàng tấn công nai nhưng đại bàng lại không tấn công nai con
MONG CÁC CHUYÊN GIA GIÚP MÌNH
đây là config của mình
MONG CÁC CHUYÊN GIA GIÚP MÌNH
đây là config của mình
Mã:
eagle_black:
Faction: faction_eagle
Type: PHANTOM
Display: '&fĐại bàng'
Modules:
ThreatTable: true
Health: 20
Damage: 2
Options:
AttackSpeed: 2.5
PreventRandomEquipment: true
KnockbackResistance: 1
MaxCombatDistance: 5
MovementSpeed: 0.3
FollowRange: 10
Silent: true
Collidable: true
Despawn: false
PreventItemPickup: true
PreventOtherDrops: true
PreventSunburn: true
Silent: true
Skills:
- model{mid=blackeagle;n=false;drive=true} @self ~onSpawn
- state{s=attack;li=0;lo=0} @self ~onAttack
- effect:sound{s=entity.phantom.ambient;v=1;p=2} @EIR{r=20} ~onDamaged
- effect:sound{s=entity.phantom.angry;v=1;p=2} @EIR{r=20} ~onTimer:150
- effect:sound{s=entity.phantom.death;v=1;p=2} @EIR{r=20} ~onDeath
AIGoalSelectors:
- 0 clear
- 1 leapattarget
- 2 meleeattack
- 3 swim
AITargetSelectors:
- 0 clear
- 1 SpecificFaction faction_deerbaby
- 2 SpecificFaction faction_boarbaby
- 3 SpecificFaction faction_bunny
- 4 SpecificFaction faction_rat
- 5 attacker
babydeer:
Faction: faction_deerbaby
Type: SHEEP
Display: '&eCon nai con'
Health: 20
Damage: 1
Options:
PreventOtherDrops: true
AlwaysShowName: true
MovementSpeed: 0.2
Silent: true
ShowHealth: true
KnockbackResistance: 0.1
PreventSunburn: true
Skills:
- state{s=idlears;li=0;lo=0;delay=10} @self ~onTimer:200
- model{mid=babydeer;n=false;d=true} @self ~onSpawn
- state{s=idle2;li=0;lo=0} @self @self ~onTimer:100
- state{s=attack;li=0;lo=0;delay=10} @self ~onAttack
- state{s=warning;li=0;lo=0;delay=10} @self ~onAttack 0.3
- effect:sound{s=entity.horse.hurt;v=1;p=2} @EIR{r=20} ~onDamaged
- effect:sound{s=entity.horse.roar;v=0.1;p=2} @EIR{r=20} ~onTimer:200
- effect:sound{s=entity.horse.death;v=1;p=2} @EIR{r=20} ~onDeath
- effect:sound{s=entity.horse.ambient;v=1;p=2} @EIR{r=20} ~onAttack
- signal{s=PREDATORATTACK} @EIR{r=20} ~onDamaged
- signal{s=PREDATORATTACK} @Parent ~onDamaged
- skill{s=deerjump_anim} @self ~onTimer:10
AIGoalSelectors:
- 0 clear
- 1 gotoparent 4
- 2 eatgrass
- 3 meleeattack
- 4 movetowardstarget
- 5 randomstroll
- 6 fleewolves
- 7 avoidskeletons
- 8 avoidzombies
- 9 fleeplayers
AITargetSelectors:
- 0 clear


