Wizard Update Part 7

(That last commit was supposed to be Part 3, not 6, but might as well
roll with it)

- Ports over the summon item spell from /tg/, it allows the wizard to
mark an item and then later recall it to his hands. If it is within
another item, that item will be recalled with the marked item inside.
- Removes RNG max charge variation on staffs, most staffs will now have
6 max charges (Rather than a 25% chance of 8, 50% of 4, and 25% of 3),
the exception being the Staff of Door Creation and Staff of Chaos, which
each have 10 charges.
- Adds summonitem to Summon Magic.
- Summon Guns/Magic now cost 1 spell slot each once again.

All ported from /tg/ with the exception of the Summon Guns/Magic cost
changes, as well as the remove of staff charge variation.
This commit is contained in:
DZD
2015-01-15 17:05:49 -05:00
parent 62c76ba2ef
commit 5307d376da
6 changed files with 137 additions and 32 deletions
@@ -1,15 +1,5 @@
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"
@@ -17,7 +7,6 @@ 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"
@@ -25,7 +14,6 @@ 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"
@@ -33,7 +21,6 @@ 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
obj/item/weapon/gun/magic/staff/chaos
name = "staff of chaos"