Post new topic Reply to topic  [ 63 posts ]  Go to page 1, 2, 3, 4, 5  Next
  Print view Previous topic | Next topic 
Author Message
 Post subject: about turn undead
PostPosted: Mon Dec 01, 2008 11:29 am 
Vagabond

Joined: Mon Dec 01, 2008 11:27 am
Posts: 3
hey there I have 1 question, do turn undead have 2 lethals like dagger skills or only 1?


Reply with quote
Top
 OfflineProfile  
 Post subject:
PostPosted: Mon Dec 01, 2008 12:00 pm 
Marquis
User avatar

Joined: Fri Mar 28, 2008 7:22 am
Posts: 1309
only 1 type of lethal because mobs dont have cp


Reply with quote
Top
 OfflineProfile  
 Post subject:
PostPosted: Mon Dec 01, 2008 1:05 pm 
Viscount

Joined: Thu Aug 16, 2007 1:06 pm
Posts: 477
btw turn undead is just a fear skill by default, lethal is a "bonus" effect of the fear but fear can miss and u still lethal the mob


Reply with quote
Top
 OfflineProfile  
 Post subject:
PostPosted: Mon Dec 01, 2008 8:57 pm 
Vagabond

Joined: Mon Dec 01, 2008 11:27 am
Posts: 3
so when lethal lands, it always lower mob's hp to 1? or there is a chance that it will lower mob's hp to 1/2?

sry for my crappy english


Reply with quote
Top
 OfflineProfile  
 Post subject:
PostPosted: Mon Dec 01, 2008 8:59 pm 
Marquis
User avatar

Joined: Tue Dec 11, 2007 1:00 am
Posts: 1169
instant kill effect, that means the enemy is on 1 hp.

_________________
L2 Wrath
GroundShaker --- GrandKhavatari 80 - retired
[img]http://i30.tinypic.com/2ex7yud.png[/img]


Reply with quote
Top
 OfflineProfile  
 Post subject:
PostPosted: Mon Dec 01, 2008 9:04 pm 
Vagabond

Joined: Mon Dec 01, 2008 11:27 am
Posts: 3
k thx ya


Reply with quote
Top
 OfflineProfile  
 Post subject:
PostPosted: Mon Dec 01, 2008 9:13 pm 
Forum Troll
User avatar

Joined: Sun Mar 02, 2008 4:40 pm
Posts: 12886
Quote:
instant kill effect


since when instant kill means 1 hp?!


Reply with quote
Top
 OfflineProfile  
 Post subject:
PostPosted: Mon Dec 01, 2008 9:16 pm 
Marquis
User avatar

Joined: Tue Dec 11, 2007 1:00 am
Posts: 1169
GoDs3nD wrote:
Quote:
instant kill effect


since when instant kill means 1 hp?!


since 17 minutes why are u asking ?

_________________
L2 Wrath
GroundShaker --- GrandKhavatari 80 - retired
[img]http://i30.tinypic.com/2ex7yud.png[/img]


Reply with quote
Top
 OfflineProfile  
 Post subject:
PostPosted: Mon Dec 01, 2008 9:40 pm 
Duke
User avatar

Joined: Fri Jun 27, 2008 9:44 pm
Posts: 2513
if he has 1 hp it means he's not dead....so it's not instant kill.....it's just lethal strike the get's your enemy with 1 hp.....then 1 wind strike and he's a gonner.....


Reply with quote
Top
 OfflineProfile  
 Post subject:
PostPosted: Mon Dec 01, 2008 9:59 pm 
Forum Troll
User avatar

Joined: Sun Mar 02, 2008 4:40 pm
Posts: 12886
Breal wrote:
GoDs3nD wrote:
Quote:
instant kill effect


since when instant kill means 1 hp?!


since 17 minutes why are u asking ?


so since 17 minutes u r wrong

http://www.l2jserver.com/trac/changeset/2621

if u understand a bit coding and u have some brains u could easly understand the formula
its around 70% (casted on a same lvl mob)
~special thanks to nekys~


Reply with quote
Top
 OfflineProfile  
 Post subject:
PostPosted: Mon Dec 01, 2008 10:06 pm 
Marquis
User avatar

Joined: Tue Dec 11, 2007 1:00 am
Posts: 1169
GoDs3nD wrote:
Breal wrote:
GoDs3nD wrote:
Quote:
instant kill effect


~special thanks to nekys~


this guy made the calculations instead of you ?

_________________
L2 Wrath
GroundShaker --- GrandKhavatari 80 - retired
[img]http://i30.tinypic.com/2ex7yud.png[/img]


Reply with quote
Top
 OfflineProfile  
 Post subject:
PostPosted: Mon Dec 01, 2008 10:58 pm 
Count

Joined: Mon Sep 24, 2007 4:45 pm
Posts: 978
Location: Arad, Romania
GoDs3nD wrote:
Quote:
instant kill effect


since when instant kill means 1 hp?!


NC Soft c5 update wrote:
Deadly Blow: Instant Kill Effect 1 chance added.
Backstab: Instant Kill Effect 1 changce added.


Instant Kill = Lethal.


Reply with quote
Top
 OfflineProfile  
 Post subject:
PostPosted: Tue Dec 02, 2008 3:41 pm 
Forum Troll
User avatar

Joined: Sun Mar 02, 2008 4:40 pm
Posts: 12886
Breal wrote:
GoDs3nD wrote:
Breal wrote:
GoDs3nD wrote:
Quote:
instant kill effect


~special thanks to nekys~


this guy made the calculations instead of you ?

go suck a dick and get ur answer

kent-thanx forthe info


Reply with quote
Top
 OfflineProfile  
 Post subject:
PostPosted: Tue Dec 02, 2008 8:56 pm 
Marquis
User avatar

Joined: Tue Dec 11, 2007 1:00 am
Posts: 1169
/opitaipak

Code:
<skill id="1400" levels="10" name="Turn Undead" enchantLevels1="30" enchantLevels2="30">
  <!-- Done by KID -->
  <table name="#enchantMagicLvl"> 76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 82 83 83 83 84 84 85 85 85 </table>
  <enchant1 name="magicLvl" val="#enchantMagicLvl"/>
  <enchant2 name="magicLvl" val="#enchantMagicLvl"/>
  <table name="#ench1Power"> 413 415 417 419 421 423 425 427 429 431 433 435 437 439 441 443 445 447 449 451 453 455 457 461 463 465 467 469 471 473 </table>
  <table name="#ench2MpConsume"> 66 65 65 63 62 62 61 60 58 58 57 56 55 55 53 52 52 51 50 48 48 47 46 45 45 43 42 42 41 40 </table>
  <table name="#mpConsume"> 52 54 55 58 60 62 64 65 67 69 </table>
  <table name="#power"> 230 250 270 290 310 330 350 370 390 411 </table>
  <table name="#itemConsumeCount"> 3 3 4 4 4 4 5 5 5 5 </table>
  <table name="#magicLvl"> 56 58 60 62 64 66 68 70 72 74 </table>
  <set name="magicLvl" val="#magicLvl"/>
  <set name="power" val="#power"/>
  <set name="mpConsume" val="#mpConsume"/>
  <set name="itemConsumeId" val="3031"/>
  <set name="itemConsumeCount" val="#itemConsumeCount"/>
  <set name="reuseDelay" val="9000"/>
  <set name="hitTime" val="4000"/>
  <set name="target" val="TARGET_UNDEAD"/>
  <set name="skillType" val="FEAR"/>
  <set name="isDebuff" val="true"/>
  <set name="operateType" val="OP_ACTIVE"/>
  <set name="lethal2" val="40"/>
  <set name="castRange" val="900"/>
  <set name="effectRange" val="1400"/>
  <set name="isMagic" val="true"/>
  <enchant1 name="power" val="#ench1Power"/>
  <enchant2 name="mpConsume" val="#ench2MpConsume"/>
  <for>
    <effect count="8" name="Fear" time="2" val="0"/>
  </for>
</skill>

_________________
L2 Wrath
GroundShaker --- GrandKhavatari 80 - retired
[img]http://i30.tinypic.com/2ex7yud.png[/img]


Reply with quote
Top
 OfflineProfile  
 Post subject:
PostPosted: Wed Dec 03, 2008 12:56 am 
Forum Troll
User avatar

Joined: Sun Mar 02, 2008 4:40 pm
Posts: 12886
//tiopitaipak

Code:
/** Calculate value of lethal chance */ 
  1548         public final double calcLethal(L2Character activeChar, L2Character target, int baseLethal, int magiclvl) 
  1549         { 
  1550                 double chance = 0; 
  1551                 if(magiclvl > 0) 
  1552                 { 
  1553                         int delta = ((magiclvl+activeChar.getLevel())/2) - 1 - target.getLevel(); 
  1554                               
  1555                         if((delta+3)>=0) 
  1556                         { 
  1557                                 chance = (baseLethal*((double)activeChar.getLevel()/target.getLevel())); 
  1558                         } 
  1559                         else if((delta+3)<0 && (delta+3)>=-9) 
  1560                         { 
  1561                                 chance = (-1)*(baseLethal/(delta*1.5)); 
  1562                         } 
  1563                         else 
  1564                         { 
  1565                                 chance = baseLethal/15; 
  1566                         } 
  1567                 } 
  1568                 else 
  1569                 { 
  1570                         chance = (baseLethal*((double)activeChar.getLevel()/target.getLevel())); 
  1571                 } 
  1572                 return 10*activeChar.calcStat(Stats.LETHAL_RATE, chance, target, null); 









Code:
// 2nd lethal effect activate (cp,hp to 1 or if target is npc then hp to 1) 
1561               if (skill.getLethalChance2() > 0 && chance < calcLethal(activeChar, target, skill.getLethalChance2())) 
  1588             if (skill.getLethalChance2() > 0 && chance < calcLethal(activeChar, target, skill.getLethalChance2(),skill.getMagicLevel())) 
1562 1589             { 
1563 1590                 if (target instanceof L2NpcInstance) 
… …   
1579 1606                 activeChar.sendPacket(new SystemMessage(SystemMessageId.LETHAL_STRIKE)); 
1580 1607             } 
1581               else if (skill.getLethalChance1() > 0 && chance < calcLethal(activeChar, target, skill.getLethalChance1())) 
  1608             else if (skill.getLethalChance1() > 0 && chance < calcLethal(activeChar, target, skill.getLethalChance1(),skill.getMagicLevel())) 
1582 1609             { 
1583 1610                 if (target instanceof L2PcInstance) 


Reply with quote
Top
 OfflineProfile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 63 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  


Contact | Cookies policy