Jump to content
  • 0

monster scripting question


Nullifier

Question


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  140
  • Reputation:   11
  • Joined:  09/28/14
  • Last Seen:  

Is it possible to make a monster immune to magics and can only be damaged by physical / long range attack with only 1 damage?

 

Currently im doing it with the monster Gourd #1816 and i already tried raising both MDEF and INT with a 1 stat char and the magic damage still damaging the monster.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

You can set it by mob modes

For example plant type monsters only take one damage so you can makr a monster which moves with plant mode using 

 MD_PLANT

MD_CANMOVE

You can remove magical type damage with mob mode  MD_IGNOREMAGIC

For more details check out this link

https://github.com/rathena/rathena/blob/master/doc/mob_db_mode_list.txt

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  140
  • Reputation:   11
  • Joined:  09/28/14
  • Last Seen:  

I already know those what i want is the players magic will miss to that monster not 1 damage XD because players can just spam spells bolts to them and just kill it easily,

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

1 hour ago, Vex said:

I already know those what i want is the players magic will miss to that monster not 1 damage XD because players can just spam spells bolts to them and just kill it easily,

MD_IGNOREMAGIC mode

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

The only way I see to make magic miss is using MD_SKILL_IMMUNE. but that means all skills will miss and normal attacks are the only one that can hit it.

Unless there's like a property for monsters that all elemental attacks will miss.

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...