Jump to content

Question

Posted

Hello. I am using aCis last source and I can't figure out how to allow Earthquake skill to be used before the olympiad match starts.

 

Titans can't use this skill and I want to allow it.

5 answers to this question

Recommended Posts

  • 0
Posted

you mean datapack?

 

here it is:

	<skill id="347" levels="1" name="Earthquake">
		<set name="baseCritRate" val="20"/>
		<set name="hpConsume" val="340"/>
		<set name="mpConsume" val="87"/>
		<set name="weaponsAllowed" val="POLE" /> <!-- Pole -->
		<set name="magicLvl" val="78"/>
		<set name="power" val="4040"/>
		<set name="element" val="4" /> <!-- Earth -->
		<set name="ignoreShld" val="true"/>
		<set name="overHit" val="true"/>
		<set name="SSBoost" val="2.0"/>
		<set name="target" val="TARGET_AURA"/>
		<set name="skillRadius" val="150"/>
		<set name="skillType" val="PDAM"/>
		<set name="isDebuff" val="true" />
		<set name="operateType" val="OP_ACTIVE"/>
		<set name="reuseDelay" val="30000"/>
		<set name="hitTime" val="1800"/>
		<for>
			<effect name="RemoveTarget" noicon="1" val="0"/>
		</for>
	</skill>

But I can't find something bad here...

  • 0
Posted

So... I went to L2PcInstance.java and under checkUseMagicConditions and if skill is offensive

 

I changed to

			if (isInOlympiadMode() && !isOlympiadStart() && skill.getId() != 347)
			{
				// if L2PcInstance is in Olympia and the match isn't already start, send ActionFailed
				sendPacket(ActionFailed.STATIC_PACKET);
				return false;
			}

Now titans can use Earthquake but if they go near their opponent, and use skill, they can damage them before match starts.

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


  • Posts

    • 🌍 https://l2origins.org/ 🛡️ LINEAGE II ORIGINS — SEASON 1 🛡️ 🌑 High Five Classic | True Old-School Experience 🌑 ⚠️ Opening on March 6th at 16:00 Welcome back to the origins of Lineage II. ⚔️ ABOUT THE SERVER Lineage2 Origins is built for players who miss the true retail feeling. Classic progression, real challenges, fair competition — enhanced only with carefully selected QoL features, never breaking the original gameplay. 🌿 PHASED GEAR PROGRESSION 🟢 Month 1: Vesper max 🟢 Month 2: Vorpal unlocked 🟢 Month 3+: Top-grade & Elegia released 🚫 NO AUTO-FARM ✔️ External auto-clicker allowed (1 per client, download page only) ❌ Bots & illegal automation forbidden 🛡️ Strong anti-bot + captcha system ⚠️ AFK players will be punished — stay active or logout 📊 RATES & CORE SETTINGS 🔹 Adena: x5 🔹 Drop / Spoil: x5 🔹 Skill EXP: x15 🔹 Max Windows: 2 per PC 🔹 Subclass: Lv 85 (no quest required) 🔹 Party Level Diff: 30 (55–85) 🔹 No custom items (armors / weapons / jewelry) 🔥 FEATURES ✨ Global & Raid Teleport ✨ NPC Buffer (34 buffs) ✨ Auto Events & PvP Zones ✨ Ranking & Clan Progression ✨ GM Shop & Premium System ✨ All-In-One Community Board ✨ Party & Solo Instances ✨ Siege & Territory War Rewards ✨ RaidBoss Kill Rewards ✨ Lucky Creature Event ✨ Daily Login Rewards ✨ Advanced DDoS Protection & Backups ⚔️ ENCHANTMENTS 🔸 Safe: +3 🔸 Max: +12 (Month 2: +14 | Month 3: +16) 🔸 Blessed: 50% (Premium 65%) 🔸 Normal: 45% (Premium 60%) 🏟️ OLYMPIAD 🔹 Max Enchant: +6 🔹 Start Players: 4 🔹 Period: 1st & 15th 🏰 SIEGE & TW 🔹 Siege Time: 16:00 & 20:00 🔹 Territory War: 20:00 🔹 Max Wards: 3 per Castle 🌌 Lineage2 Origins Fair. Competitive. Nostalgic. A true return to the origins of Lineage II.
    • Bastante confiable, ya trabaje en varios proyectos con el y la verdad te da confianza que hoy en dia poca gente hay asi lo  recomiendo 100%  Gracias por todo amigo ! seguiremos trabajando juntos segurisimamente! 
    • Arcana Mace Acumen +6 : 200 Euro    Leave a message here or better on Discord : grandmaster1991   Discord : GrandMaster#1689  
    • overbooked till 3 of march!! Not accepting more works for now, everything after 3 of match!
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..