What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

[Request] Weapon Swap for Seven Sided Strike

Job2k9

New Member
Joined
Feb 11, 2010
Messages
841
Reaction score
3
Similar to how the Monk switches weapons for sweeping winds, I'd like to have something to toss on my big bad Skorn before using SSS. The damage output w/ a 2h and SSS is insane!

Thx.
 
Its the same code -_-
just open monk.cs, find where it casts SSS before it write:
if (!weaponSwap.DpsGearOn())
weaponSwap.SwapGear();


and at the top of the file write:
if (weaponSwap.DpsGearOn())
weaponSwap.SwapGear();

so before cast it will swap gear and next tick after cast it will return to dual wield.

You need to make sure the 2h weapon is in the top left corner.
 
I get the idea but I can't seem to implement this properly. The bots are running great I'm just bored and figured I'd try this out so it isn't really necessary, thx for the help tho.
 
Pretty much he said this (If using Trinity .13)

edit file DB\Plugins\GilesTrinity\Abilities\Monk.cs

Change line#213

FROM:
Code:
return new GilesPower(SNOPower.Monk_SevenSidedStrike, 16f, CurrentTarget.Position, iCurrentWorldID, -1, 2, 3, USE_SLOWLY);

TO:
Code:
if (!weaponSwap.DpsGearOn()) weaponSwap.SwapGear();
return new GilesPower(SNOPower.Monk_SevenSidedStrike, 16f, CurrentTarget.Position, iCurrentWorldID, -1, 2, 3, USE_SLOWLY);

and add this @ line#40
Code:
AnimationState animState = ZetaDia.Me.CommonData.AnimationState;
if (weaponSwap.FinishedSwap() && weaponSwap.DpsGearOn() && !(animState == AnimationState.Casting || animState == AnimationState.Channeling)) weaponSwap.SwapGear();

Changed the line he said add at the top.. Didn't test but it might not work as it might interfere with the SW swap or may work fine as long as SW is up and working...... If you want to run both swaps.. Than I think your going to need an extra variable in there somewhere.. Something like WantToSwapOtherSkill and use that as a qualifier so that the 2 swap commands don't fire on the others swap...

Also not sure if Trinity has a wait in there for attacks with long animation like SSS so through in the wait on animation...
 
Last edited:
I'll give that a try tomorrow, tho I don't use SSS anymore... Bots hit high enough para to cap mf/gf so I pumped them up w/ vit gems and upped the mp a bit and using serenity is netting more gph.
 
Back
Top