Jump to content
  • 0

Change attack element of a monster


xMysth

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  03/09/14
  • Last Seen:  

Hi.
Is it possible to change the element with which a monster attacks? I have already tried different ways and they only attack with a neutral element. ?

I used this to guide me, but so far it hasn't worked for me, even with monster abilities.
https://github.com/rathena/rathena/wiki/Custom-Mobs

Thanks!!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.03
  • Content Count:  112
  • Reputation:   9
  • Joined:  09/22/19
  • Last Seen:  

Have you tried giving your monsters skills that change their weapon element? I know the taekwon class has a move that can do that, and there is an itemskill move that I believe has all the elements (The itemskill is called "ITEM_ENCHANTARMS", and if you can figure out what number that skill is, you could possibly add to a mob's skill list with a high % chance to use it). Outside of that, I did a dirty source mod that made it so that my monsters attack with neutral element 50% of the time and their defensive element 50% of the time. My code means that a dark monster would be using dark basic attacks 50% of the time.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  04/27/21
  • Last Seen:  

Thanks for the detailed explanation

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