Jump to content
  • 0

Mob Conditions


Promeister

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   4
  • Joined:  04/17/16
  • Last Seen:  

Can anyone tell me a much more broad explanations about the conditions in mobs ? 

The texts at are highlighted as red are the ones i'm somewhat confused about..

 

CONDITION:
// always Unconditional (no condition value).
// onspawn When mob spawns/respawns (no condition value).
// myhpltmaxrate When mob's HP drops to the specified %.
// myhpinrate When mob's HP is in a certain % range (condition value = lower bound, val1 = upper bound).
// mystatuson If mob has the specified abnormality in status.
// mystatusoff If mob has ended the specified abnormality in status.
// friendhpltmaxrate When mob's friend's HP drops to the specified %.
// friendhpinrate When mob's friend's HP is in a certain % range (condition value = lower bound, val1 = upper bound).
// friendstatuson If friend has the specified abnormality in status.
// friendstatusoff If friend has ended the specified abnormality in status.
// attackpcgt When attack PCs become greater than specified number.
// attackpcge When attack PCs become greater than or equal to the specified number.
// slavelt When number of slaves is less than the original specified number.
// slavele When number of slaves is less than or equal to the original specified number.
// closedattacked When close range melee attacked (no condition value).
// longrangeattacked When long range attacked, ex. bows, guns, ranged skills (no condition value).
// skillused When the specified skill is used on the mob.
// afterskill After mob casts the specified skill.
// casttargeted When a target is in cast range (no condition value).
// rudeattacked When mob is rude attacked (no condition value).
 
The thing here is that, i'm not sure what to put on the condition values cause its not specifically detailed.

Thank you and Godbless in advance to whom that might reply to this topic ^,^
 
[Edit]
I've viewed the mob_skill_db.txt and majority of the row processes doesn't use the state:" any ". is it because the scripts on the mobs need to be direct to what every row processes should be ? Please answer. Thanks =)

 
Edited by Promeister
Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  790
  • Reputation:   225
  • Joined:  01/30/13
  • Last Seen:  

Yeah put the skill ID you want the monster to react to as value.

1087,Orc Hero@MG_THUNDERSTORM,chase,21,20,10000,1500,5000,no,target,skillused,18,,,,,,,

Like this means that Orc Hero will counter "Firewall" with the ranged skill "Thunder Storm".

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

  1. always cast the skills while idle/chase/attack
  2. cast when the amount of players gangbang the monster is more than X
  3. cast when the amount of players gangbang the monster is more than or equal X
  4. cast when the players casted specific skills on the mob
  5. cast skill when after another skill is triggered. (chain skills)

I believe should be like these.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   4
  • Joined:  04/17/16
  • Last Seen:  

 

  1. always cast the skills while idle/chase/attack
  2. cast when the amount of players gangbang the monster is more than X
  3. cast when the amount of players gangbang the monster is more than or equal X
  4. cast when the players casted specific skills on the mob
  5. cast skill when after another skill is triggered. (chain skills)

I believe should be like these.

 

I'm glad for the fast reply ! 

so in no.5 if its about chain skills, i'll just put in the condition value the SKILLID that's been used before it happened ? this is also a related question in no.4.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   4
  • Joined:  04/17/16
  • Last Seen:  

Yeah put the skill ID you want the monster to react to as value.

1087,Orc Hero@MG_THUNDERSTORM,chase,21,20,10000,1500,5000,no,target,skillused,18,,,,,,,

Like this means that Orc Hero will counter "Firewall" with the ranged skill "Thunder Storm".

Hi Thanks again for another clear reply :D so if i want multiple skill ID's should i make another process or just add ID's in the val1,val2,val3... ?

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  790
  • Reputation:   225
  • Joined:  01/30/13
  • Last Seen:  

No val1, etc. are used for the skill the monster is using, not the condition.

 

You need to do one row per skill trigger.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   4
  • Joined:  04/17/16
  • Last Seen:  

No val1, etc. are used for the skill the monster is using, not the condition.

 

You need to do one row per skill trigger.

How about in the " afterskill " ? is it the same ? do i need to make another row for it to trigger ?

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  790
  • Reputation:   225
  • Joined:  01/30/13
  • Last Seen:  

Yes, there is only one condition value.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  75
  • Reputation:   4
  • Joined:  06/14/16
  • Last Seen:  

got abit confused in casttargeted. what does it mean?

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