documentation about RPG::Weapon?

Hi guys I want to make a script who modify the params of my weapons if they are tagged....but sadly

I don't know how look the RPG::Weapon class...

so someone can light me up on how this look because I know this a hidden class...
class RPG::Weapon < RPG::EquipItem def initialize super @wtype_id = 0 @animation_id = 0 @features.push(RPG::BaseItem::Feature.new(31, 1, 0)) @features.push(RPG::BaseItem::Feature.new(22, 0, 0)) end def performance params[2] + params[4] + params.inject(0) {|r, v| r += v } end attr_accessor :wtype_id attr_accessor :animation_idendIt's in the help file.
I know you can use the .methods command to show you all the variables you can access on an object from a class (even the hidden classes). Not too sure how to make it work for a weapon though, haven't tried it yet.
haha thanks source yeah I checked in the help file but I was not sure if this was complete but thanks

@bgillisp : well I don't know I rarelly play with params this something totally new for me when I admit

and I try to hate using notetag
Unfortunately, the help file is incomplete, it only shows the parameters they decided to list. The .methods shows all of them. DiamondandPlantium3 explains this in his videos, this link will help, go to video 39 to see more:  

http://forums.rpgmakerweb.com/index.php?/topic/19863-rgss3-scripting-tutorial-videos/
What methods are missing? Everything that you need should be there.

RPG::Weapon doesn't have anything special or useful that isn't documented in the help file.
For one, the .methods will catch all the extras from his other scripts (something the help file can't do). Also, after playing with scripts long enough I've become a skeptic of the help file as it tends to leave out things. Maybe in this case it didn't (I haven't touched RPG:Weapon yet myself, though plan to someday), but this for sure will give you the names of what is there, and then you can go to the help file to see what they do (if listed).
What kind of things has it left out?
Go to that video I linked, DiamondandPlantium3 will show you one that as far as I can tell I couldn't find in the help file.

Edit: Here is the exact list, since you insisted. Tested on a clean project, used $data_weapons[5].methods to generate this:

performance

w_type

w_type_id

animation_id

price

etype_id

name

icon_index

description

features

note

And the rest are the usual class operations we use  (?, is_a, etc). I checked the documentation, and price and etype_id were not listed.
I'd rather see a few of them listed here - I can't watch videos at work, even during my lunch break.


You realise, of course, that you get what's in RPG::Weapon as well as RPG::EquipItem and RPG::Item and whatever it might inherit from. So not ALL the details will be listed in that one page in the help file - you will have to look at the other classes in the hierarchy to see them.
Now that is true, but that's why I suggested the .methods method. A one method approach, if you will. But, I think the OP now has the detailed list, which is what they wanted, right?
Yeah, I'm pretty sure all of those are listed in the parent classes. So .methods doesn't give you any hidden or undocumented methods - it just gives them all to you without having to go back to the parents. But if you're writing scripts to overwrite/alias things, sometimes it needs to be done where the method is defined. At least I know I'm not missing out by relying on the provided docs 🙂
thanks so if I understand for be able to modify the weapon stats via a notetag 

(simply  if I explain this a User restriction script who exemple if you tag "Leandre" the weapon can only fully used by the actor Leandre  if the other actor use it they will have a minus of a certain percentage in simple the weapon stats are reduce) 

EG : 

Weapon : axe

(note : 

<user : Leandre>

<minus : 25> #% 

so the weapon will be reduce of 25% if the user is not Leandre

but this why I asked for the rpg::weapon because I think this the place where you have to set up all the params for the weapon so...

but like I said I rarelly touch params
Better than navigating help files: http://rgss3doc.razelon.tk/en/rgss3/RPG/Weapon.html

Original thread: https://forums.rpgmakerweb.com/threads/documentation-about-rpg-weapon.35122/