MonAi Problem

smoochy boys on tour

Raffis

Dedicated Member
Dedicated Member
Dec 9, 2008
69
1
34
Hi, i sarched on forum about this, but i didn't find. I want to my mob attack by mass thunder all peaple. i don't know how do it. i tried wroten this but my monster attack peaople who stay 1 step from monster- it's this:
Code:
#IF
random 1 5
NEAR 12
#ACT
Spell [3] THUNDER 10000 (2) ENEMY 9 Delay 2000
break
or attack all with FIREBOMB, but i want with thunder, but it's work:
Code:
#IF
random 1 5
NEAR 12
#ACT
Spell [2] FIREBOMB 10000 ENEMY 11 Delay 2000
break
(although monster attack me too if i stay on transparency - i won't this)
somebody know how do it?


EDIT:
I made next boss and next MonAi and i solve this problem, it's work:
Code:
#IF
Random 1 15
NEAR 12
LOWHP 80
#ACT
Spell [3] FIREBOMB 10000 (2) ENEMY 9 Delay 2500
break
I don't know why, if i dont write LOWHP or HIGHTHP in #IF script is wrong ;) but this work, meaby sb use this in future
 
Last edited:

dilina

Dedicated Member
Dedicated Member
Oct 9, 2008
129
2
44
have 1 question about mon ai hope u dont mind useing ur post :P
so i wana make a mob with mon ai , everything works fine except i cant make him hit from distance here's my script for it
Code:
#IF
Random 1  5
Near   3
#ACT
PULLOVER [3] ENEMY 8

#IF
Random 1  8
Near   4
LOWHP  4000
#ACT
Jump 7

#IF
Random 1  5
Near 3
#ACT
Power RATE 600
PULLOVER [3] ENEMY 7
hit [5] FULLMOON Delay 1000
Power RATE 100
break

#IF
Random 1  8
Near 5
#ACT
Jumpto
Power RATE 600
PULLOVER [3] ENEMY 7
hit [5] FULLMOON Delay 1000
Power RATE 100
break

#IF
Near 1
#ACT
Power RATE 500
hit [5] FULLMOON Delay 1000
Power RATE 100
break
would love a lil help on how to make him hit from distance , ty
 
Upvote 0

dilina

Dedicated Member
Dedicated Member
Oct 9, 2008
129
2
44
ok sorted the hit from distance and i understood a lil better how the monai scripts works now but im stuck at a repulse command only command i found that works as a repulse is push , but i cant make this one work from distance so any1 knows another spell name that work like a repulse even if the chars not next to the mob ? ty this is the line i have till now

Code:
spell [3] push 400 (12) ENEMY 9
 
Upvote 0

Raffis

Dedicated Member
Dedicated Member
Dec 9, 2008
69
1
34
thanks for new command :) i tried do it, but i couldn't. i only searched how push all people around mob if two or more people surrounded him, look
Code:
#IF
Random 1 1
surrounded 2
#ACT
spell [3] Push 400 (6) FULLMOON delay 1000
break
 
Upvote 0

dilina

Dedicated Member
Dedicated Member
Oct 9, 2008
129
2
44
that script works only if ppl are next to the mob as well , i need to find out how to make it work even if the char isnt next to the mob , make it just like EviEmperor just with a lil more dmg :P
 
Upvote 0