Jump to content
Sign in to follow this  
Kara`

Discussion Official Stun in C4-Il-Freya-H5

Recommended Posts

Anyone who could inform me how Stun actualy works in C4-IT-Freya-H5.

 

If someone has stun (Player or Monster) and someone else stun him again before the previous stun expire what happen?

 

1. The previous stop stop and the new one take the place (so basically new stun from 0)

2. Both stun are stopping and stunned player lose stun buff before it expire? 

 

Also in case of 1. If the 2nd stun fails will it cancel the previous or is like nothing happened? 

 

Thanks a lot.

 

PS. does the stun actualy has a 10% to stop upon 2nd stun as in L2J? i saw in code there is a chance of 1/10 to stop stun if new stun is coming. Also stun stops 2nd stun if its resisted. Is this valid?

Edited by Kara`

Share this post


Link to post
Share on other sites
37 minutes ago, xdem said:

nothing you said is valid or at least retail

One guy on skype said that official (retail like) is when you stun someone the previous stun is canceled and the timer starts from 0. Can you at least inform me how it works? 

Share this post


Link to post
Share on other sites
43 minutes ago, Kara` said:

One guy on skype said that official (retail like) is when you stun someone the previous stun is canceled and the timer starts from 0. Can you at least inform me how it works? 

He could if he knew.

Share this post


Link to post
Share on other sites
56 minutes ago, StinkyMadness said:

He could if he knew.

Well someone can inform me cause i want change the formulas but i dont know what is the correct way.

Share this post


Link to post
Share on other sites

The second effect is simply denied (no effect). The first effect stays, for the duration of the effect.

 

What you saw is on reduceHp, it's a luck to be wake up on damage, 10% luck (from the moment it's not dot or consumed hps). So basically, yes, you can wake up from a stun... Since archer stun also deals damages. But that's not proper to stun effect, but damage. Any damage.

Edited by Tryskell

Share this post


Link to post
Share on other sites
14 minutes ago, Tryskell said:

The second effect is simply denied (no effect). The first effect stays, for the duration of the effect.

 

What you saw is on reduceHp, it's a luck to be wake up on damage, 10% luck (from the moment it's not dot or consumed hps). So basically, yes, you can wake up from a stun... Since archer stun also deals damages. But that's not proper to stun effect, but damage. Any damage.

 

So far my formulas work like this:

 

1. You stun a person.

2. There is 10% Chance upon damage (including stun itself cause it reduceHP) to cancel stun. So there is a 10% upon stun to cancel right away.

3. The 2nd cancel won't cancel the first one 

                     if success -> the stun timer starts from 0 (renew)

                     if fail         -> the stun stops.

Share this post


Link to post
Share on other sites

Not sure if you correctly explained the 3). There is no perma-effect in the world of Lineage 2. The second effect is simply... vanished. Since an effect of the same type is already applied. Only the damage aspect occurs - which potentially wake up the target.

 

I clearly doubt a stun stops immediately due to its own damage.

Edited by Tryskell
  • Like 1

Share this post


Link to post
Share on other sites
23 minutes ago, Tryskell said:

Not sure if you correctly explained the 3). There is no perma-effect in the world of Lineage 2. The second effect is simply... vanished. Since an effect of the same type is already applied. Only the damage aspect occurs - which potentially wake up the target.

 

I clearly doubt a stun stops immediately due to its own damage.

 

What you mean you doubt? There is a code in L2J that cleary has a Rnd.get(10) == 0  (stopStunning)

So it instant cancel stun due to its own damage.

Share this post


Link to post
Share on other sites
15 minutes ago, Tryskell said:

All depends about the order.

Can't understand you really. Can you give a graphical example like mine? If not then thanks for respond anyway. I think the way it's now its fine. Stun only stops if 1/10 change upon receive damage or another stun fail else it restart its timer

Share this post


Link to post
Share on other sites
2 hours ago, Kara` said:

 

3. The 2nd cancel won't cancel the first one 

                     if success -> the stun timer starts from 0 (renew)

                     if fail         -> the stun stops.

Every debuff always fails if effect is already applied, timer doesn't start from 0.

Share this post


Link to post
Share on other sites
33 minutes ago, Kara` said:

Can't understand you really. Can you give a graphical example like mine? If not then thanks for respond anyway. I think the way it's now its fine. Stun only stops if 1/10 change upon receive damage or another stun fail else it restart its timer

 

I don't think you need a graphical exemple to understand than if the effect of stun is applied before the effect of damage, than the effect of damage can't affect the effect of stun.

 

But that's only guesses, so far. I didn't test.

Share this post


Link to post
Share on other sites

So this applied in all effects? Sleep, Stun e.t.c ? So i should do the proper check if the EffectType already affects the player to no replace it?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.



  • Posts

    • HUGE ONLINE TO THE GRAND OPEN!! DONT MISS UR TIEM WITH OTHERS!! Exp: x15 Sp: x15 Drop: x2 Spoil: x2 Adena: x10 Bosses: x2 Clan Reputation x2 Clan War Reputation score x2 Party EXP Rates: 1.00; 1.60; 1.65; 1.70;1.80; 1.90; 2.00; 2.10; 2.20; Like Off 7Signs Party SEARCH SYSTEM (Alt+Shift+P) Training Camp System only for VIP (Min lv 40/ Max Lv80 - max Training per Day 5 Hours) Fish System for all All Raid BOSS Areas PvP 1500 Radius Autopickup. Npc Buffer Buff slots 24/12. ClassTransfer: 1st 10k, 2do 250k, 3ero 15kk. Global Gk. Gmshop until C Grade. EventShop Drop Shift + Click Premium: Rates increased by 50%.  Visita este LINK Enchant safe/max: 4/16 Enchant Rates Retail. AutolearnSkills: Deactivated, Spellbooks selled in the adena shop. Buff Store Enable.
      WEBSITE: http://lineage2rivendel.com/
      INFO: http://lineage2rivendel.com/info.php
      DOWNLOAD: http://lineage2rivendel.com/connect.php
      REGISTER: https://lineage2rivendel.com/register.php
    • you need also the geodata.. edit the geo_index.txt and add the number of geodata   26_14_conv.dat
      26_20_conv.dat
      26_22_conv.dat also you can generete the pathnode.bin search in mxc for tool  
    • L2 Script 2.5 Savior PTS FILES   Server Features: Exp: x15 Sp: x15 Drop: x2 Spoil: x2 Adena: x10 Bosses: x2 Clan Reputation x2 Clan War Reputation score x2 Party EXP Rates: 1.00; 1.60; 1.65; 1.70;1.80; 1.90; 2.00; 2.10; 2.20; Like Off 7Signs Party SEARCH SYSTEM (Alt+Shift+P) Training Camp System only for VIP (Min lv 40/ Max Lv80 - max Training per Day 5 Hours) Fish System for all All Raid BOSS Areas PvP 1500 Radius Autopickup. Npc Buffer Buff slots 24/12. ClassTransfer: 1st 10k, 2do 250k, 3ero 15kk. Global Gk. Gmshop until C Grade. EventShop Drop Shift + Click Premium: Rates increased by 50%.  Visita este LINK Enchant safe/max: 4/16 Enchant Rates Retail. AutolearnSkills: Deactivated, Spellbooks selled in the adena shop. Buff Store Enable. Brooch System Enabled
      NPC PONA in giran sell all necesary for use this jewels. Obtained in the event: Summer Squash.   Events TvT= Reward Per Team Lastman= Reward Per Kill and Won Event DeathMatch = Reward per Kill DeathMatch TEAM= Reward chance per Kill and Team Winner TOI Retail EVENT LOA Retail PvP Event Summer Squash ENABLED Olympiad Period Retail Like Off Classic. Olympiad Days Friday and Saturday (Viernes/Sabado) (Friday/Saturday) DOWNLOAD: http://lineage2rivendel.com/connect.php
      REGISTER: https://lineage2rivendel.com/register.php
    • Progress update: Droplist editing is almost completed. It took a lot longer than expected. There are so many things that a user can do to break the droplist, so I had to implement a lot of errorproofing. It's still possible to mess it up though, but not as innocently. I still need to implement delete functionality and hooking it up to the specific NPC, but I'm getting close to being done with NPCs/Droplists/Items. Again, when that's completed, I'll move to spawning and then prepare a test version.   #weedy RvR systems are probably hand-made for those servers. They're most often available on L2j servers, which (as people in here would probably agree with) just isn't as enjoyable as L2Off files. Because of L2j's java core, it's a lot easier to modify. I'm sure people can figure out how to implement it on L2Off as well though, but I imagine it'll take quite some effort. If anyone knows otherwiser, please let me know.   The examples you give with changing how primary stats work will be possible through L2H. I've planned for that, so if you want to do your own calculations, go ahead. It should be available in version 7.0 (which is some time away though). After 2.0, development will be fast though. Droplists are some of the heaviest tasks (except for items and AI), because of all the variables. The next versions should be easier to develop.   As for the guidelines for using the project, I think that's something we'll have to figure out once we can actually play with it a bit. We'll just take it as it comes.   If you're interested in setting up a test-station, there are a few good guides on here. You'll want eressea's extender and the Gracia Epilogue files. I'm a little too busy to even setup my own test platform right now, so it'll have to wait :) I managed to test the item system before my server broke, so I know that works. I can tell NPCs/droplists should work similarly, but only time will tell.   Edit: If someone has an extra server I can use to test on, that'd be awesome. Otherwise, it'll take a bit longer to release a test version. I'll only be uploading stuff to the scripts folder for now. Later, I'll be uploading split AI files as well.   -B
  • Topics

×