waaa123 Posted April 7, 2016 Posted April 7, 2016 Can someone please help me i need a Punching Bag / Dummy script for my RO that cannot be teleport by a Tarot Skill TIA Quote
0 Sekai RO Posted April 8, 2016 Posted April 8, 2016 - script Punching Bag -1,{ OnInit: monster "isahollm",248,104,"Punching Bag",1905,1,"Punching Bag::OnDummyKill"; monster "isahollm",256,104,"Punching Bag",1905,1,"Punching Bag::OnDummyKill3"; monster "isahollm",240,104,"Punching Bag",1905,1,"Punching Bag::OnDummyKill2"; setmapflag( "isahollm",mf_monster_noteleport ); end; OnDummyKill: monster "isahollm",248,104,"Punching Bag",1905,1,"Punching Bag::OnDummyKill"; end; OnDummyKill2: monster "isahollm",240,104,"Punching Bag",1905,1,"Punching Bag::OnDummyKill2"; end; OnDummyKill3: monster "isahollm",256,104,"Punching Bag",1905,1,"Punching Bag::OnDummyKill3"; end; OnPCAttackEvent: if ( !@test_punch ) end; @dps_damage += @damage; end; } Just edit the coordinates and edit isahollm to the map you want to put the punching bag. Take note: Use tabs and edit the map where the mapflag monster_noteleport was set Quote
0 Chuckzxc Posted May 6, 2017 Posted May 6, 2017 Hi im newbie here can you guide me where to put that dummy is it on NPC? Thanks Quote
0 crazyarashi Posted May 6, 2017 Posted May 6, 2017 3 minutes ago, Chuckzxc said: Hi im newbie here can you guide me where to put that dummy is it on NPC? Thanks Yes this is an npc :)) you just need to adjust the coordinates of the monster (Dummy NPC) to your liking and the mapflag Quote
0 Chuckzxc Posted May 6, 2017 Posted May 6, 2017 can you guide me on how to do it on mapflag? thanks Quote
0 crazyarashi Posted May 6, 2017 Posted May 6, 2017 15 minutes ago, Chuckzxc said: can you guide me on how to do it on mapflag? thanks - script Punching Bag -1,{ OnInit: monster "izlude",248,104,"Punching Bag",1905,1,"Punching Bag::OnDummyKill"; monster "izlude",256,104,"Punching Bag",1905,1,"Punching Bag::OnDummyKill3"; monster "izlude",240,104,"Punching Bag",1905,1,"Punching Bag::OnDummyKill2"; setmapflag( "izlude",mf_monster_noteleport ); end; OnDummyKill: monster "isahollm",248,104,"Punching Bag",1905,1,"Punching Bag::OnDummyKill"; end; OnDummyKill2: monster "isahollm",240,104,"Punching Bag",1905,1,"Punching Bag::OnDummyKill2"; end; OnDummyKill3: monster "isahollm",256,104,"Punching Bag",1905,1,"Punching Bag::OnDummyKill3"; end; OnPCAttackEvent: if ( !@test_punch ) end; @dps_damage += @damage; end; } // Mapflag izlude mapflag monster_noteleport For example you want to add it in izlude just use :)) izlude mapflag monster_noteleport Quote
0 Chuckzxc Posted May 6, 2017 Posted May 6, 2017 (edited) I still cannot enable it here's the script, im not sure if i did it right on my mapflag on what folder should i put it? thanks - script Punching Bag -1,{ OnInit: monster "prontera",191,176,"Punching Bag",1905,1,"Punching Bag::OnDummyKill"; monster "prontera",198,176,"Punching Bag",1905,1,"Punching Bag::OnDummyKill3"; monster "prontera",204,176,"Punching Bag",1905,1,"Punching Bag::OnDummyKill2"; setmapflag( "prontera",mf_monster_noteleport ); end; OnDummyKill: monster "prontera",191,176,"Punching Bag",1905,1,"Punching Bag::OnDummyKill"; end; OnDummyKill2: monster "prontera",198,176,"Punching Bag",1905,1,"Punching Bag::OnDummyKill2"; end; OnDummyKill3: monster "prontera",204,176,"Punching Bag",1905,1,"Punching Bag::OnDummyKill3"; end; OnPCAttackEvent: if ( !@test_punch ) end; @dps_damage += @damage; end; } // Mapflag prontera mapflag monster_noteleport Edited May 6, 2017 by Cyro Please use code box next time Quote
Question
waaa123
Can someone please help me i need a Punching Bag / Dummy script for my RO that cannot be teleport by a Tarot Skill TIA
6 answers 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.