View Single Post
  #2  
Old 05-18-2019, 02:26 AM
Xanathol
Sarnak
 
Join Date: Oct 2009
Posts: 52
Default

Been digging around more all night and I don't see where effect ID 85 is ever loaded in bonuses.cpp->Mob->ApplyAABonuses. In testing, it looks like Touch of the Cursed doesn't work either, so it seems the funcitonality is missing?

I added the following and modified the AA info in aa_rank_effects to give Touch of the Cursed a 5% chance to proc (base2) and now it works, though I question whether I am missing something somewhere else, making this unnecessary.

Code:
case SE_WeaponProc:
   for( int i = 0; i < MAX_PROCS; i++ )
   {
        if( PermaProcs[i].spellID == base1 )
        {
            // this is a stupid catch all so higher ranks replace this one; needs improvement
            PermaProcs[i].spellID = SPELL_UNKNOWN;
         }
   }
   this->AddProcToWeapon( base1, true, base2, base1 );

   break;
Reply With Quote