Salve ragazzi avrei bisogno di un aiuto, volevo ricreaere il talento Competenza nelle armi da guerra di D&D, pensavo appunto di utilizzare lo script:
<Custom Passive Condition>
// Get all currently equipped weapons for the user.
var weapons = user.weapons();
// Set the swords variable.
var swords = 2;
// Set the initial condition to be false.
condition = false;
// Loop through each of the weapons.
for (var i = 0; i < weapons.length; ++i) {
// Get the currently looped weapon.
var weapon = weapons[i];
// Check if the weapon exists and if the weapon type ID matches the sword ID.
if (weapon && weapon.wtypeId === swords) {
// Set the condition to be true.
condition = true;
// Break the loop.
break;
}
}
</Custom Passive Condition>
che è quello appunto di Weapon mastery dei Tips&Tricks di YEP, quello che mi servirebbe sapere è se è possibile trasformarlo in uno status da lanciare con un'abilità, invece di usare uno status passivo.
Question
crismon.trident
Salve ragazzi avrei bisogno di un aiuto, volevo ricreaere il talento Competenza nelle armi da guerra di D&D, pensavo appunto di utilizzare lo script:
<Custom Passive Condition> // Get all currently equipped weapons for the user. var weapons = user.weapons(); // Set the swords variable. var swords = 2; // Set the initial condition to be false. condition = false; // Loop through each of the weapons. for (var i = 0; i < weapons.length; ++i) { // Get the currently looped weapon. var weapon = weapons[i]; // Check if the weapon exists and if the weapon type ID matches the sword ID. if (weapon && weapon.wtypeId === swords) { // Set the condition to be true. condition = true; // Break the loop. break; } } </Custom Passive Condition>che è quello appunto di Weapon mastery dei Tips&Tricks di YEP, quello che mi servirebbe sapere è se è possibile trasformarlo in uno status da lanciare con un'abilità, invece di usare uno status passivo.
Edited by crismon.tridentLink to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now