Item specific skills

Potreen

Villager
Member
Joined
May 29, 2016
Messages
16
Reaction score
0
First Language
Norwegian
Primarily Uses
So, i use SAS(Sapphire Action System 4.4) by Khas, and i wanted some skills only to be usable when wearing a type of item. sword, dagger etc.


Also i was hoping to add effects like a healing skill, but that's been prooven hard, so i'm doing damage skills only at the moment.


To do this i made a switch go on when 'learning' the skill at an NPC for each skill, and a common event that check for every single item and what switch is on, learning or forgetting the correct skills.


To avoid having a parallel event learn me the correct skill continously i used the script "Equip Events" by Hime that let me add a comment to all the items call a common event.


The problem about this is that the skill already active is SAS can be used as long as the player don't change the active skill, no matter if they change the equipment, after it's unlearned by the common event.


So, i had to use the script "Key Simulator" v. 0.1 by Fantasist to force a virtual click of the left ctrl, the button that toggle next ability is SAS(this might be the time to mention i use a key binding script by Dias), hoping it would force away from the active.


I added the script command in the common event after the learn/forget skill.


But, since i equip the item in a menu(Xail by Nicke), the event run and the button don't do anything. It would have to be pressed on the map.


Is there anoyone out there able to create anything?


Is there a easier way to add weapon specific skills in SAS?


If not, is there a way to change the active skill when the player equip a new item in SAS?


If not, Is there any way to delay the virtual key press untill menu is closed(key simulator/common event)?


If not, Is there a way to force close the custom menu(xail)?


Also, is there a way to add effects to a skill in SAS like healing?


                                                                                 


SAS: Link


Equip Events: Link


Key simulator: Link


Xail menu: Link


Input script: Link


I don't think all of these have to be changed for a solution, but i'm providing them so maybe theres a solution using any of them, or another script.


I would be very grateful for any help you may provide.
 
Last edited by a moderator:

Potreen

Villager
Member
Joined
May 29, 2016
Messages
16
Reaction score
0
First Language
Norwegian
Primarily Uses
*bump*


In short: different weps = different skills(common event).


i am using a sword with low magic power skill but high attack hit.


And by swapping to a staff(low attack but +stats magic power) the player can abuse this by not swapping away the skill and gain double dmg.


By swapping item the skill get replaced with the new, but the actor can still use the old untill they actually swap to any other skill.


This is all taking place on the map with the action system mentioned above, weapon swapped in the deluxe menu mentioned above.
 
Last edited by a moderator:

Potreen

Villager
Member
Joined
May 29, 2016
Messages
16
Reaction score
0
First Language
Norwegian
Primarily Uses

HexMozart88

The Master of Random Garbage
Veteran
Joined
May 15, 2016
Messages
1,879
Reaction score
3,349
First Language
English
Primarily Uses
RMVXA
I think you can have weapon specific skills just through a conditional branch, like after a battle, you can run a common event to check if the player has leveled up, then in side that, put another conditional branch to check if the weapon is in the inventory. If it is, add the skill, if not, display a message saying you cannot learn the skill as the weapon needs to be equipped (apologies if this is not a good answer, I just wanted to help you out ;_;)
 

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

Latest Threads

Latest Posts

Latest Profile Posts

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
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,574
Latest member
nikisknight
Top