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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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