Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 4173:// Venenatis
- int prayHit = Misc.random(2);
- int styles = Misc.random(2);
- if (styles == 0) {
- npcs[i].attackType = 2;
- npcs[i].projectileId = 165;
- // System.out.println("using magic no effect");
- } else if (styles == 1) {
- if (prayHit == 1)
- c.getPA().drainPray(i);
- npcs[i].attackType = 2;
- npcs[i].projectileId = 165;
- // System.out.println("using magic pray effect");
- } else {
- npcs[i].attackType = 0;
- npcs[i].projectileId = -1;
- c.getPA().appendPoison(24);
- c.getPA().stunEnemy(i);
- // System.out.println("using melee much effect");
- }
- break;
- case 4172:// scorpia
- int prayHit2 = Misc.random(2);
- npcs[i].attackType = 0;
- if (prayHit2 == 0) {
- hitThrough = true;
- c.getPA().appendPoison(40);
- } else if (prayHit2 == 1) {
- hitThrough = false;
- } else {
- hitThrough = false;
- }
- break;
- case 4174:// Callisto
- int meleehit = Misc.random(2);
- if (meleehit == 0) {
- npcs[i].attackType = 0;
- } else if (meleehit == 1) {
- npcs[i].attackType = 0;
- c.getPA().stunEnemy(i);
- } else {
- npcs[i].attackType = 2;
- }
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement