healing spells not agroing?
i was watching a raid the tonight and they wiped after the clr healing alot but never hitting. but none of the npcs in the raid agroed the clr even after they wiped the clr walked over rezzed them all and medded back up never getting agro.
i asked about it and they sayed heal spells are not grabing agro they never reported becuase they thought thats the way i set it.. so my question is y are the heal spells not grabing agro? |
there are server rules which server admin can set. One of them is such that spells generate 0 agro :-D
|
i looked there is not one for healing spells or if there is i missed it but all the agro stuff had something set in it unless there is one for healing that is not in my db then maybe thats y?
|
It's a known problem with healing spells, they wont generate aggro unless the character has established aggro already.
|
is there a fix? or maybe if i add extra hate to the spell its self with a spell editor will that do it?
|
dang thats makes raids ultra easy...
basicly the logic of heal agro should work like this: if player X has agro with mob Y, then ANY beneficial spell cast on player X will be tracked to ist soruce (the caster) and caster placed on mobs hate list |
i wonder if you could use the quest system to make them get agro then if its like it says once they are on the hate list then they build agro..
i remember seeing something about when a spell is cast on the npc.. maybe check if its a heal spell then if it is put them on the hate list with some agro from the heal type. then there on the hate list and build agro? |
ya would this not working looking at it i think it would
Added on 4/26/08 quest event EVENT_CAST_ON will trigger if a player casts on a npc. then use the mob quest object AddToHateList(other, hate= 0, damage= 0, iYellForHelp= true, bFrenzy= false, iBuffTic= false) im not sure what other means though |
ok so far i have this to test
Code:
sub EVENT_CAST_ON what is other, would that be the player? and how would i get the player object its the one that last cast the spell so is there an object for that or would it jsut be $client? |
if the heal aggro code is currently broke, maybe fix it like this:
Code:
Existing Code: Code:
Option A: Code:
Option B: |
Quote:
is it in one of the source files? |
I think getTarget() could be exploited so maybe use one of the hatelist options GetHateTop() GetHateMost() or GetHateRandom()
Code:
spells.cpp |
ok i tried adding this and compiling it but i cant get it working this is the first time i tried...
i have a few versions visual c++ 9.0 vs 6.0 pro and vs 2008 pro and none of them work i even downloaded the dev kit on the forums here im guessing its out of date on the dependency's becuase that did not work either lol i know this is prob not the best place to ask this but i figure you guys know how to set it up. what program would be best to use and how should i go about setting it up to compile the latest source on the main site there.. you an just give a quick rundown i know how to use the programs already so its not like explaining it to a complete newbie just newbie to compiling this code itself lol |
The dev kit works just fine if you follow the directions. Though, it doesn't hurt to have a little technical experience with compiling in VB when using it. If you got errors while compiling, then most likely the changes you made are what is causing the errors. It is very particular about how changes to the source get handled and they have to be done right or you will get errors. I haven't tried these code changes suggestions, so I don't know if they work or not.
|
i followed the directions 100%
Code:
#### Dev Kit #### maybe there a ver version of the dev kit i missed somewhere? the file sayed devkit2.0.exe ill tr again from scratch see what happens |
All times are GMT -4. The time now is 06:09 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.