Commit Graph

16 Commits

Author SHA1 Message Date
KorPhaeron 6d2ab983fd New Wizard Armour 2016-08-25 17:32:16 -05:00
GunHog 3a6df6950a Fixes Fireball clicking issues (#19423)
* Fixes Fireball clicking issues

- Attempts to fix clicking issues with Fireball during mob changes and
other edge cases.

* Alien spit now turns off when used when out of plasma.
2016-07-23 14:28:10 +12:00
GunHog e2cfcb0bd1 Aimed Fireball Spells! (#19030)
* Fireball Spell Changes

- Changes the fireball spell to be click-to-fire.
- Converted Devil and Wand fireballs as well.
- Moved some code to the /proc_holder level to work across the /alien
and /spell branches.

* Tweaks and Fixes

- Infernal Fireball is now a projectile and has the right explosion
values.
- Removed non-projectile spell versions of fireball, as they are unused
- Fixed fireball not seeking adjacent targets.
- Fixed incorrect bolding slashes.

* Fix

Fixes the fireball sometimes missing.

* Fixes and tweak

- Uses TRUE/FALSE defines instead of 0 and 1 for boolean variables.
- Ranged abilities now remove themselves tries to use an ability in a
disabled state. (Such as being knocked out)
- Define for the click cooldown.
2016-07-05 09:06:01 +12:00
Jack Edge df9bd80c03 More spawn() removal and timers and stuff 2016-06-25 11:55:21 +01:00
GunHog 4b9aada951 Uses client click intercept
- Alien spit now uses click intercepts in the client
- Risk of bugs greatly increased
2016-06-02 11:01:45 -05:00
GunHog 9e3a55e2e1 Aimed Xeno Spit
- Neurotoxic spit is now an aimed projectile.
- Research analyzer action button updated
- Framework for adding more aimed things later
2016-06-01 13:43:19 -05:00
Nerd Lord ff984ec0cc cleanup 2016-05-08 11:46:26 -04:00
Jack Edge 8534e3dbb9 Code review 2016-04-24 16:29:17 +01:00
Jack Edge 6e20f27240 Coding review fixes
- Removes trailing returns
- Removes mentioning code history in comments
- Uses built in features for cleanable decals
- Uses /obj/effect/dummy class to detect for incorporeal nature
2016-04-18 18:44:09 +01:00
Jack Edge f1ca391da4 Phasing and comments 2016-04-18 17:35:53 +01:00
KiwiFarms 9afe050025 Replaced last occurences of gc_destroyed by qdeleted(). 2016-03-05 01:58:56 +01:00
phil235 3c8a9274bf Fixes spell action button not being updated correctly regarding zlevel and clothes requirements. The buttons are now always not red in these cases but clicking them give the proper fail message.
Fixes blind AI (lack of power) staying blind if transfered to a mech or a card.
Fixes magboots action button icon not updating when toggling the boots on.
Fixes Area teleport spells not having a cancel button when choosing the destination area.
Fixes spell action button not being removed when the spell is refunded.
Fixes revenant spell action button icons not being updated when the revenant is inhibited by a null rod.
2016-02-29 16:30:54 +01:00
AnturK 48014e4897 Fixes wizard spell check 2016-02-26 16:23:33 +01:00
phil235 0ec876d9fe Refactored the item's action system. Items can now hold multiple actions.
The "set internals" button of tank items now turn green when it's used as internals.
Removed research scanner from drones (since cyborgs don't have it, it's more consistent)
Removed the ignore_madkadjust mask var.
The sechailer mask now has an adjust mask action button, so I removed the adjust verb that it was using.
The item's action are now created on item/New() instead of trying to create it every time someone picks the item up.
I split hud/action.dm, the datum/action stuff is now in the datum folder (/datum/action.dm), whereas the code for action buttons is kept in the hud folder under action_button.dm. Also I moved some /datum/action code that was in some files back into datum/action.dm where it belongs.
2016-02-23 19:37:42 +01:00
phil235 91839f5f70 Action buttons will now only update when needed instead of every Life().
The action buttons now update their icon instantly.
Fixes versions of pickup(),equipped() and dropped not calling the parent.
Fixes drone not being able to remove a defib from their storage.
You can now cycle the mime mask by clicking it in your hand.
The action buttons for hardsuit and hooded suits now only appears when you're wearing the suit.
Created two mob helper procs getBeltSlot() and getBackSlot().
Created /datum/species/proc/on_species_loss() to handle stuff when our race change, currently only used by jelly and slime race to remove their exotic blood from our reagents and to remove slime people's action buttons.
2016-02-22 00:34:59 +01:00
Firecage dbc744d9ee Moves the code for spells to the Modules section. 2016-02-01 19:33:44 +02:00