How To Exclude Phase Blade from Recipes

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

Post Reply
User avatar
b1n
Posts: 66
Joined: Mon Jul 18, 2016 10:55 pm
Contact:

How To Exclude Phase Blade from Recipes

Post by b1n » Tue Sep 10, 2019 5:25 am

Hello guys, I'm making items ethereal through cube, but I need to exclude itens that are ethereal, indestructible and those with no durability (phase and bows)

I'am trying to use op to check the stats but can't get to work for everything

Code: Select all

desc enabled version op param value numinputs i	mputs 			output

eth	1	100   18  152	0	 3	mele,noe hp1 mp1 useitem ethereal 1 1
(fails if stat 152 indestruct ! zero, this one includes phase)

eth 	1	100   17   72	0	 3	mele,noe hp1 mp1 useitem ethereal 1 1
(fails if stat 72 durability = zero, exclude phase)
Diablo II Evolution

Post Reply

Return to “General Mod Making”