L2JMobius

Public Development => Bug Reports => Topic started by: BazookaRpm on April 26, 2025, 02:54:59 AM

Title: error code NPCTemplate
Post by: BazookaRpm on April 26, 2025, 02:54:59 AM
Hello, good afternoon. Reading the l2jmobius interlude code, I was reviewing the NpcTemplate code, and in one section I found this typo.

Part of the code has a typo.

_soulShot = set.getInt("soulShot", 0);
_spiritShot = set.getInt("spiritShot", 0);
_soulShotChance = set.getInt("shotShotChance", 0); // <--- Here I could see an error that says shotshot
_spiritShotChance = set.getInt("spiritShotChance", 0);

I'm going to correct this typo and check what effects it has on NPCs that use soulshots.
Title: Re: error code NPCTemplate
Post by: dramaa on April 26, 2025, 11:07:21 AM
it does have effect, on each hit it calculates if it have to use ss or not, you just have to add magicskilluse to see visual effect on hit when it's using ss
Title: Re: error code NPCTemplate
Post by: BazookaRpm on April 26, 2025, 03:30:24 PM
I've also repaired it, as well as the drop calculator, I had to distribute the attackableAI, magicskilluse, etc