NightJar Posted January 18, 2018 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 51 Reputation: 0 Joined: 12/24/17 Last Seen: December 26, 2024 Share Posted January 18, 2018 hi. Can someone please help mo to resolve this ?? Thanks! punchingbag.txt Quote Link to comment Share on other sites More sharing options...
0 GodKnows Jhomz Posted January 18, 2018 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 333 Reputation: 68 Joined: 09/05/12 Last Seen: June 13, 2023 Share Posted January 18, 2018 2 hours ago, Haruka Mayumi said: if(.@diff > 0){ npctalk "Punching Bag : I've taken " + (.@diff/5) + " DPS in last 5 seconds."; setunitdata .gid[.@dupid],UMOB_HP,.mhp[.@dupid]; specialeffect EF_HEAL; setmapflag( "prontera",mf_monster_noteleport ); } Or you can replace "Punching Bag" with "prontera" or to a map where you put the Punching Bag monster. Quote Link to comment Share on other sites More sharing options...
0 Haruka Mayumi Posted January 18, 2018 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 485 Reputation: 271 Joined: 06/13/17 Last Seen: Monday at 10:43 AM Share Posted January 18, 2018 if(.@diff > 0){ npctalk "Punching Bag : I've taken " + (.@diff/5) + " DPS in last 5 seconds."; setunitdata .gid[.@dupid],UMOB_HP,.mhp[.@dupid]; specialeffect EF_HEAL; //setmapflag( "Punching Bag",mf_monster_noteleport ); } you tried to setmapflag on a monster. Quote Link to comment Share on other sites More sharing options...
0 NightJar Posted January 19, 2018 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 51 Reputation: 0 Joined: 12/24/17 Last Seen: December 26, 2024 Author Share Posted January 19, 2018 17 hours ago, GodKnows Jhomz said: Or you can replace "Punching Bag" with "prontera" or to a map where you put the Punching Bag monster. Oh. Again thankyou very much sir! It worked! Quote Link to comment Share on other sites More sharing options...
Question
NightJar
hi.
Can someone please help mo to resolve this ??
Thanks!
punchingbag.txt
Link to comment
Share on other sites
3 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.