• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Problem with Casting Gargantuan summoning Skill.

    Discussion in 'Archives' started by acrandia, Oct 24, 2012.

    1. acrandia

      acrandia New Member

      Joined:
      Oct 24, 2012
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      1
      Since i bot a witch doctor, I use Gargantuan skill and bot automatically summons it.

      It keeps re-casting Gargantuan whenever it cools down although there's no need to recast it.
      (I use grave injustice so, it cools down fast)
      and then because of that i get easily short of mana and it makes the entirely farming speed slow.




      In the GilesTrinity.cs file there's some code lines that seems to relate to this.
      So i modified it like this.

      Original
      Code:
                          // Gargantuan, Recast on 1+ Elites or Bosses to trigger Restless Giant
                          if (!bOOCBuff && !bCurrentlyAvoiding && hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_Gargantuan) && !playerStatus.bIsIncapacitated && playerStatus.dCurrentEnergy >= 147 &&
                              (iElitesWithinRange[RANGE_15] >= 1 ||
                               (targetCurrent != null && ((targetCurrent.bThisEliteRareUnique || targetCurrent.bThisBoss) && targetCurrent.fRadiusDistance <= 15f)) || iPlayerOwnedGargantuan == 0) &&
                              PowerManager.CanCast(SNOPower.Witchdoctor_Gargantuan))
                          {
                              return new GilesPower(SNOPower.Witchdoctor_Gargantuan, 0f, vNullLocation, iCurrentWorldID, -1, 2, 1, USE_SLOWLY);
                          }
      Modified version

      Code:
      // Gargantuan, Recast on 1+ Elites or Bosses to trigger Restless Giant
       if (!bOOCBuff && !bCurrentlyAvoiding && hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_Gargantuan) && !playerStatus.bIsIncapacitated && playerStatus.dCurrentEnergy >= 147 &&
                              iPlayerOwnedGargantuan == 0 && PowerManager.CanCast(SNOPower.Witchdoctor_Gargantuan))
                          {
                              return new GilesPower(SNOPower.Witchdoctor_Gargantuan, 0f, vNullLocation, iCurrentWorldID, -1, 2, 1, USE_SLOWLY);
                          }
      
      I deleted other conditions and left the only

      Code:
      !iPlayerOwnedGargantuan == 0 
      

      and I applied to cs file and gave it a lot of tries.
      and tried some other methods also.

      It all seems not working.

      I think there's a code that resets the value despite gargantuan is still alive.

      Code:
                  // Reset the counters for player-owned things
                  iPlayerOwnedMysticAlly = 0;
                  iPlayerOwnedGargantuan = 0;
                  iPlayerOwnedZombieDog = 0;
                  iPlayerOwnedDHPets = 0;
      maybe this?


      I wanna summon Gargantuan Only when It gets killed or Not summoned yet.

      Is there any solution to this?

      for so much faster farming. Please help me with this problem.
       
      Last edited: Oct 24, 2012
    2. Moley

      Moley New Member

      Joined:
      Jul 15, 2012
      Messages:
      227
      Likes Received:
      0
      Trophy Points:
      0
      Code:
                          // Gargantuan, Recast on 1+ Elites or Bosses to trigger Restless Giant
                          if (!bOOCBuff && !bCurrentlyAvoiding && hashPowerHotbarAbilities.Contains(SNOPower.Witchdoctor_Gargantuan) && !playerStatus.bIsIncapacitated && playerStatus.dCurrentEnergy >= 147 &&
                              ((targetCurrent.bThisEliteRareUnique || targetCurrent.bThisBoss) && targetCurrent.iThisHitPoints < 0.98 && targetCurrent.fRadiusDistance <= 12f) &&
                              PowerManager.CanCast(SNOPower.Witchdoctor_Gargantuan))
                          {
                              return new GilesPower(SNOPower.Witchdoctor_Gargantuan, 0f, vNullLocation, iCurrentWorldID, -1, 1, 0, USE_SLOWLY);
       
    3. acrandia

      acrandia New Member

      Joined:
      Oct 24, 2012
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      1
      Thanks for your reply. But, Still doesn't work as i wanted it to be.
      just same as the original one, keep Recasting when elite monster are around.
       
    4. Moley

      Moley New Member

      Joined:
      Jul 15, 2012
      Messages:
      227
      Likes Received:
      0
      Trophy Points:
      0
      Thats on purpose, you should be using restless giant rune.
       

    Share This Page