Thyr 0 Posted June 7, 2017 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! Quote Share this post Link to post Share on other sites
1 meko 170 Posted June 7, 2017 in Mode add Assist: true More details here: https://github.com/HerculesWS/Hercules/blob/master/doc/mob_db_mode_list.txt 1 Thyr reacted to this Quote Share this post Link to post Share on other sites
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