Jump to content
  • 0

Mob Skill Freeze


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

hello rA can i request some script db..

im like to make custom mob used skill make player 100% freeze when attacking the mob

example mob code 2010

 

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

OnNPCKillEvent:
if (killedrid==2010) {
pcblockmove getcharid(3),1;
sleep2 5000
pcblockmove getcharid(3),0;
}
end;

What do you mean by "freeze"?

Is it to stop the player movement, or is it frozen in ice?

Edited by nanakiwurtz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

yeah random skill 100%

example ice,sleep,curse or automatic die

hahah

anyway thanks for reply  nanakiwurtz

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Just create a custom mob, then set it's skill in mob_skill_db.txt

2010,mycustommob,angry,181,1,10000,0,5000,no,randomtarget,always,0,,,,,,,
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

Just create a custom mob, then set it's skill in mob_skill_db.txt

 

2010,mycustommob,angry,181,1,10000,0,5000,no,randomtarget,always,0,,,,,,,

 nanakiwurtz this for make player die when attacking the mob?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

No, it's curse attack, you could add another skill to the custom mob, such as freeze, sleep, or what is exactly do you want for the mob?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

how if want make attack wrong mob player automatic die

hee thanks for ure reply

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

But honestly, I think it will be easier to script like this:

prontera,155,180,3	script	Popo	1031,{

areamonster "prontera",150,175,160,185,"Poporing",1031,10,"Popo::OnWrongKill";

areamonster "prontera",150,175,160,185,"Poporing",1031,1,"Popo::OnRightKill";

npctalk "Find the correct Poporing to receive the reward!";

end;

OnWrongKill:

areamonster "prontera",150,175,160,185,"Poporing",1031,1,"Popo::OnWrongKill";

atcommand "@die";

dispbottom "You kill the wrong Poporing!";

end;

OnRightKill:

killmonster "prontera","Popo::OnWrongKill",1031;

announce strcharinfo(0)+" has killed the right Poporing!",0;

getitem 501,1;

end;

}

Edited by nanakiwurtz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

aww

thanks im just used the skill

:)
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...