Mr.Trival's Conditional Drops help.

Greetings,
I am having difficulty with a script that otherwise seems to function,

I am using the code;

<c_drop: i 31>
<c_chance: 100%>
<c_type: elemental 11>

Attempting to acquire the item when defeating an enemy using a weapon with a specific element, it was taken from the Script itself and was typed exactly as it was in script and placed in the enemy note tag as required and it's not working.

I've used the;

<c_drop: i 31>
<c_chance: 100%>
<c_type: custom>
<c_formula>
$game_switches[1] == true
<\c_formula>

Which works splendidly however it's not the one I want to use.

I've posted the Script as an attachment.

Thank You for Your consideration.

Addendum: at Shaz's request I have here the Original location. https://github.com/Trivel/MrTS_RGSS3/blob/master/Battle/Conditional_Drops.rb
Moved to: RGSS3 Script Support

Could you please remove your attachment and instead post a link to the original location?
Could you please remove your attachment and instead post a link to the original location?
Certainly, Shaz, I will post it in the Addendum.
Can we have a screen shot of the weapon?
I suspect that even if you have the weapon as elemental damage, because it is a weapon it applies normal attack or physical not elemental when the enemy is hit with it
Can we have a screen shot of the weapon?
I suspect that even if you have the weapon as elemental damage, because it is a weapon it applies normal attack or physical not elemental when the enemy is hit with it
Here it is, along with the enemy notetag as required by the script.
Addendum: I am using The Mace in Attack command with element 12 "Blunt" I've even tried changing the Element to Physical with no avail.
I think you should try Yanfly's weapon attack replace.
Put the note tag on the weapon <attack skill: x>
make a skill that's a copy of #1 skill - attack and use that as the weapons attack skill. then set that skill to the element 12 not normal attack.
As I was saying I suspect it's doing a normal attack. I forgot to ask for the skill screenshot, but now that I thought about it, I'm sure this is the issue.
I think you should try Yanfly's weapon attack replace.
Put the note tag on the weapon <attack skill: x>
make a skill that's a copy of #1 skill - attack and use that as the weapons attack skill. then set that skill to the element 12 not normal attack.
As I was saying I suspect it's doing a normal attack. I forgot to ask for the skill screenshot, but now that I thought about it, I'm sure this is the issue.
I am Familiar with Yanfly's Scripts I use many of them, but will Yanfly and Mr.Trival scripts work together?
Huzzah! that is working better than expected, Many Thanks Roninator2 and Shaz.
I believe We are done here.

Original thread: https://forums.rpgmakerweb.com/threads/mr-trivals-conditional-drops-help.143226/