Jump to content
  • 0

[ Help ] Make Mob Receive Only 1 Damage


Question

4 answers to this question

Recommended Posts

Posted

For example poring..

 

 

 

1002,PORING,Poring,Poring,1,60,1,27,20,1,8,9,2,5,6,1,1,0,6,5,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,512,150,619,20,0,0,0,0,4001,1

 

Mode is 0x83

 

Input 83 here. And you'll get 131.

 

Looking at this table..

 

MD_CANMOVE            | 0x0001 |      1
MD_LOOTER             | 0x0002 |      2
MD_AGGRESSIVE         | 0x0004 |      4
MD_ASSIST             | 0x0008 |      8
MD_CASTSENSOR_IDLE    | 0x0010 |     16
MD_BOSS               | 0x0020 |     32
MD_PLANT              | 0x0040 |     64
MD_CANATTACK          | 0x0080 |    128
MD_DETECTOR           | 0x0100 |    256
MD_CASTSENSOR_CHASE   | 0x0200 |    512
MD_CHANGECHASE        | 0x0400 |   1024
MD_ANGRY              | 0x0800 |   2048
MD_CHANGETARGET_MELEE | 0x1000 |   4096
MD_CHANGETARGET_CHASE | 0x2000 |   8192
MD_TARGETWEAK         | 0x4000 |  16384

 

 

get the modes that will add up to 131
 
they are
MD_CANMOVE            | 0x0001 |      1
MD_LOOTER             | 0x0002 |      2
MD_CANATTACK          | 0x0080 |    128

 

 

to add MD_PLANT(64)

 

131+64 = 195

 

converting back to hex, you'll get 0xC3

 

the new entry should be

 

1002,PORING,Poring,Poring,1,60,1,27,20,1,8,9,2,5,6,1,1,0,6,5,10,12,1,3,21,0xC3,400,1872,672,480,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,512,150,619,20,0,0,0,0,4001,1

 

 

 

 

 

 

 

For example poring..

 

 

 

1002,PORING,Poring,Poring,1,60,1,27,20,1,8,9,2,5,6,1,1,0,6,5,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,512,150,619,20,0,0,0,0,4001,1

 

Mode is 0x83

 

Input 83 here. And you'll get 131.

 

Looking at this table..

 

MD_CANMOVE            | 0x0001 |      1
MD_LOOTER             | 0x0002 |      2
MD_AGGRESSIVE         | 0x0004 |      4
MD_ASSIST             | 0x0008 |      8
MD_CASTSENSOR_IDLE    | 0x0010 |     16
MD_BOSS               | 0x0020 |     32
MD_PLANT              | 0x0040 |     64
MD_CANATTACK          | 0x0080 |    128
MD_DETECTOR           | 0x0100 |    256
MD_CASTSENSOR_CHASE   | 0x0200 |    512
MD_CHANGECHASE        | 0x0400 |   1024
MD_ANGRY              | 0x0800 |   2048
MD_CHANGETARGET_MELEE | 0x1000 |   4096
MD_CHANGETARGET_CHASE | 0x2000 |   8192
MD_TARGETWEAK         | 0x4000 |  16384

 

 

get the modes that will add up to 131
 
they are
MD_CANMOVE            | 0x0001 |      1
MD_LOOTER             | 0x0002 |      2
MD_CANATTACK          | 0x0080 |    128

 

 

to add MD_PLANT(64)

 

131+64 = 195

 

converting back to hex, you'll get 0xC3

 

the new entry should be

 

1002,PORING,Poring,Poring,1,60,1,27,20,1,8,9,2,5,6,1,1,0,6,5,10,12,1,3,21,0xC3,400,1872,672,480,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,512,150,619,20,0,0,0,0,4001,1

 

 

 

 

 

 

I can't thank you enough my friend. I really appreciate how you elaborately lectured a newbie like me.

You're a good friend.

 

Thanks my liege  /no1 (how can I +rep you?)

healthydude

 

Posted

Add the mob mode MD_PLANT.

 

Plant: Always receives 1 damage from attacks.

 

Just add 0x0040 to your monster's mode.

 

 

Add the mob mode MD_PLANT.

 

Plant: Always receives 1 damage from attacks.

 

Just add 0x0040 to your monster's mode.

 

I'm sorry I'm not yet literate of the rA language. Can you elaborate further for a newbie?

Posted

For example poring..

 

 

1002,PORING,Poring,Poring,1,60,1,27,20,1,8,9,2,5,6,1,1,0,6,5,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,512,150,619,20,0,0,0,0,4001,1

 

Mode is 0x83

 

Input 83 here. And you'll get 131.

 

Looking at this table..

 

MD_CANMOVE            | 0x0001 |      1
MD_LOOTER             | 0x0002 |      2
MD_AGGRESSIVE         | 0x0004 |      4
MD_ASSIST             | 0x0008 |      8
MD_CASTSENSOR_IDLE    | 0x0010 |     16
MD_BOSS               | 0x0020 |     32
MD_PLANT              | 0x0040 |     64
MD_CANATTACK          | 0x0080 |    128
MD_DETECTOR           | 0x0100 |    256
MD_CASTSENSOR_CHASE   | 0x0200 |    512
MD_CHANGECHASE        | 0x0400 |   1024
MD_ANGRY              | 0x0800 |   2048
MD_CHANGETARGET_MELEE | 0x1000 |   4096
MD_CHANGETARGET_CHASE | 0x2000 |   8192
MD_TARGETWEAK         | 0x4000 |  16384

 

 

get the modes that will add up to 131
 
they are
MD_CANMOVE            | 0x0001 |      1
MD_LOOTER             | 0x0002 |      2
MD_CANATTACK          | 0x0080 |    128

 

 

to add MD_PLANT(64)

 

131+64 = 195

 

converting back to hex, you'll get 0xC3

 

the new entry should be


 

1002,PORING,Poring,Poring,1,60,1,27,20,1,8,9,2,5,6,1,1,0,6,5,10,12,1,3,21,0xC3,400,1872,672,480,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,512,150,619,20,0,0,0,0,4001,1

 

 

 

 
  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...