Jump to content

Recommended Posts

Posted (edited)

I have 2 questions.

1. After getting Life cubic from Newbie guide, should Life cubic stay active after player restarts/exits server or should newbie guide Life cubic disappear and player need to rebuff  every time to receive Life Cubic after restart/exit server?

 

2. Do players need to hit Hot Springs mobs to receive Hot Springs debuffs or should Hot Springs mobs give debuffs without player hitting?

 

I would appreciate an accurate response from multiple members as I could not find info anywhere else. Thank You.

Edited by Vision
Posted

Hey @L2RAPTOR

 

1.About the Life cubic, everytime you restart/exit game the Cubic's effects are removed.
2.Hot Springs mobs should hit the player and they have chance to give him those debuffs only when they hit.
You need only to take their aggro by any type of damage or aggro on them.

 

The big head spring effect is only received trough the area affection when you get into the water.

I hope that i've helped. 

  • Downvote 1
Posted
3 hours ago, Odyssey said:

Hey @L2RAPTOR

 

1.About the Life cubic, everytime you restart/exit game the Cubic's effects are removed.
2.Hot Springs mobs should hit the player and they have chance to give him those debuffs only when they hit.
You need only to take their aggro by any type of damage or aggro on them.

 

The big head spring effect is only received trough the area affection when you get into the water.

I hope that i've helped. 

thank you for your response.

1. Life Cubic given from Newbie Guide Buffs is removed on restart/exit ..

This is L2Off feature?, L2j added feature? what is your source for this information?

2. So Hot Springs debuffs are given to player when mob hits player. There is no requirement for player to hit mob.. correct?

This is L2Off feature?, L2j added feature? what is your source for this information?

Posted

GF retail data:

 

1) if my memory serves me right, in order for a skill to be removed on restart it needs abnormal_delete_leaveworld=1, which I do not see it with skill_id = 4338

 

2) Debuffs are applied on attacked (whenever mob gets attacked), clan_attacked (whenever mob's clan gets attacked) and see_spell (basically a healer could get debuffed if he healed a char attacking the mob).

 

set_compiler_opt base_event_type(@NTYPE_NPC_EVENT)

class warrior_casting_enchant_physical_poison : warrior {
parameter:
	int PhysicalSpecial = @s_npc_strike12;
	int Buff1 = @s_might_boss_a_1;
	int Buff2 = @s_haste_boss_a_1;
	int DeBuff1 = @s_spa_disease_a1;
	int DeBuff2 = @s_spa_disease_b1;
	
handler:
	EventHandler CREATED() {
		if (Skill_GetConsumeMP(Buff1) < myself.sm.mp && Skill_GetConsumeHP(Buff1) < myself.sm.hp && Skill_InReuseDelay(Buff1) == 0) {
			AddUseSkillDesire(myself.sm, Buff1, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);
		}

		if (Skill_GetConsumeMP(Buff2) < myself.sm.mp && Skill_GetConsumeHP(Buff2) < myself.sm.hp && Skill_InReuseDelay(Buff2) == 0) {
			AddUseSkillDesire(myself.sm, Buff2, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);
		}

		super;
	}

	EventHandler ATTACKED(attacker, i1, skill_name_id) {
		i1 = 0;

		if (GetAbnormalLevel(myself.sm, Skill_GetAbnormalType(Buff1)) <= 0) {
			if (Skill_GetConsumeMP(Buff1) < myself.sm.mp && Skill_GetConsumeHP(Buff1) < myself.sm.hp && Skill_InReuseDelay(Buff1) == 0) {
				AddUseSkillDesire(myself.sm, Buff1, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);
			}
		}

		if (GetAbnormalLevel(myself.sm, Skill_GetAbnormalType(Buff2)) <= 0) {
			if (Skill_GetConsumeMP(Buff2) < myself.sm.mp && Skill_GetConsumeHP(Buff2) < myself.sm.hp && Skill_InReuseDelay(Buff2) == 0) {
				AddUseSkillDesire(myself.sm, Buff2, @ST_HEAL, @AMT_MOVE_TO_TARGET, 1000000);
			}
		}

		if (Rand(100) < 33) {
			if (Skill_GetConsumeMP(PhysicalSpecial) < myself.sm.mp && Skill_GetConsumeHP(PhysicalSpecial) < myself.sm.hp && Skill_InReuseDelay(PhysicalSpecial) == 0) {
				AddUseSkillDesire(attacker, PhysicalSpecial, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000);
			}
		}

		if (Rand(100) < 10) {
			i1 = GetAbnormalLevel(attacker, Skill_GetAbnormalType(DeBuff1));

			if (i1 == -1) {
				if (Skill_GetConsumeMP(DeBuff1) < myself.sm.mp && Skill_GetConsumeHP(DeBuff1) < myself.sm.hp && Skill_InReuseDelay(DeBuff1) == 0) {
					AddUseSkillDesire(attacker, DeBuff1, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000);
				}
			} else if (i1 == 10) {
			} else {
				i1 = DeBuff1 + i1;

				if (Skill_GetConsumeMP(i1) < myself.sm.mp && Skill_GetConsumeHP(i1) < myself.sm.hp && Skill_InReuseDelay(i1) == 0) {
					AddUseSkillDesire(attacker, i1, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000);
				}
			}
		}

		if (Rand(100) < 10) {
			i1 = GetAbnormalLevel(attacker, Skill_GetAbnormalType(DeBuff2));

			if (i1 == -1) {
				if (Skill_GetConsumeMP(DeBuff2) < myself.sm.mp && Skill_GetConsumeHP(DeBuff2) < myself.sm.hp && Skill_InReuseDelay(DeBuff2) == 0) {
					AddUseSkillDesire(attacker, DeBuff2, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000);
				}
			} else if (i1 == 10) {
			} else {
				i1 = DeBuff2 + i1;

				if (Skill_GetConsumeMP(i1) < myself.sm.mp && Skill_GetConsumeHP(i1) < myself.sm.hp && Skill_InReuseDelay(i1) == 0) {
					AddUseSkillDesire(attacker, i1, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000);
				}
			}
		}

		super;
	}

	EventHandler CLAN_ATTACKED(attacker, i1) {
		i1 = 0;

		if (Rand(100) < 10) {
			i1 = GetAbnormalLevel(attacker, Skill_GetAbnormalType(DeBuff1));

			if (i1 == -1) {
				if (Skill_GetConsumeMP(DeBuff1) < myself.sm.mp && Skill_GetConsumeHP(DeBuff1) < myself.sm.hp && Skill_InReuseDelay(DeBuff1) == 0) {
					AddUseSkillDesire(attacker, DeBuff1, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000);
				}
			} else if (i1 == 10) {
			} else {
				i1 = DeBuff1 + i1;

				if (Skill_GetConsumeMP(i1) < myself.sm.mp && Skill_GetConsumeHP(i1) < myself.sm.hp && Skill_InReuseDelay(i1) == 0) {
					AddUseSkillDesire(attacker, i1, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000);
				}
			}
		}

		if (Rand(100) < 10) {
			i1 = GetAbnormalLevel(attacker, Skill_GetAbnormalType(DeBuff2));

			if (i1 == -1) {
				if (Skill_GetConsumeMP(DeBuff2) < myself.sm.mp && Skill_GetConsumeHP(DeBuff2) < myself.sm.hp && Skill_InReuseDelay(DeBuff2) == 0) {
					AddUseSkillDesire(attacker, DeBuff2, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000);
				}
			} else if (i1 == 10) {
			} else {
				i1 = DeBuff2 + i1;

				if (Skill_GetConsumeMP(i1) < myself.sm.mp && Skill_GetConsumeHP(i1) < myself.sm.hp && Skill_InReuseDelay(i1) == 0) {
					AddUseSkillDesire(attacker, i1, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000);
				}
			}
		}

		super;
	}

	EventHandler SEE_SPELL(speller, i1) {
		i1 = 0;

		if (Rand(100) < 10) {
			i1 = GetAbnormalLevel(speller, Skill_GetAbnormalType(DeBuff1));

			if (i1 == -1) {
				if (Skill_GetConsumeMP(DeBuff1) < myself.sm.mp && Skill_GetConsumeHP(DeBuff1) < myself.sm.hp && Skill_InReuseDelay(DeBuff1) == 0) {
					AddUseSkillDesire(speller, DeBuff1, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000);
				}
			} else if (i1 == 10) {
			} else {
				i1 = DeBuff1 + i1;

				if (Skill_GetConsumeMP(i1) < myself.sm.mp && Skill_GetConsumeHP(i1) < myself.sm.hp && Skill_InReuseDelay(i1) == 0) {
					AddUseSkillDesire(speller, i1, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000);
				}
			}
		}

		if (Rand(100) < 10) {
			i1 = GetAbnormalLevel(speller, Skill_GetAbnormalType(DeBuff2));

			if (i1 == -1) {
				if (Skill_GetConsumeMP(DeBuff2) < myself.sm.mp && Skill_GetConsumeHP(DeBuff2) < myself.sm.hp && Skill_InReuseDelay(DeBuff2) == 0) {
					AddUseSkillDesire(speller, DeBuff2, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000);
				}
			} else if (i1 == 10) {
			} else {
				i1 = DeBuff2 + i1;

				if (Skill_GetConsumeMP(i1) < myself.sm.mp && Skill_GetConsumeHP(i1) < myself.sm.hp && Skill_InReuseDelay(i1) == 0) {
					AddUseSkillDesire(speller, i1, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000);
				}
			}
		}

		super;
	}
}

 

  • Downvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • relax guys!!! maybe he sold the GOD files, and the vacation will last even longer!
    • This is my attempt to somehow bring the script to be usable. Remembering that the ideal is someone with real capacity to work on it. I'm just trying to improve in my spare time. Changed connection logic to work in php8 Organization of links I added my top rank next to l2jbrasil. My top is 4Team Servers, if you can use it, I would appreciate it!   Download: https://github.com/Sage-BR/icpn-votesystem If you have any bugs, post them here, but as I said, I will try to resolve them or report them to: ICPNetwork    L2JBrasil = The function that generates the playerid generated the incorrect id, now for l2jbrasil it uses "ID + Key" in the VoteAPI menu L2Votes = Now use "ID + Key" GameTOP200 = "Needs testing" Organized new API Hopezone EU = Uses “ID + Key” GameBytes = API fix, (So the API only returns FALSE or TRUE, I added logic using localstorage instead of a cookie to save the moment the API returned "true" and the counter generates it from there) L2Top.co = API fix, (So the API only returns FALSE or TRUE, I added logic using localstorage instead of a cookie to save the moment the API returned "true" and the counter generates it from there) GamingTop100 = API fix GameStop200 = API fix
    • New L2 Logo Faction Interlude Mid Server!  @everyone  BETA SERVER LOGINS ARE ONLINE ENJOY! 📌 Faction Manager Good VS Evil 🏆 Maximum Buffs Slots 24/12 ⚡ Safe Enchant +3 Max +18 💥 Champion System 💥 Vitality System 🔰 GMShop, Buffer & Gatekeeper 🔁 *LOGINS ONLINE * 1st March @ 20:00 GMT+2 🌐 Website: https://l2logo-faction.com/ D ྀི Discord: https://discord.com/invite/SKsDk5yY
    • *LOGINS ONLINE* 21st February @ 15:00 GMT+2   New L2 Logo Faction Interlude Mid Server!  @everyone  Faction Manager Good VS Evil  Maximum Buffs Slots 24/12  Safe Enchant +3 Max +18  Champion System  Vitality System  GMShop, Buffer & Gatekeeper  *LOGINS ONLINE* 21st February @ 15:00 GMT+2  Website: https://l2logo-faction.com/ D ྀི Discord: https://discord.com/invite/SKsDk5yY
    • Here lies Gaytits, the gayest scammer to ever exist... RIP King -- You won't be missed.
  • Topics

×
×
  • Create New...