aragorn
-
Posts
3 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by aragorn
-
-
db is fine: ReqCreatureOrGold1 = 23727
My guess is that the spell being cast 42337 that should create an Invis Raptor Credit (23727) does not work properly.
spell 42337 has 134 (effectKillCredit) as spellEffect with miscValue of 23727
I've set a debug statement in my local copy in method effectKillCredit (spellEffects.cpp) but I never see any log statement, It never gets there.
-
Mangos: 10258
UDB: 392
SD2: 1749
What it does: already implemented in spelleffects in effectDummy:
case 44875: // Complete Raptor Capture
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
return;
Creature* creatureTarget = (Creature*)unitTarget;
creatureTarget->ForcedDespawn();
//cast spell Raptor Capture Credit
m_caster->CastSpell(m_caster, 42337, true,NULL);
this for some reason does not work, it will not give a Invis Raptor Credit
return;
}
How it should work: dummy spell 44875 should cast spell 42337 (Raptor captor credit), this should give player an Invis Raptor Credit, but it doesn't
I do not know why implementation does not work
[Bug] implemented spell 44875 (Complete Raptor Captor) does not work as it should be
in OldBug reports
Posted
I've tried something:
when I run the command .cast 42337 triggered then the spell works I get a Kill Credit
When I use the Item Sturdy Rope (to capture a raptor) the spell 42337 is being cast but I don't get a kill credit
Is it possible the code uses a wrong target (It must be the player)