Jump to content
  • 0
Thyr

Monster make Aggressive

Question

How can i make the monster gets aggressive, if their same monster is being attack by a player.

Example: 10 Peco Peco in your screen and you attacked 1 Peco Peco the other 9 will gets aggressive and attack you.

heres my monster script.

 

{
	Id: 3180
	SpriteName: "GRAND_PECO_1"
	Name: "Golden Peco"
	Lv: 98
	Hp: 55000
	Sp: 0
	Exp: 889
	JExp: 455
	AttackRange: 1
	Attack: [2097, 5049]
	Def: 10
	Mdef: 10
	Stats: {
		Str: 1
		Agi: 50
		Vit: 40
		Int: 35
		Dex: 69
		Luk: 40
	}
	ViewRange: 10
	ChaseRange: 12
	Size: "Size_Small"
	Race: "RC_Demon"
	Element: ("Ele_Undead", 1)
	Mode: {
		CanMove: true
		CastSensorIdle: true
		CanAttack: true
		Detector: true
	}
	MoveSpeed: 250
	AttackDelay: 1156
	AttackMotion: 456
	DamageMotion: 384
	MvpExp: 0
},

Thank You!

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.