SphereCommunity
Dragon's breath improvement - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: General Discussion (/Forum-General-Discussion)
+--- Forum: UO/Sphere Discussion (/Forum-UO-Sphere-Discussion)
+--- Thread: Dragon's breath improvement (/Thread-Dragon-s-breath-improvement)



Dragon's breath improvement - Coruja - 03-14-2014 01:55 AM

Yesterday I tried to improve some npc's and noticed a important thing: on sphere we lack support to control npc's breath attack

All we have is a NPC=brain_dragon to make it fires the breath, and TAG.OVERRIDE.BREATH.DAM to change the breath damage

There's no way to make a non-dragon have a breath attack, nor control the breath effect/sound/etc. So the idea is make a great improvement on this with just a few changes

1) Instead allow only dragon have the breath attack, others non-dragon npc's must have it too, like nightmare, fire gargoyle, hellcat, hell hound, and even leviathan (water breath).
A great way to do this is move the breath code from AI brain_dragon to a new CAN=mt_breath that can be used on any npc

2) Add some new override tags on chars to get more control over the breath attack:
-TAG.OVERRIDE.BREATH.EFFECTID (i_fx_smoke, etc)
-TAG.OVERRIDE.BREATH.SOUND
-TAG.OVERRIDE.BREATH.COLOR


RE: Dragon's breath improvement - Staff_Stanic - 03-14-2014 06:47 AM

I believe that only dragon have the breath attack because just him have the animation (or not?).


RE: Dragon's breath improvement - Coruja - 03-14-2014 09:44 AM

the breath animation is the "stomp anim" (anim 12), every NPC can use it I think