Item Mods, +Stats etc?!
Item Mods, +Stats etc?!
I have literally looked all through the forum, and the wiki has nothing I can see as far as adding stats to things. How does one add stats like STR or +Skill or Regain etc to a certain Item, like say for instance a Judges Cape? I have looked through everything and I cant even find the armors and if I can I see just numbers nothing like STR DEX etc.. Where do I need to look and how do I add stats? Please help
Re: Item Mods, +Stats etc?!
item_mods.sqlXGP0001 wrote:I have literally looked all through the forum, and the wiki has nothing I can see as far as adding stats to things. How does one add stats like STR or +Skill or Regain etc to a certain Item, like say for instance a Judges Cape? I have looked through everything and I cant even find the armors and if I can I see just numbers nothing like STR DEX etc.. Where do I need to look and how do I add stats? Please help
modifier.h
Re: Item Mods, +Stats etc?!
Whats modifier.h? I found the file but how do I add stats to this, its only a few numbers? lol I literally am 100% new to this.kjLotus wrote:item_mods.sqlXGP0001 wrote:I have literally looked all through the forum, and the wiki has nothing I can see as far as adding stats to things. How does one add stats like STR or +Skill or Regain etc to a certain Item, like say for instance a Judges Cape? I have looked through everything and I cant even find the armors and if I can I see just numbers nothing like STR DEX etc.. Where do I need to look and how do I add stats? Please help
modifier.h
Re: Item Mods, +Stats etc?!
item_mods is what stores what items give what stats (modifiers). if you wanted to add a new stat to an item, you'd add a new row to that with itemid (check ffxiah for that - it's the number in the address bar), the modid (all those numbers at the top of modifier.h - they're in hex, so you'll have to convert them to decimal... easy with windows calculator), and the value (how much stats). the stats won't show up on the item in game, but if you put 100 of modid 8 (strength) on an item and equipped it, you'd still see the +100 in the character sheetXGP0001 wrote:Whats modifier.h? I found the file but how do I add stats to this, its only a few numbers? lol I literally am 100% new to this.kjLotus wrote:item_mods.sqlXGP0001 wrote:I have literally looked all through the forum, and the wiki has nothing I can see as far as adding stats to things. How does one add stats like STR or +Skill or Regain etc to a certain Item, like say for instance a Judges Cape? I have looked through everything and I cant even find the armors and if I can I see just numbers nothing like STR DEX etc.. Where do I need to look and how do I add stats? Please help
modifier.h
just make sure if you edit the .sql file you rerun the batch file in navicat
Re: Item Mods, +Stats etc?!
Ok thank you sir will try this right now.
Re: Item Mods, +Stats etc?!
Well I tried this and it added 1000 DEF but nothing else. I added 1000 DEF instead of 30 to the cape. The second line I made myself to try and make +1000 STR if 8 means STR? This is how I took it, so what did I do wrong now lol?^^
INSERT INTO `item_mods` VALUES(13606, 1, 1000);
INSERT INTO `item_mods` VALUES(13606, 1000, 8);
INSERT INTO `item_mods` VALUES(13606, 1, 1000);
INSERT INTO `item_mods` VALUES(13606, 1000, 8);
Re: Item Mods, +Stats etc?!
You should probably notice that the position of where you are adding 1000 and 8 are flipped from where they are for defense. You are essentially trying to add mod 1000 (which doesn't exist) with a value of 8. Flip those values around: INSERT INTO `item_mods` VALUES(13606, 8, 1000);
Re: Item Mods, +Stats etc?!
wow thank you! I think I got this now, just one last question. I take it 1=DEF, 8=STR is there a list anywhere for the numbers of all the stats like 1-?? =???
Re: Item Mods, +Stats etc?!
XGP0001 wrote:wow thank you! I think I got this now, just one last question. I take it 1=DEF, 8=STR is there a list anywhere for the numbers of all the stats like 1-?? =???
kjLotus wrote:modifier.h
Re: Item Mods, +Stats etc?!
ty I found it all
Everything was in status.lua
MOD_NONE = 0x00
MOD_DEF = 0x01
MOD_HP = 0x02
MOD_HPP = 0x03
MOD_CONVMPTOHP = 0x04
MOD_MP = 0x05
MOD_MPP = 0x06
MOD_CONVHPTOMP = 0x07
MOD_STR = 0x08
MOD_DEX = 0x09
MOD_VIT = 0x0A
MOD_AGI = 0x0B
MOD_INT = 0x0C
MOD_MND = 0x0D
MOD_CHR = 0x0E
etc etc and so on Just convert to Hex and it worked! TY all if I have any more issues I will ask, yall are awesome! Now I just need to fix my pol.exe crashing everytime a mob drops items lol.
Everything was in status.lua
MOD_NONE = 0x00
MOD_DEF = 0x01
MOD_HP = 0x02
MOD_HPP = 0x03
MOD_CONVMPTOHP = 0x04
MOD_MP = 0x05
MOD_MPP = 0x06
MOD_CONVHPTOMP = 0x07
MOD_STR = 0x08
MOD_DEX = 0x09
MOD_VIT = 0x0A
MOD_AGI = 0x0B
MOD_INT = 0x0C
MOD_MND = 0x0D
MOD_CHR = 0x0E
etc etc and so on Just convert to Hex and it worked! TY all if I have any more issues I will ask, yall are awesome! Now I just need to fix my pol.exe crashing everytime a mob drops items lol.