MOB MONAI Feature Explained...

Mu online season 21 - grand opening

Demonic

LOMCN VIP
VIP
Dec 1, 2003
1,806
2
165
CD 3.3X onwards has MobAi feature, this allows the mob to follow a script such as use differnet magics, spawn mobs, teleport and so forth. Now the one already coded in for you in Tadanga - if you Spawn this mob, it will flamewall (star flames), Recall you, Spawn mobs and so forth...

Your asking yourself, Can I do this for any mob? Well the answer is yes...
The first Number in the database after the mob name (Normally 81 19 etc) need to be set at 255. In ENVIR there is a File called MonAis.txt ::

;;²»ÒªÉ¾µô´ËÐÐ
Tadanga "MonAi_Def\TadangGa.txt"
Tadanga99 "MonAi_Def\TadangGa.txt"
EvilDragon "MonAi_Def\SixDragon.txt"
JinchonCaptain "MonAi_Def\ZinChunMaSin.txt"
EvilEmperor "MonAi_Def\PachunWang.txt"
ZumaTaurus1 "MonAi_Def\ZT.txt"
;;²»ÒªÉ¾µô´ËÐÐ

You add the mob name (from the Database you just added) and the file it has to read..
Folder called MonAi_Def holds all the files needed for the tricks..

This is Tadanga
Code:
;;²»ÒªÉ¾µô´ËÐÐ
;;; @reloadmonai Ÿ´ç°¡ "monai_def\tadangga.txt"
[@Numaking, STATUS, 0]
;;----------------------------------------------------------------------------------------
;; 1. »ç¶÷À» ¸ðµÎ ²ø¾î µå¸² (4*4¾È¿¡ ÀÖ´Â »ç¶÷À» ¸ðµÎ)
;; 2. 8¹æÇâ 300% µ¥¹ÌÁö °ø°ÝÀ» °¡ÇÔ
;;----------------------------------------------------------------------------------------
#IF
Random 1  20
Near   12
#ACT
Say "So you think you can run away from me do you??"
PULLOVER [3] ENEMY 7
Power RATE 300
hit [1] FULLMOON Delay 1000
Power RATE 100
break

;;----------------------------------------------------------------------------------------
;; 1. 5*5 ¾È¿¡ ÀÖ´Â »ç¶÷¿¡°Ô ¸ðµÎ Á¤È*¼úÀ» ¾¸
;; 2. ¿°»çÀåÀ» ³¯¸²
;; 3. Àڽſ¡°Ô Áö¿°¼úÀ» ³¯¸²
;;----------------------------------------------------------------------------------------
#IF
Random 1  20
Near   12
#ACT
Say "I will Burn you Good"
Spell [3] Clearstatus 0 (26) ENEMY 11 Delay 2000
Spell [3] FireLine 100 (6) FULLMOON Delay 2000
Spell [3] Firewall 200 5 () SELF Delay 2000
break

;;----------------------------------------------------------------------------------------
;; 7Ä*À» ·£´ýÀ¸·Î À̵¿ÇÔ
;; ÀڽŠÁÖÀ§¿¡ Èú¸µÀ» 500 Çϸç 3ÃÊ µ¿¾È ¼* ÀÖÀ½
;; ÀÚ½ÅÀÇ ÁÖÀ§¿¡ ÀÖ´Â 5*5 ¿¡°Ô °*°ÝÀ» ³¯·Á ¹ö¸²
;;----------------------------------------------------------------------------------------
#IF
Random 1  20
Near   12
LOWHP  50
#ACT
Jump 7
Say "You time has come to Die oh Brave one."
Spell [3] WIDEHEALING 500 (24) SELF Delay 3000
Spell [3] THUNDER 100 (2) ENEMY 9 Delay 2000
break

;;----------------------------------------------------------------------------------------
;; Åõ¼®º´À» Á¨ÇÔ
;;----------------------------------------------------------------------------------------
#IF
Random 1  10
Near   12
LOWHP  50
#ACT
MONGEN "NumaCaptain" 5 8
break

;;----------------------------------------------------------------------------------------
;; °ø°ÝÇÑ »ç¶÷À» ÇâÇØ À̵¿
;; 3¹è °ø°ÝÀ» °¡ÇÔ
;;----------------------------------------------------------------------------------------
#IF
random 1 8
Near   12
#ACT
Jumpto
Power RATE 300
hit [2] Delay 1000
Power RATE 100
break

;;----------------------------------------------------------------------------------------
;; 3¹è °ø°ÝÀ» °¡ÇÔ
;;----------------------------------------------------------------------------------------
#IF
random 1 5
Near   1
#ACT
Power RATE 300
hit [2] Delay 1000
Power RATE 100
break

;;----------------------------------------------------------------------------------------
;; Æ÷À§ÇÑ ¸ðµç »ç¶÷¿¡°Ô 400 µ¥¹ÌÁö ¿°»çÀåÀ» ³¯¸²
;; Æ÷À§ÇÑ ¸ðµç »ç¶÷¿¡°Ô 200 µ¥¹ÌÁö Áö¿°¼ú 4ÃÊ µô·¹ÀÌ
;; 7 ¼¿ À̵¿ ÇÔ
;;----------------------------------------------------------------------------------------
#IF
Time       5
Surrounded 4
#ACT
Say "I can summon the Fires of Hell."
Spell [3] Fireline 400 (6) FULLMOON Delay 2000
Spell [3] FireWall 200 10 () Delay 4000
JUMP 10
SETSTATUS 0
break
break

;;----------------------------------------------------------------------------------------
;; 8¹æÇâ °ø°ÝÀ» ÇÔ
;;----------------------------------------------------------------------------------------
#IF
NEAR   1
#ACT
hit [1] FULLMOON Delay 1000
break
;;²»ÒªÉ¾µô´ËÐÐ

You can work out the stuff in there Im sure...Now the problem is once you change a Mob to 255, its magic is Null and Void, meaning ZT wont do what he did before (not even starting off in Roock for that matter) and all the Spells etc he does Must be in this file you make...

I'll Leave it to your Imagination on what to do with this feature...
 

Demonic

LOMCN VIP
VIP
Dec 1, 2003
1,806
2
165
Ill have a player Around with it Milo and see what I can shove in there (Or Farril Can maybe) the Magic the mob uses does not look like Player magic as its a Star Shaped thing with flames. It would be easier of course if I could "peek" in the Server and look for the words - or even get onto 17NG site. Ill see what I can come up with anyhooo.
 

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,709
35
3,357
520
yeah ill have a go sometime tonight, iv tried this before though and could only get certain magics working on the tangada.

as far as i was aware befor this post, the monai system didnt work that well.

cld b put to great use. + i wonder if the ai can be used with your pets.
 

mir3Mist

Dedicated Member
Dedicated Member
Aug 11, 2005
108
0
42
anychance we know what the magic names are that mobs use?

but then again i could just back up and have an experiment... ill post any magic names i find out :)
 

mir3Mist

Dedicated Member
Dedicated Member
Aug 11, 2005
108
0
42
Demonic said:
CD 3.3X onwards has MobAi feature, this allows the mob to follow a script such as use differnet magics, spawn mobs, teleport and so forth. Now the one already coded in for you in Tadanga - if you Spawn this mob, it will flamewall (star flames), Recall you, Spawn mobs and so forth...
base you just added) and the file it has to read..
Folder called MonAi_Def holds all the files needed for the tricks..

This is Tadanga
Code:
;;²»ÒªÉ¾µô´ËÐÐ
;;; @reloadmonai Ÿ´ç°¡ "monai_def\tadangga.txt"
[@Numaking, STATUS, 0]
;;----------------------------------------------------------------------------------------
;; 1. »ç¶÷À» ¸ðµÎ ²ø¾î µå¸² (4*4¾È¿¡ ÀÖ´Â »ç¶÷À» ¸ðµÎ)
;; 2. 8¹æÇâ 300% µ¥¹ÌÁö °ø°ÝÀ» °¡ÇÔ
;;----------------------------------------------------------------------------------------
#IF
Random 1  20
Near   12
#ACT
Say "So you think you can run away from me do you??"
PULLOVER [3] ENEMY 7
Power RATE 300
hit [1] FULLMOON Delay 1000
Power RATE 100
break
 
;;----------------------------------------------------------------------------------------
;; 1. 5*5 ¾È¿¡ ÀÖ´Â »ç¶÷¿¡°Ô ¸ðµÎ Á¤È*¼úÀ» ¾¸
;; 2. ¿°»çÀåÀ» ³¯¸²
;; 3. Àڽſ¡°Ô Áö¿°¼úÀ» ³¯¸²
;;----------------------------------------------------------------------------------------
#IF
Random 1  20
Near   12
#ACT
Say "I will Burn you Good"
Spell [3] Clearstatus 0 (26) ENEMY 11 Delay 2000
Spell [3] FireLine 100 (6) FULLMOON Delay 2000
Spell [3] Firewall 200 5 () SELF Delay 2000
break
 
;;----------------------------------------------------------------------------------------
;; 7Ä*À» ·£´ýÀ¸·Î À̵¿ÇÔ
;; ÀڽŠÁÖÀ§¿¡ Èú¸µÀ» 500 Çϸç 3ÃÊ µ¿¾È ¼* ÀÖÀ½
;; ÀÚ½ÅÀÇ ÁÖÀ§¿¡ ÀÖ´Â 5*5 ¿¡°Ô °*°ÝÀ» ³¯·Á ¹ö¸²
;;----------------------------------------------------------------------------------------
#IF
Random 1  20
Near   12
LOWHP  50
#ACT
Jump 7
Say "You time has come to Die oh Brave one."
Spell [3] WIDEHEALING 500 (24) SELF Delay 3000
Spell [3] THUNDER 100 (2) ENEMY 9 Delay 2000
break
 
;;----------------------------------------------------------------------------------------
;; Åõ¼®º´À» Á¨ÇÔ
;;----------------------------------------------------------------------------------------
#IF
Random 1  10
Near   12
LOWHP  50
#ACT
MONGEN "NumaCaptain" 5 8
break
 
;;----------------------------------------------------------------------------------------
;; °ø°ÝÇÑ »ç¶÷À» ÇâÇØ À̵¿
;; 3¹è °ø°ÝÀ» °¡ÇÔ
;;----------------------------------------------------------------------------------------
#IF
random 1 8
Near   12
#ACT
Jumpto
Power RATE 300
hit [2] Delay 1000
Power RATE 100
break
 
;;----------------------------------------------------------------------------------------
;; 3¹è °ø°ÝÀ» °¡ÇÔ
;;----------------------------------------------------------------------------------------
#IF
random 1 5
Near   1
#ACT
Power RATE 300
hit [2] Delay 1000
Power RATE 100
break
 
;;----------------------------------------------------------------------------------------
;; Æ÷À§ÇÑ ¸ðµç »ç¶÷¿¡°Ô 400 µ¥¹ÌÁö ¿°»çÀåÀ» ³¯¸²
;; Æ÷À§ÇÑ ¸ðµç »ç¶÷¿¡°Ô 200 µ¥¹ÌÁö Áö¿°¼ú 4ÃÊ µô·¹ÀÌ
;; 7 ¼¿ À̵¿ ÇÔ
;;----------------------------------------------------------------------------------------
#IF
Time       5
Surrounded 4
#ACT
Say "I can summon the Fires of Hell."
Spell [3] Fireline 400 (6) FULLMOON Delay 2000
Spell [3] FireWall 200 10 () Delay 4000
JUMP 10
SETSTATUS 0
break
break
 
;;----------------------------------------------------------------------------------------
;; 8¹æÇâ °ø°ÝÀ» ÇÔ
;;----------------------------------------------------------------------------------------
#IF
NEAR   1
#ACT
hit [1] FULLMOON Delay 1000
break
;;²»ÒªÉ¾µô´ËÐÐ

You can work out the stuff in there Im sure...Now the problem is once you change a Mob to 255, its magic is Null and Void, meaning ZT wont do what he did before (not even starting off in Roock for that matter) and all the Spells etc he does Must be in this file you make...

I'll Leave it to your Imagination on what to do with this feature...

hmm so what you mean is... change "race" from the previous sum to 255 i think i understand that... i love demonic :bounce: :x (in a non gay way)
 

Diego

Dedicated Member
Dedicated Member
Sep 20, 2010
72
1
3
35
Avoid

Any idea how you make a mob avoid a spell like firewall(Firecloud) like the scarecrow does on some servers
 

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
175
Redditch, UK
Thats has nothing to do with monai, its in the database under cool eye i think it is

0-100, 100 being avoid firewall and tempest, 0 being ignore and walk straight through