terris thule script pb
here are the npcs of the quest :
Code:
INSERT INTO `npc_types` VALUES (221000, 'Terris_Thule', NULL, 70, 257, 1, 1, 200000, 2, 0, 0, '30', 0, 0, 16119, 0, 32, 5, 390, 850, 'SEQ', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0', '0', 0, 0, 0, 0, 0, 0, 1, 1, 0, 0); at start, she is in the center of her lair, there is 4 pillars and on each pillar there is an untargetable gargoyle ( npc 221005 ) : at 75 % life : 10 dream defilers ( npc 221010 ) appear in the lair at 50 % life : Terris Thule casts an aoe Dispell 12 slots : ( spell 3150 ) at 30 % life : the 4 untargetable gargoyles ( npc 221005 ) become targetable, in fact each gargoyle depop and repop in a targetable gargoyle ( npc 221009 ) Here are the files I have done : 221000.pl Code:
sub EVENT_SPAWN Code:
sub EVENT_SIGNAL I have tried, all seems to work except the fact she doesn't cast the aoe dispell i don't understand why =( any idea ? |
I'm sure she's casting the spell because you have it correct, but the spell probably isn't working correctly. Try casting the spell on the player instead of on her, the Aoe may not work. If that doesn't work maybe dispel jsut isn't implemented. Also i'd try a few different dispels because they all work the same way, but some may work correctly while others don't.
|
the dispell is a dispell 12 slot, there is no such other dispell
and i have looked at the emu source it seems implemented =( |
Dispel is implemented and work.
Sandy, If you are not sure about your spell working, copy/paste spell here, i will have a look at it. |
nm
|
I added your spell to my server Sandy and i spend some time to test it.
For me, the spell need some tweak, as well as your quest. You actually use "quest::selfcast", im wondering if this dont restrict the spell to the NPC, whatever the target spell is, im not a dev, im not sure about this, maybe a dev could answer, but this could be why your are not dispelled, because the NPC SELFCAST. For me, you should use "quest::castspell(id,spellid);", the problem now would be your spell is "Point Blank AE" and im not 100% sure the spell will work as wanted, the solution would be to set the spell target to "Target Based AE". This way, Terris Thule cast spell on a PC, the PC is used as Target Based AE and raid party is dispelled, as AE range is very large it would be same thing as having Terris casting spell on herself. I have never play PoP, so i dont how encounter really work, but this way could be a way to bypass your problem. |
I have tried, but which var to put for ID ?
I have tried $targetid, and $mobid, without success =( |
Not sure how it would work with the HP_EVENT, but where I'ved tinkered around with the script it cast the spell on whoever activated the script. Again, that is easilly determined in a say event but not sure how it would work in the HP check and if the NPC would have a PC targeted. But would be definitely worth trying... :)
|
you mean it is working in a EVENT_SAY ?
so it comes from EVENT_HP and the queue situation maybe EVENT_HP happens when you are fighting, maybe when fighting it doesn't allow to cast spells with quests ? |
Tryed ?
Quote:
|
no, but ...
$userid = 0 no ?? the event_hp is triggered by a npc there is no user I think |
If the mob is fighting, a player IS targeted no ?
For me, you need to get the user targetted, if want to make "High End Event" script for EQEmu (which is great), the only way i see to get it working is having a player targetted, because when the NPC will cast an AE slow as selfcast ... but maybe my logic isnt correct. In EQ Logic, its sound incorrect having a debuff cast on yourself or a party member to debuff other pc/npc, a debuff (even if AE) is casted on an ennemy and used as AE start point. |
no there is target AE spells
but there is point blank AE spells too it's important because knowing what is the max distance of a point blank AE spell is a big part of strategies for the targeted user, it is $targetid not $userid i think ? for this terris thule dispell, goal is to dispell everyone in the distance of the spell on 12 slots ( we have 15 buff slots max ), terris thule included it is not illogic because she dispells then all debuff that players casted on her previously, so players have to redebuff her after this ae it works like this in eqlive |
Why not try this for the AOE Dispell
I am not sure if this will work. I am still pretty new to Perl and working with quests, but couldnt you try something like this?
Code:
if ( $npcid = 221000 ) Worth a shot, might not work, would be nice if it did though =-) |
That code is illegal and will cause the file to not compile so it will revert to the default quest if you happen to have one. Every argument must have something in it.
|
All times are GMT -4. The time now is 07:27 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.