Chaos Project

RPG Maker => RPG Maker Scripts => Topic started by: Zexion on March 18, 2014, 08:34:04 am

Title: Get a weapons element?
Post by: Zexion on March 18, 2014, 08:34:04 am
How do I get a weapon's element? Each weapon will only have one element, if that changes anything :P
Title: Re: Get a weapons element?
Post by: G_G on March 18, 2014, 09:04:00 am
It doesn't change anything, but you can do this in a script call via conditional branch.

$data_weapons[ID].element_set.include?(ELEMENT_ID)


There ya go!
Title: Re: Get a weapons element?
Post by: Zexion on March 18, 2014, 09:15:59 am
<3 Thanks :b