Jump to content
  • 0

Shield Deflect Magic type


Question

Posted

What's the stat for Shield Deflect Magic? It's a skill that reflects magic damage back to the person who cast it on you.

 

This is what mine looks like:

 

  <for>
   <effect name="Buff" time="15" val="0">
     <mul order="0x30" stat="pvpPhysDmg" val="1.3"/>
      <mul order="0x30" stat="pvpPhysSkillsDmg" val="1.3"/>
    </effect>
  </for>
</skill>

As you can see, it says pvpphysdmg and pvpphysskillsdmg, which isn't right. I need it so it reflects the magic back.

8 answers to this question

Recommended Posts

  • 0
Posted
	<skill id="913" levels="1" name="Deflect Magic">
	<set name="hitTime" val="1500" />
	<set name="mpConsume" val="37" />
	<set name="operateType" val="OP_ACTIVE" />
	<set name="reuseDelay" val="1800000" />
	<set name="skillType" val="BUFF" />
	<set name="target" val="TARGET_SELF" />
	<for>
		<effect name="Buff" time="1200" val="0">
			<mul order="0x30" stat="magicDamVul" val="0.5" />
			<!--
				TODO: needs to be verified, desc say 100% but it can't be 100%
				resist for 20min (is weird)
			-->
		</effect>
	</for>
</skill>

  • 0
Posted

Wrong skill, that's Deflect Magic. I'm looking for the Shield Deflect Magic, the ID for it is 916. Here' s what mine currently looks like:

 

<skill id="916" levels="4" name="Shield Deflect Magic">
  <set name="hitTime" val="1500"/>
  <set name="target" val="TARGET_SELF"/>
  <set name="skillType" val="BUFF"/>
  <set name="operateType" val="OP_ACTIVE"/>
  <set name="reuseDelay" val="45000"/>
  <for>
    <effect name="Buff" time="25" val="0">
      <mul order="0x30" stat="pvpPhysDmg" val="1.3"/>
      <mul order="0x30" stat="pvpPhysSkillsDmg" val="1.3"/>
    </effect>
  </for>
</skill>

 

I need the correct stat for it, because pvpdmg isn't right.

  • 0
Posted

right.. What I need is the correct stat.

 

    <effect name="Buff" time="25" val="0">
      <mul order="0x30" stat="pvpPhysDmg" val="1.3"/>
      <mul order="0x30" stat="pvpPhysSkillsDmg" val="1.3"/>
    </effect>

 

That's the effect for it, but it gives pvpdmg, which isn't correct. I need the stat that reflects magic damage back to the target.

  • 0
Posted

// HP & MP

MAX_HP("maxHp"),

MAX_MP("maxMp"),

MAX_CP("maxCp"),

REGENERATE_HP_RATE("regHp"),

REGENERATE_CP_RATE("regCp"),

REGENERATE_MP_RATE("regMp"),

RECHARGE_MP_RATE("gainMp"),

HEAL_EFFECTIVNESS("gainHp"),

HEAL_PROFICIENCY("giveHp"),

HEAL_STATIC_BONUS("bonusHp"),

 

// Atk & Def

POWER_DEFENCE("pDef"),

MAGIC_DEFENCE("mDef"),

POWER_ATTACK("pAtk"),

MAGIC_ATTACK("mAtk"),

POWER_ATTACK_SPEED("pAtkSpd"),

MAGIC_ATTACK_SPEED("mAtkSpd"), // how fast a spell is casted (including animation)

SHIELD_DEFENCE("sDef"),

CRITICAL_DAMAGE("cAtk"),

CRITICAL_DAMAGE_ADD("cAtkAdd"), // this is another type for special critical damage mods - vicious stance, crit power and crit damage SA

PVP_PHYSICAL_DMG("pvpPhysDmg"),

PVP_MAGICAL_DMG("pvpMagicalDmg"),

PVP_PHYS_SKILL_DMG("pvpPhysSkillsDmg"),

// Atk & Def rates

EVASION_RATE("rEvas"),

P_SKILL_EVASION ("pSkillEvas"),

SHIELD_RATE("rShld"),

SHIELD_ANGLE("shldAngle"),

CRITICAL_RATE("rCrit"),

BLOW_RATE("blowRate"),

LETHAL_RATE("lethalRate"),

MCRITICAL_RATE("mCritRate"),

EXPSP_RATE("rExp"),

ATTACK_CANCEL("cancel"),

// Accuracy and range

ACCURACY_COMBAT("accCombat"),

POWER_ATTACK_RANGE("pAtkRange"),

MAGIC_ATTACK_RANGE("mAtkRange"),

POWER_ATTACK_ANGLE("pAtkAngle"),

ATTACK_COUNT_MAX("atkCountMax"),

POLE_ATTACK_ANGLE("poleAngle"),

 

// Run speed,

// walk & escape speed are calculated proportionally,

// magic speed is a buff

RUN_SPEED("runSpd"),

WALK_SPEED("walkSpd"),

 

//

// Player-only stats

//

STAT_STR("STR"),

STAT_CON("CON"),

STAT_DEX("DEX"),

STAT_INT("INT"),

STAT_WIT("WIT"),

STAT_MEN("MEN"),

 

// Unused until DP is updated

LOST_EXP("lostExp"),

LOST_EXP_PVP("lostExpPvp"),

//

// Special stats, share one slot in Calculator

//

 

// stats of various abilities

BREATH("breath"),

//

AGGRESSION("aggression"), // locks a mob on tank caster

BLEED("bleed"), // by daggers, like poison

POISON("poison"), // by magic, hp dmg over time

STUN("stun"), // disable move/ATTACK for a period of time

ROOT("root"), // disable movement, but not ATTACK

MOVEMENT("movement"), // slowdown movement, debuff

CONFUSION("confusion"), // mob changes target, opposite to aggression/hate

SLEEP("sleep"), // sleep (don't move/ATTACK) until attacked

FIRE("fire"),

WIND("wind"),

WATER("water"),

EARTH("earth"),

HOLY("holy"),

DARK("dark"),

SACRED("sacred"),

CANCEL("cancel"),

//

AGGRESSION_VULN("aggressionVuln"),

BLEED_VULN("bleedVuln"),

POISON_VULN("poisonVuln"),

STUN_VULN("stunVuln"),

PARALYZE_VULN("paralyzeVuln"),

ROOT_VULN("rootVuln"),

SLEEP_VULN("sleepVuln"),

CONFUSION_VULN("confusionVuln"),

MOVEMENT_VULN("movementVuln"),

FIRE_VULN("fireVuln"),

WIND_VULN("windVuln"),

WATER_VULN("waterVuln"),

EARTH_VULN("earthVuln"),

HOLY_VULN("holyVuln"),

DARK_VULN("darkVuln"),

CANCEL_VULN("cancelVuln"), // Resistance for cancel type skills

DERANGEMENT_VULN("derangementVuln"),

DEBUFF_VULN("debuffVuln"),

FALL_VULN("fallVuln"),

CRIT_VULN("critVuln"), // Resistence to Crit DMG.

 

AGGRESSION_PROF("aggressionProf"),

BLEED_PROF("bleedProf"),

POISON_PROF("poisonProf"),

STUN_PROF("stunProf"),

PARALYZE_PROF("paralyzeProf"),

ROOT_PROF("rootProf"),

SLEEP_PROF("sleepProf"),

CONFUSION_PROF("confusionProf"),

PROF("movementProf"),

FIRE_PROF("fireProf"),

WIND_PROF("windProf"),

WATER_PROF("waterProf"),

EARTH_PROF("earthProf"),

HOLY_PROF("holyProf"),

DARK_PROF("darkProf"),

CANCEL_PROF("cancelProf"),

DERANGEMENT_PROF("derangementProf"),

DEBUFF_PROF("debuffProf"),

CRIT_PROF("critProf"),

 

NONE_WPN_VULN("noneWpnVuln"), // Shields!!!

SWORD_WPN_VULN("swordWpnVuln"),

BLUNT_WPN_VULN("bluntWpnVuln"),

DAGGER_WPN_VULN("daggerWpnVuln"),

BOW_WPN_VULN("bowWpnVuln"),

CROSSBOW_WPN_VULN("crossbowWpnVuln"),

POLE_WPN_VULN("poleWpnVuln"),

ETC_WPN_VULN("etcWpnVuln"),

FIST_WPN_VULN("fistWpnVuln"),

DUAL_WPN_VULN("dualWpnVuln"),

DUALFIST_WPN_VULN("dualFistWpnVuln"),

BIGSWORD_WPN_VULN("bigSwordWpnVuln"),

 

REFLECT_DAMAGE_PERCENT("reflectDam"),

REFLECT_SKILL_MAGIC("reflectSkillMagic"),

REFLECT_SKILL_PHYSIC("reflectSkillPhysic"),

REFLECT_SKILL_MELEE_PHYSIC("reflectSkillMeleePhysic"),

ABSORB_DAMAGE_PERCENT("absorbDam"),

TRANSFER_DAMAGE_PERCENT("transDam"),

ABSORB_CP_PERCENT("absorbCpPercent"),

SKILL_MASTERY("skillMastery"),

 

MAX_LOAD("maxLoad"),

 

PATK_PLANTS("pAtk-plants"),

PATK_INSECTS("pAtk-insects"),

PATK_ANIMALS("pAtk-animals"),

PATK_MONSTERS("pAtk-monsters"),

PATK_DRAGONS("pAtk-dragons"),

PATK_GIANTS("pAtk-giants"),

PATK_UNDEAD("pAtk-undead"),

PATK_MAGIC("pAtk-magic"),

 

PDEF_PLANTS("pDef-plants"),

PDEF_INSECTS("pDef-insects"),

PDEF_ANIMALS("pDef-animals"),

PDEF_MONSTERS("pDef-monsters"),

PDEF_DRAGONS("pDef-dragons"),

PDEF_UNDEAD("pDef-undead"),

PDEF_GIANTS("pDef-giants"),

PDEF_MAGIC("pDef-magic"),

 

PATK_VALAKAS("pAtk-valakas"),

PDEF_VALAKAS("pDef-valakas"),

 

//ATK_REUSE        ("atkReuse"),

PHYS_REUSE_RATE("pReuse"),

MAGIC_REUSE_RATE("mReuse"),

BOW_REUSE("bowReuse"),

 

//ExSkill :)

INV_LIM("inventoryLimit"),

WH_LIM("whLimit"),

FREIGHT_LIM("FreightLimit"),

P_SELL_LIM("PrivateSellLimit"),

P_BUY_LIM("PrivateBuyLimit"),

REC_D_LIM("DwarfRecipeLimit"),

REC_C_LIM("CommonRecipeLimit"),

 

//C4 Stats

PHYSICAL_CONSUME_RATE("PhysicalMpConsumeRate"),

MAGIC_CONSUME_RATE("MagicalMpConsumeRate"),

DANCE_CONSUME_RATE("DanceMpConsumeRate"),

HP_CONSUME_RATE("HpConsumeRate"),

MP_CONSUME("MpConsume"),

SOULSHOT_COUNT("soulShotCount"),

 

transformId("transformId"),

TALISMAN_SLOTS("talisman");

 

i think this is all you will be able to choose from..

  • 0
Posted

Thanks Sensei. Here's the code for Shield Reflect Magic if anyone needs it.

 

<skill id="916" levels="4" name="Shield Deflect Magic">
  <set name="hitTime" val="1500"/>
  <set name="target" val="TARGET_SELF"/>
  <set name="skillType" val="BUFF"/>
  <set name="operateType" val="OP_ACTIVE"/>
  <set name="reuseDelay" val="45000"/>
  <for>
    <effect name="Buff" time="12" val="0">
      <mul order="0x30" stat="reflectSkillMagic" val="1.3"/>
    </effect>
  </for>
</skill>

 

Haven't had a chance to test it yet, the val for the stat might be off but it should work.

 

Resolved ~

  • 0
Posted

Thanks Sensei. Here's the code for Shield Reflect Magic if anyone needs it.

 

<skill id="916" levels="4" name="Shield Deflect Magic">
  <set name="hitTime" val="1500"/>
  <set name="target" val="TARGET_SELF"/>
  <set name="skillType" val="BUFF"/>
  <set name="operateType" val="OP_ACTIVE"/>
  <set name="reuseDelay" val="45000"/>
  <for>
    <effect name="Buff" time="12" val="0">
      <mul order="0x30" stat="reflectSkillMagic" val="1.3"/>
    </effect>
  </for>
</skill>

 

Haven't had a chance to test it yet, the val for the stat might be off but it should work.

 

Resolved ~

 

now you are on the good way you see create something on your own feels better right?

 

locked.

Guest
This topic is now closed to further replies.


  • Posts

    • Long story short, I love survivor-like games, so I made a standalone game in the style of Vampire Survivors. It's called Survivors of Lineage (because ofc it is). I think it's very fun even though I kinda suck at it, so give it a go and tell me what you think.   Video   Play online (mobile works too): https://sol.fermata.gg/ Download the desktop version (Windows & Mac): https://updates.fermata.gg/ It includes: 26 heroes, from Lineage 2 classes to raid bosses you can play as: Baium, Antharas, Valakas, Zaken, Queen Ant, Scarlet van Halisha and more. Each has its own signature skill, trait, and evolution. 42 weapons built on L2 skills (Hydro Blast, Aura Bolt, Might of Heaven, Sword Symphony, Wild Hog Cannon...), each with an empowered cast and an evolution. 8 maps, from the Coliseum and Cruma Tower to the Tower of Insolence, Antharas' Lair, Valakas' Lair and the Imperial Tomb, each with its zone's monsters and four raid bosses. Easy, Medium and Hard on every map, and an endless mode once you've won. The Armory: spend your Adena on permanent power-ups, unlock heroes, weapons and maps through feats, and dress your hero in armor and weapon looks that climb the grades. Leaderboards for every map, difficulty and hero, plus daily and weekly runs where everyone plays the same seed. Options to tone it down when the screen gets busy: fewer skill effects, damage numbers on crits only (or off), no screen flashes. It should take about 15-20 hours to max out the main power-ups and about 150 hours to finish everything (based on my simulations; I could be way off). Controller support is coming. It's completely free, with no ads and nothing to buy. Feedback is very welcome, especially on balance. No affiliation with Lineage 2 or NCSoft; I made it to keep myself busy while my agents do stuff, and I wanted to share it.  
    • Progressive Voting System for Lineage II       After spending some time developing and testing this system on my own server, I have decided to release it and share it with the community. It is specifically designed for Lineage II servers that want to encourage daily voting on server ranking websites in a clean, secure, and visually appealing way.     What Does This System Do?   Unlike traditional voting systems where users can see all voting buttons and click on any of them, this system uses a progressive unlocking sequence:   The player logs in using their in-game account. Only the [b]first voting site[/b] is initially available. After voting on the current site, the system polls for updates in real time and [b]automatically unlocks the next one[/b] without reloading the page. Once all voting sites in the list have been completed, the [b]claim reward[/b] button becomes available, allowing the player to receive the reward directly in their character's inventory.     Main Features     Lineage II-Style Interface: Completely redesigned UI featuring a gold, brown, and dark color palette inspired by the game's classic interface. Automatic Multilingual Support: Native support for English, Spanish, Portuguese, and Russian. The system detects the browser language automatically, and users can switch languages using the flag selector. Anti-Fraud System: Configurable reward limits per IP address (for example, a maximum of 7 rewards every 12 hours). Only actual rewards are counted, not voting clicks. Configurable Timers: Set the number of seconds users must wait between voting sites to prevent abuse. Global Monthly Counter: Displays the total number of votes received by the server during the current month, with a configurable automatic reset. Secure Item Delivery: Configure direct delivery through the database (Direct) or through GM commands via Telnet. Strong Security: CSRF protection, secure sessions, restricted subdirectories using .htaccess, external configuration through config.properties, and no external dependencies (Composer is not required).     How to Install   Installation is straightforward and designed to be accessible to anyone with basic technical knowledge:   Upload the files to your web hosting. Configure your database connection details in config.properties. Import install.sql into your database (this creates the l2votesystem_* tables). Configure a Cron Job to run every minute. That's it!   Requirements:   PHP 8.1+, MySQL, Apache (with mod_rewrite).     Screenshots                 Download and Source Code   The project is open source and available on GitLab, allowing everyone to review the code, use the system, or contribute improvements.   https://gitlab.com/L2JDevs/L2VoteSystem   If you find this project useful, please consider giving the repository a Star. It helps others discover the project and supports its continued development.[/i]   Feedback and Support   I have tried to keep the code as clean and maintainable as possible, but there is always room for new features, such as proper GTOP100 callbacks, a ranking system, Discord integration, and more.   If you have any suggestions, encounter a bug, or would like to contribute, feel free to reply to this thread or open an issue on GitLab.   I hope this system proves useful for your Lineage II servers!
    • Opening Closed BETA for discord members today!  Join us! https://discord.gg/bfnXPuEuD
  • 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..