Jump to content

  •  

ragexe

Member Since 31 May 2017
Offline Last Active Jun 07 2017 04:22 PM
-----

Topics I've Started

Custom Instance unitskilluseid (Please help)

31 May 2017 - 12:35 PM

 monster(.@map$, 120, 130, "Dracula", 1389, 1);
        'Dracula = $@mobid[0];

            getunitdata 'Dracula,.@bossdata;
            .@x = .@bossdata[6];
            .@y = .@bossdata[7];
            monster instance_mapname("1@dra"),.@x,.@y,"",1389,1;
            'draculaclone = $@mobid[0];
            setunitdata 'draculaclone, 29, 1;
            unitskilluseid 'draculaclone, 85, 1;
                if(rand(1,20) > 10) {
                    unittalk 'Dracula,"!!!!!!";
                    unitskillusepos 'draculaclone,85,10,.@x,.@y;
                    for(.@i = 0; .@i < 2; .@i ++) {
                        unitskillusepos 'draculaclone,89,10,.@x+.@i+5,.@y+.@i+5;
                        unitskillusepos 'draculaclone,89,10,.@x-.@i-5,.@y-.@i-5;
                    }
            }

I'm trying to create custom instance, but unitskilluseid & unitskillusepos just cast(just magic circle) without give any magic effect & damage, no error in map server