Help - Search - Members - Calendar
Full Version: Actor specific Skills
RPG RPG Revolution Forums > Scripting > Event Emporium
Pharonix
I want to make a skill called mana blast, that a couple of mage characters can learn

However, since it works in regard to the user's mana, I need help to make

a conditional branch such that it looks like this

If actor 1 uses a skill 47,
do events based on actor 1

else if actor 2 uses a skill 47,
do events based on actor 2

My only problem is that i don't know how to make an event that determines WHO USES WHAT SKILL
if anyone can help, I'd appreciate it

all the events are the same, except that it means I won't have to make a separate skill and CE for each character with a unique skill.


This will actually allow me to make ONE skill, that can be a catalyst for EVERY UNIQUE SKILL
I could just put the unique skills code in the one CE and everyone can use their special skills
without me making a bunch of skills


There are currently 11 special / Unique skills - 7 of them based on the class the player chooses
Alt_Jack
I'd probably have it inflict a state on them that doesn't show up (no dialogue or icon for it) then make a condition branch that says "if actor x is state Y, force action-attack (mana blast) " then remove the state after they've attacked.
It might work, but I don't really have the time to test it out.
Redd
Just make them a separate class that is the only one that can use that skill. Just make it duplicate to the other classes that use the normal skills smile.gif
Pharonix
QUOTE (Redd @ Sep 14 2011, 03:38 PM) *
Just make them a separate class that is the only one that can use that skill. Just make it duplicate to the other classes that use the normal skills smile.gif


Thats how i have it now,
the only problem is
it is based on the following formula in the common event for the spell


10*(user Mp / user MaxMP)*(user SPI) + user's level

so with full MP, with 500 SPI at level 50

the user will deal 5050 damage.
or in the best case the user deals 9999 damage, I have a conditional to fix this so even at level 99, it deals 9999


otherwise it charges a random percentage of MP

so it is HIGHLY character specific. I really don't want to make a bunch of common events, though i could make one that sets a variable to a specific number for each char, then call the mana blast event
^I guess i could do this....
lilcooldude69
so you want to lower the damage?, go into your skills menu and do it from there lol
Redd
You don't necessarily have to have that formula either, the game already provides one for you and you can make the damage of the skill whatever you want it to be and at what level too...
RzrBladeMontage
Were you able to figure everything out Pharonix?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.