Wizard stuff balancing

This commit is contained in:
ZomgPonies
2013-12-28 19:39:35 -05:00
parent 3a88f33e0c
commit 54154ce581
2 changed files with 29 additions and 8 deletions
@@ -1,5 +1,15 @@
obj/item/weapon/gun/magic/staff/
slot_flags = SLOT_BACK
max_charges = 100 //100, 50, 50, 34 (max charge distribution by 25%ths)
var/variable_charges = 1
/obj/item/weapon/gun/magic/staff/New()
if(prob(75) && variable_charges) //25% chance of listed max charges, 50% chance of 1/2 max charges, 25% chance of 1/3 max charges
if(prob(33))
max_charges = Ceiling(max_charges / 3)
else
max_charges = Ceiling(max_charges / 2)
..()
obj/item/weapon/gun/magic/staff/change
name = "staff of change"
@@ -7,6 +17,7 @@ obj/item/weapon/gun/magic/staff/change
projectile_type = "/obj/item/projectile/magic/change"
icon_state = "staffofchange"
item_state = "staffofchange"
max_charges = 8 //8, 4, 4, 3
obj/item/weapon/gun/magic/staff/animate
name = "staff of animation"
@@ -14,6 +25,7 @@ obj/item/weapon/gun/magic/staff/animate
projectile_type = "/obj/item/projectile/magic/animate"
icon_state = "staffofanimation"
item_state = "staffofanimation"
max_charges = 8 //8, 4, 4, 3
obj/item/weapon/gun/magic/staff/healing
name = "staff of healing"
@@ -21,3 +33,4 @@ obj/item/weapon/gun/magic/staff/healing
projectile_type = "/obj/item/projectile/magic/resurrection"
icon_state = "staffofhealing"
item_state = "staffofhealing"
max_charges = 8 //8, 4, 4, 3