[Request]Skill Method and revive

02/21/2010 09:41 jackmacc#1
Whats the method so in Arco's Pk Tournament you cant use certain skills and when you die you get teleported to somewhere straight away?
02/21/2010 13:27 Korvacs#2
For the skill restriction you would need to alter your attack script and you could do something like this:

Find in Attack.cs:

Code:
                else if (AttackType == 24)
Find within this statement:

Code:
                            bool EnoughArrows = true;
Bellow Add:

Code:
                            if (GC.MyChar.InPKT)
                            {
                                if (SkillId == 1045 || SkillId == 1055) { }
                                else
                                    return;
                            }
This will work with my PKT that i released, you would need to modify it to work with Arco's, but essentially the skills that you do want to work are included in the If() statement, if the skill is not in the if statement then you will not be able to use it.