Lord Ganja Posted November 11, 2015 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Share Posted November 11, 2015 I think it is better to add other parameters on mob control system so it would be more flexible and easily configurable, since if STR,DEX,LUK is increased, it'll also affect the ATTACK. VIT would also affect DEF, DEX would affect both HIT and ATTACK, and other stats affects other parameters. So I think it's more appropriate if some parameters will be added.like ATK, MATK, DEF, MDEF, HIT, FLEE, CRITICAL, PERFECT DODGE,ADELAY,AMOTION and others too.. Thank you! Link to comment Share on other sites More sharing options...
Haziel Posted November 11, 2015 Group: Content Moderator Topic Count: 22 Topics Per Day: 0.00 Content Count: 639 Reputation: 609 Joined: 11/25/11 Last Seen: March 7 Share Posted November 11, 2015 You can basically make functions to do these calculations, since you have the proper values and proper formulas to do so.Basic values can be gathered by the monster data, and, If you're manipulating a unit, you probably have the value added.I'm not telling the suggestion isn't valid, but, well, it can be handle with the current tools. Link to comment Share on other sites More sharing options...
Lord Ganja Posted November 11, 2015 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted November 11, 2015 You can basically make functions to do these calculations, since you have the proper values and proper formulas to do so. Basic values can be gathered by the monster data, and, If you're manipulating a unit, you probably have the value added. I'm not telling the suggestion isn't valid, but, well, it can be handle with the current tools. What "current tool" is it? I wanted to know how I can edit a monsters ATK,MATK,HIT when spawned. can you give me an example how to do that using the tool that you mention? thanks btw. Link to comment Share on other sites More sharing options...
Haziel Posted November 11, 2015 Group: Content Moderator Topic Count: 22 Topics Per Day: 0.00 Content Count: 639 Reputation: 609 Joined: 11/25/11 Last Seen: March 7 Share Posted November 11, 2015 Monsters have no set MATK, if it is ever used (by skills, for example) it uses the MATK Formula, which depends if you're on Renewal or Pre-Renewal.So, basically, for MATK, only INT is necessary.Monsters also, have no set HIT, which is calculated by it's own formula, which also depends on if you're on Pre or Renewal, but, usually, DEX and BaseLevel are the catalysts.By the way, monsters DO have preset ATK, min and max, but it's directly affected by it's own Strength.On doc/mob_db.txt lays a brief explanation of each stats purpose. STR: Strength of the monster. Affects ATK. AGI: Agility of the monster. Affects FLEE. VIT: Vitality of the monster. Adds additional DEF. INT: Intelligence of the monster. Adds additional MATK. DEX: Dexterity of the monster. Affects HIT rate. LUK: Luck of the monster. Affects Perfect dodge/Lucky flee/Perfect flee/Lucky dodge rate. Link to comment Share on other sites More sharing options...
Lord Ganja Posted November 11, 2015 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted November 11, 2015 Monsters have no set MATK, if it is ever used (by skills, for example) it uses the MATK Formula, which depends if you're on Renewal or Pre-Renewal. So, basically, for MATK, only INT is necessary. Monsters also, have no set HIT, which is calculated by it's own formula, which also depends on if you're on Pre or Renewal, but, usually, DEX and BaseLevel are the catalysts. By the way, monsters DO have preset ATK, min and max, but it's directly affected by it's own Strength. On doc/mob_db.txt lays a brief explanation of each stats purpose. STR: Strength of the monster. Affects ATK. AGI: Agility of the monster. Affects FLEE. VIT: Vitality of the monster. Adds additional DEF. INT: Intelligence of the monster. Adds additional MATK. DEX: Dexterity of the monster. Affects HIT rate. LUK: Luck of the monster. Affects Perfect dodge/Lucky flee/Perfect flee/Lucky dodge rate. That's why I was saying if these parameters could be added so it can easily be configured without modifying a monster stats, since adding stats also adds multiple parameters.. btw monster HIT can also be modified via SRC. but since I have the least knowledge on src I couldn't do it. Link to comment Share on other sites More sharing options...
Aleos Posted November 13, 2015 Group: Development Manager Topic Count: 56 Topics Per Day: 0.01 Content Count: 732 Reputation: 525 Joined: 12/13/11 Last Seen: June 13, 2024 Share Posted November 13, 2015 This is in the wrong section. I'll move it. And on a side note, this is in the works. Link to comment Share on other sites More sharing options...
Lord Ganja Posted November 14, 2015 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted November 14, 2015 And on a side note, this is in the works. Good to hear that Hope it'll be release soon. :D Link to comment Share on other sites More sharing options...
Aleos Posted November 14, 2015 Group: Development Manager Topic Count: 56 Topics Per Day: 0.01 Content Count: 732 Reputation: 525 Joined: 12/13/11 Last Seen: June 13, 2024 Share Posted November 14, 2015 Implemented in e276970. Keep in mind, modifying normal stats (STR, AGI, etc) already update the other various statuses automatically. Just depends on the unit that you're modifying of what affects what. If you have more suggestions feel free to suggest them here! 2 Link to comment Share on other sites More sharing options...
Lord Ganja Posted November 14, 2015 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted November 14, 2015 (edited) Implemented in e276970. Keep in mind, modifying normal stats (STR, AGI, etc) already update the other various statuses automatically. Just depends on the unit that you're modifying of what affects what. If you have more suggestions feel free to suggest them here! Awesome!! Btw one question. is status.rhw.atk2 magic attack or max attack? EDIT: I test it and it's MAX ATTACK. Edited November 14, 2015 by Lord Ganja Link to comment Share on other sites More sharing options...
AnnieRuru Posted November 15, 2015 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted November 15, 2015 LOL ... ok I release my patch http://upaste.me/f8a021974df57fd43<--- sad ... nobody buying, but meh hercules use status.rhw.atk for physical and status.rhw.atk2 for magical https://github.com/HerculesWS/Hercules/blob/master/src/config/const.h#L60 and minimum and maximum damage is retrieve by function but rathena is something else, md->status.rhw.atk is minimum attack md->status.rhw.atk2 is maximum attack md->status.matk_min is minimum magical attack md->status.matk_max is maximum magical attack good job for copy paste my stuff XD Link to comment Share on other sites More sharing options...
Aleos Posted November 16, 2015 Group: Development Manager Topic Count: 56 Topics Per Day: 0.01 Content Count: 732 Reputation: 525 Joined: 12/13/11 Last Seen: June 13, 2024 Share Posted November 16, 2015 @Lord Ganja: Thank you for pointing that out. I was working on this with multiple computers and didn't merge some stuff I had worked on before. I'll fix this up. Fixed in c389a6c. 1 Link to comment Share on other sites More sharing options...
Recommended Posts