magic 
Vars | |
| ammo_type | What kind of projectile do we fire? |
|---|---|
| antimagic_flags | What kind of antimagic resists this |
| charge_timer | How much have we currently recharged? |
| charges | How many charges do we currently have |
| max_charges | How many charges can we hold at most |
| no_den_usage | If set to TRUE, wizards can't use this until they leave home |
| pitch_with_charges | If true, our fire sound gets lower as our charges decrease |
| recharge_rate | How fast do we recharge charges? In seconds |
| school | What kind of magic is this |
| self_charging | Whether this wand/staff recharges on its own over time. |
Procs | |
| can_user_shoot | Returns true if specified mob can fire this weapon |
| do_suicide | Extend to do something funny |
| on_magic_charge | Signal proc for COMSIG_ITEM_MAGICALLY_CHARGED |
Var Details
ammo_type 
What kind of projectile do we fire?
antimagic_flags 
What kind of antimagic resists this
charge_timer 
How much have we currently recharged?
charges 
How many charges do we currently have
max_charges 
How many charges can we hold at most
no_den_usage 
If set to TRUE, wizards can't use this until they leave home
pitch_with_charges 
If true, our fire sound gets lower as our charges decrease
recharge_rate 
How fast do we recharge charges? In seconds
school 
What kind of magic is this
self_charging 
Whether this wand/staff recharges on its own over time.
Proc Details
can_user_shoot
Returns true if specified mob can fire this weapon
do_suicide
Extend to do something funny
on_magic_charge
Signal proc for COMSIG_ITEM_MAGICALLY_CHARGED
Adds uses to wands or staffs.