Home Download Forum My Account Store NPC/Item Drop Database

Script commands to smart ISS

READ FIRST: L2Divine Forum Rules

Script commands to smart ISS

Post by rhadamants on Mon Apr 03, 2017 12:21 PM

Would it be possible to add more commands to the script?
As an example: check the buff time if it is with a certain buff.

I read the Guide but did not see any kind of check for buffs and debuffs in the commands.

But the Guide is dated 2013. It may be outdated.
Avatar
Registered User
 
Posts: 1
Joined: Mon Apr 03, 2017 11:39 AM

RE: Script commands to smart ISS

Post by landford on Thu Apr 13, 2017 02:43 AM

rhadamants wrote:Would it be possible to add more commands to the script?
As an example: check the buff time if it is with a certain buff.

I read the Guide but did not see any kind of check for buffs and debuffs in the commands.

But the Guide is dated 2013. It may be outdated.


This's example script check buff and out fo party.

Code: Select all
BattleStart()


BuffParty:
If (Char.InParty)
{
SelectTarget("PartyMemberName")

// Melody Group
If (PlayerBuffTime("PartyMemberName",11517) < 10)
{
UseSkill(11517)
Delay(1000)
}

If (PlayerBuffTime("PartyMemberName",11518) < 10)
{
UseSkill(11518)
Delay(1000)
}

If (PlayerBuffTime("PartyMemberName",11519) < 10)
{
UseSkill(11519)
Delay(1000)
}

If (PlayerBuffTime("PartyMemberName",11520) < 10)
{
UseSkill(11520)
Delay(1000)
}

If (PlayerBuffTime("PartyMemberName",11521) < 10)
{
UseSkill(11521)
Delay(1000)
}

If (PlayerBuffTime("PartyMemberName",11522) < 10)
{
UseSkill(11522)
Delay(1000)
}

// Sonata Group
If (PlayerBuffTime("PartyMemberName",11529) < 10)
{
UseSkill(11529)
Delay(1000)
}

If (PlayerBuffTime("PartyMemberName",11530) < 10)
{
UseSkill(11530)
Delay(1000)
}

If (PlayerBuffTime("PartyMemberName",11532) < 10)
{
UseSkill(11532)
Delay(1000)
}

// Harmony Group ( Select One 11523=Knight's Harmony , 11524=Warrior's Harmony , 11525=Wizard's Harmony )
If (PlayerBuffTime("PartyMemberName",11524) < 10)
{
UseSkill(11524)
Delay(1000)
}

// Resistance Group
If (PlayerBuffTime("PartyMemberName",11565) < 10)
{
UseSkill(11565)
Delay(1000)
}

If (PlayerBuffTime("PartyMemberName",11566) < 10)
{
UseSkill(11566)
Delay(1000)
}

If (PlayerBuffTime("PartyMemberName",11567) < 10)
{
UseSkill(11567)
Delay(1000)
}

LeaveParty()
}

Delay(3000)
Jump("BuffParty")


Exit:
Avatar
Moderator
 
Posts: 921
Joined: Fri May 28, 2010 10:53 PM


Who is online

In total there is 2 user online
Registered users: aliba73, leepan
Legend: , , , Registered User

2006-2022 ☻ L2DIVINE.COM