Easycore Posted January 7, 2015 Share Posted January 7, 2015 Hi comunity, I wonder if with "issequipped" can put a category of weapon that contain all weapon of this. For example isequipped(katar). Also i wonder if it's possible do this same with other thing how "arrays". Regards. Post-data: I'll use this for label OnNPCKillEvent when kill every mobs. Quote Link to comment Share on other sites More sharing options...
Easycore Posted January 16, 2015 Author Share Posted January 16, 2015 like this... http://upaste.me/r/41d3d2 In "[email protected]_type = getiteminfo( getequipid( EQI_ACC_L ),5 );" I change the EQI_ACC_L for EQI_HAND_R (ACC_L is for accesory). But all weapons takes "Case 2:" (One-hand sword) bonus :/ Well... the problem was that number of "getequipid" was wrong, the correct is 11. Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 7, 2015 Share Posted January 7, 2015 you can check it using getiteminfo + isequipped , type = 5. Quote Link to comment Share on other sites More sharing options...
Easycore Posted January 7, 2015 Author Share Posted January 7, 2015 you can check it using getiteminfo + isequipped , type = 5. Sorry for my ignorance but I don't understand this... x.x. I tried make an script with array for that every time you kill, this give you a variable depending of the weapon equipped. but the script only gave "variable" with the first weapon of each array. Script: http://pastebin.com/Jx0tnXVw Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 7, 2015 Share Posted January 7, 2015 like this... http://upaste.me/r/41d3d2 Quote Link to comment Share on other sites More sharing options...
Easycore Posted January 7, 2015 Author Share Posted January 7, 2015 like this... http://upaste.me/r/41d3d2 In "[email protected]_type = getiteminfo( getequipid( EQI_ACC_L ),5 );" I change the EQI_ACC_L for EQI_HAND_R (ACC_L is for accesory). But all weapons takes "Case 2:" (One-hand sword) bonus :/ Quote Link to comment Share on other sites More sharing options...
Hi comunity,
Link to comment
Share on other sites