| | 55 | // Fear skills cannot be used l2pcinstance to l2pcinstance. Heroic Dread, Curse: Fear, Fear, Horror, Sword Symphony, Word of Fear and Mass Curse Fear are the exceptions. |
|---|
| | 56 | if(getEffected() instanceof L2PcInstance && getEffector() instanceof L2PcInstance |
|---|
| | 57 | && getSkill().getId() != 1376 |
|---|
| | 58 | && getSkill().getId() != 1169 |
|---|
| | 59 | && getSkill().getId() != 65 |
|---|
| | 60 | && getSkill().getId() != 1092 |
|---|
| | 61 | && getSkill().getId() != 98 |
|---|
| | 62 | && getSkill().getId() != 1272 |
|---|
| | 63 | && getSkill().getId() != 1381) |
|---|
| | 64 | return; |
|---|
| | 65 | |
|---|
| | 66 | if(getEffected() instanceof L2FolkInstance |
|---|
| | 67 | || getEffected() instanceof L2SiegeGuardInstance |
|---|
| | 68 | || getEffected() instanceof L2SiegeFlagInstance |
|---|
| | 69 | || getEffected() instanceof L2SiegeSummonInstance) |
|---|
| | 70 | return; |
|---|
| | 71 | |
|---|
| 69 | | // Fear skills cannot be used l2pcinstance to l2pcinstance. Heroic Dread, Curse: Fear, Fear, Horror, Sword Symphony, Word of Fear and Mass Curse Fear are the exceptions. |
|---|
| 70 | | if(getEffected() instanceof L2PcInstance && getEffector() instanceof L2PcInstance && getSkill().getId() != 1376 && getSkill().getId() != 1169 && getSkill().getId() != 65 && getSkill().getId() != 1092 && getSkill().getId() != 98 && getSkill().getId() != 1272 && getSkill().getId() != 1381) return false; |
|---|
| 71 | | if(getEffected() instanceof L2FolkInstance) return false; |
|---|
| 72 | | if(getEffected() instanceof L2SiegeGuardInstance) return false; |
|---|
| 73 | | // Fear skills cannot be used on Headquarters Flag. |
|---|
| 74 | | if(getEffected() instanceof L2SiegeFlagInstance) return false; |
|---|
| 75 | | |
|---|
| 76 | | if(getEffected() instanceof L2SiegeSummonInstance) |
|---|
| 77 | | return false; |
|---|
| 78 | | |
|---|