This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [SOLVED] Need a little help with worgen to human transform  (Read 998 times)

Morfium

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 96
    • View Profile
[SOLVED] Need a little help with worgen to human transform
« on: September 02, 2011, 12:27:05 am »
Hi,

I'm currently working on worgen and goblins on my server.
Actually, I'm pretty much done with my female worgen now, and started making a spell that transforms her into a female human (visually).
For that I copied the existing spell Human Illusion from Caverns of Time 1.
I tweaked it a bit so that it'll break on combat.
Until here everything works like a charm.
My Worgen transforms into human form and the spell breaks as soon as I enter combat.
My only problem is, I want it to be abortable via the buff icon.
But I can only break it when I engange combat. :(
I looked into the AuraInterruptFlags and could not find anything that breaks on rightclicking the buff.
It would be even better if it was abortable via clicking the spell again.
That might be done in the SpellShapeshitForm.dbc.
The entry of this file is in column 110 of Spell.dbc, but there's also the id of my human illusion. Since I spent the last few days working on this I thought inventing the wheel everytime anew is rather inefficient and that someone here might already know about this or can give me a hint in the right direction. :)
Maybe there is a far better way to achieve what I want, which is basically transformation out of combat with the option to cancel it, that I didn't think of already. I'm open for any suggestion.

Thanks in advance! :3

Edit!
Ok, found it out myself... kinda. :)
I compared the spell to ghost wolf and my spell  had in column #4 -1996488704
and in column #7  7.175E-43. Ghost Wolf had 0 and 0.0. So I switched them and now it works.
Maybe someone encounters the same problem sometime and finds this useful.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »