Jump to content

TouchAndDie

Members
  • Posts

    115
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by TouchAndDie

  1. 'AntiAfk.txt' is unavailable. This file was deleted.
  2. 1. Thank you. 2. I didn't find the method... public static byte calcSkillReflect(L2Character target, L2Skill skill) { // Neither some special skills (like hero debuffs...) or those skills ignoring resistances can be reflected if (skill.ignoreResists() || !skill.canBeReflected()) { return SKILL_REFLECT_FAILED; } // Only magic and melee skills can be reflected if (!skill.isMagic() && ((skill.getCastRange() == -1) || (skill.getCastRange() > MELEE_ATTACK_RANGE))) { return SKILL_REFLECT_FAILED; } byte reflect = SKILL_REFLECT_FAILED; // Check for non-reflected skilltypes, need additional retail check switch (skill.getSkillType()) { case BUFF: case HEAL_PERCENT: case MANAHEAL_PERCENT: case HOT: case CPHOT: case MPHOT: case UNDEAD_DEFENSE: case AGGDEBUFF: case CONT: return SKILL_REFLECT_FAILED; // these skill types can deal damage case PDAM: case MDAM: case BLOW: case DRAIN: case CHARGEDAM: case FATAL: case DEATHLINK: case CPDAM: case MANADAM: case CPDAMPERCENT: final Stats stat = skill.isMagic() ? Stats.VENGEANCE_SKILL_MAGIC_DAMAGE : Stats.VENGEANCE_SKILL_PHYSICAL_DAMAGE; final double venganceChance = target.getStat().calcStat(stat, 0, target, skill); if (venganceChance > Rnd.get(100)) { reflect |= SKILL_REFLECT_VENGEANCE; } break; } final double reflectChance = target.calcStat(skill.isMagic() ? Stats.REFLECT_SKILL_MAGIC : Stats.REFLECT_SKILL_PHYSIC, 0, null, skill); if (Rnd.get(100) < reflectChance) { reflect |= SKILL_REFLECT_SUCCEED; } return reflect; } i found only boolean isPvE = attacker.isPlayable() && target.isL2Attackable(); in calcBlowDamage / calcPhysDam / and in public static final double calcMagicDam(L2Character attacker, L2Character target, L2Skill skill, byte shld, boolean ss, boolean bss, boolean mcrit) public static final double calcMagicDam(L2CubicInstance attacker, L2Character target, L2Skill skill, boolean mcrit, byte shld)
  3. How can i increase the skill bonus of augment's ? ( p atk; p def; m atk; etc ) How can i make reflect work only in PVP not in PVE ?
  4. When i type .castlemanager i wanna appear an tutorial link and after i click on it i wanna appear the html page.
  5. How can i add at this command: http://maxcheaters.com/forum/index.php?topic=250081.0 an tutorial link ? When i type .castlemanager i wanna appear an tutorial link and after i click on it will appear an html page.
  6. i still get warning .... is not applicable for the arguments (int)
  7. nice but i get warning at if(activeChar.isInsideZone(Byte.parseByte(CustomConfig.CUSTOM_PVP_DEATH_MANAGER_RESTRICTED_ZONES_IDS.get(i)))){ ( The method isInsideZone(ZoneId) in the type L2Character is not applicable for the arguments (byte) )
  8. can someone give me an link with Goddess of Destruction Weapons ? Client: High 5 ( i need it complete i mean with icons, server datapack files, client files )
  9. i've tried to add an event king engine on my server ( events are based on phoenix engine ). The event engine is done but when i add at onKill ( in phoenix events ) this code: killer.setEKills(killer.getEKills()+1); i get warning, The method getEKills() is undefined for the type EventPlayer then i maked it ((L2PcInstance) killer).setEKills(((L2PcInstance) killer).getEKills()+1); and i get Cannot cast from EventPlayer to L2PcInstance. Then i maked this in eventplayer.java ( in phoenix source ) public int getEKills() { return _owner.getEKills(); } public void setEKills() { _owner.setEKills(getEKills()); } now i don't get and error from killer.setEKills(killer.getEKills()+1); but when i make a kill the EKills dosen't increase in database.
  10. Is there any guide on how to make an question mark icon appear when an Voiced Command is used ? ( display in html not in chat )
  11. Hello, i use this script: http://pastebin.com/iNUaykJ4 and it worked fine but i changed the html ( home.htm ) <html><title>Raid Boss Informer</title> <body><center><br><br> <img src="L2UI_CH3.herotower_deco" width=256 height=32><br> <font color="FFCC00">Raid Boss Informer</font><br> <center><img src="L2UI.SquareGray" width=256 height=1><br><br> <center> <br><td align=center><button value="Timer" action="bypass -h Quest BossRespawn raidboss_85" width=160 height=30 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td> <br><br><img src="L2UI.SquareGray" width=256 height=1><br> </center> <table> </table> <br><br><img src="L2UI_CH3.herotower_deco" width=256 height=32><br> </body> </html> and now when i press " Timer ", nothing happen ... original html: http://pastebin.com/aASKi0zz
  12. How can i add p def | m def, only to a name ? Is it possible something like if getName(TouchAndDie) { blabla } ?
  13. ok it solved the 3 bugs but now the attacker get stucked 15 seconds :-?
×
×
  • Create New...