tra1nee
-
Posts
7 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by tra1nee
-
-
I have ran over an issue, like this. i summon guardian, if there`s multiple enemies ( npc`s/creatures ) in like 100 yard range, they are all starting to run towards guardian.
what could cause this and/or where is this handled?
-
will this be modified to match latest rev?
-
I need to make a loop through all group members to apply an auras on them.
how could i do this?
Player *plr = m_caster->getVictim();
Group *grp = plr->GetGroup();
for(itr = grp->m_memberSlots.begin(); itr != grp->m_memberSlots.end(); ++itr)
{
...
}
this is looping through group::memberslots struct, so i can get players guid only.
so... is there a better way to loop through group, or can i get players by theyr guids?
EDIT: main question would be: How to get players by they guid`s?, and i mean Player *player = get by guid or sth
thanks in advance
-
If u know answer to any of theese questions, feel free to post your answer.
bump
-
couple of questions to experienced mangos developers:
1) where is HandleAuraDummy function actually called from
2) where apply is being set to true or false
and some of other questions
3) is there some function that updates spell casting state, for example, when hit is received during casting and spell casting pushback is made ( like frostbolt)
4) is there some function that handles case when player`s pet dies, like removing pet`s castbar from player`s castbar.
thanks in advance
-
i found a bug with one of the spells, it's channeled and it doesn't interrupts when caster is attacked.
Where could i find/write handler for this?
Thanks for help in advance.
Pet/Guardian reaction.....
in OldC / C++
Posted
solved. close thread