Equipment Requirement (Lunatic Mode) Weapon type requirement

JakHydro

Villager
Member
Joined
Jul 31, 2014
Messages
8
Reaction score
0
Primarily Uses
I want to make a weapon requirement where a character can dual-wield only if there is a type of weapon, but if single wielding then can equip any. Example: A character can wield Light Blade, Dark Blade, and Twilight Blade, however if decide to dual-wield, can dual wield Light Blade with Darkblade, darkblade with light blade, but cannot dual wield light blade with light blade, darkblade with darkblade, twilight with twilight, twilight with darkblade, twilight with light blade, and vice versa. Using the lunatic mode how would  <Custom Equip Requirement Condition>if (user.name() === ‘Harold’) {condition = true;} else {condition = false;}</Custom Equip Requirement Condition>  be used, I know we can have a if no blade is equipped to return true, and then else if there is (if light) a dark type of blade equipped to return true, but what are the java script command for these?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top