Forum > Serverside Modding
[SOLVED] Impale effect on NPCs
(1/2) > >>
Nassal:
Hi there, I'm working on Trinity Force, and I've got a little problem. Maybe it's easy, but I totally have no idea how to do it. I'd like to set some NPCs to be impaled by this: http://www.wowhead.com/spell=69057 I guess setting the spell on them should be easy, but having them 1HP all the time without losing of it, and not attacking when someone comes closer? :P Thanks for any help
Avicii:
Firstly; check if the spell works. Learn the spell and cast it on someone/something.
Secondly; go into Creature_Template (writing with uppercase letters for easier view) Find a column with the name; SpellId1 or similar and add the spell there. The probability of this spell beign casted is not changable, however; you may also try to setup a script in; Smart_Scripts to cast the spell at a cooldown of maybe 1 minute, and also a probability rating of let's say 50% upon triggering combat.
All the necessary information about this can be found on their Wiki :)
Good luck, Avicii
Avicii:
If you have any questions, PM me with your Patch, DB and core revision and I'll try to figure something out from there. I'm mainly guessing here, that you've got the latest DB Rev as well as the latest patch + TC2 ^^
-Dave:
I think the question was the other way round, not for the NPC to cast the spell on players but for it to be permanently in that impaled state? I could be wrong :3
Keta:
Here's how I think you ought to make it: Make the NPC (spike) mountable. Make the NPC neutral. Make the NPC unselectable. Make the NPC un-agro-able or w/e.
And then make it so the player which this spell will be cast on, will be forced onto the spike, just as if it was a mount. Only, they can't control it or cast anything and shizz. You get what I mean :p If I find time, Ill try scripting it in Lua tomorrow on my ArcEmu server. Yes, ArcEmu. Start flaming, idc.
Thanks Keta
Navigation
[0] Message Index
[#] Next page
|