- Joined
- May 23, 2013
- Messages
- 111
- Reaction score
- 13
- First Language
- Filipino
- Primarily Uses
- N/A
1st of all, sorry for my bad english
and 2nd i hope i post on the right part of the forum
Hey guys i need help on formulating some formula. i have the concept of the formula but i dont know how to implement
~Concept 01. Target:ENEMY ---skill name: ????
if actor 'X' is in the party then
if actor 'X' is in the state'A' then
target will receive (a.agi + actor'X' 's def) - b.def
else if actor x is in the state'B' then
target will receive (a.agi + actor'X' 's atk) -b.def
else
target will receive (a.agi) - b.def
~Concept 02 Target:SELF ---skill name: Rage
if 'user' is in the state'A' then
remove state'A' and add state'B'
else if 'user' is in the state'B' then
remove state'B' and add state'C'
else if 'user is in the state'C' then
remove state'C' and add state'D'
else
add state'A'
~Concept 03 Target:SELF(maybe) --skill name: Call spirit
if game.variable'X' is > 5 then
game.variable'X' + 0
else
game.variable'X' + 1
~Concept 04 Target:ENEMY --skill name: Asura Strike
if game.variable'X' is = 5 then
target will receive (game.variable'X' *(a.atk+a.matk) - b.def
and game.variable'X' = 0
else if game.variable'X' is = 4 then
target will receive (game.variable'X' *(a.atk+a.matk) - b.def
and game.variable'X' = 0
else if game.variable'X' is = 3 then
target will receive (game.variable'X' *(a.atk+a.matk) - b.def
and game.variable'X' = 0
else if game.variable'X' is = 2 then
target will receive (game.variable'X' *(a.atk+a.matk) - b.def
and game.variable'X' = 0
else if game.variable'X' is = 1 then
target will receive (game.variable'X' *(a.atk+a.matk) - b.def
and game.variable'X' = 0
else
target will receive NOTHING
~Concept 05 Target: ALL ALLY ---skill name: Guardian's Grace
if party.size is >= 4
10% of the each ally's maxhp will heal
else if party.size = 3
14% of the each ally's maxhp will heal
else if party.size = 2
19% of the each ally's maxhp will heal
else if party.size = 1
28% of the each ally's maxhp will heal
~Concept 06 Target: EVERYONE (is this possible?) ---skill name: ???
if the target is ally then
damage become heal (a.matk/2)
else
damage is = to (a.matk*2-b.def)
~Concept 07 Target: ENEMY ---skill name: Thief's luck
random.a(0...25)
random.b(0...25)
random.c(0...25)
random.d(0...25)
damage is = to random.a + random.b +random.c +random d +a.atk - b.def
~Concept 08 Target: ENEMY ---skill name: Coin Barrage
if Gold is <= 100 then
damage is = to 0
else
Gold - 100
and Damage is = to 100*(a.atk/50)
~Concept 09 Target: ENEMY --skill name: Electric discharge
game.varible'x' +1
if game.varible'x' is = to 3 then
{
game.varible - 3,
random.a(1...3)
if random.a = 3 then
{
damage = a.matk*1.5*3 - b.mdef
'user's' current hp - damage/10
}
else
else
damage = a.matk*1.5 - b.mdef
'user's' current hp - damage/10
}
..THANK YOU!...
to all who will answer. please explain a little bit :")
and 2nd i hope i post on the right part of the forum
Hey guys i need help on formulating some formula. i have the concept of the formula but i dont know how to implement
~Concept 01. Target:ENEMY ---skill name: ????
if actor 'X' is in the party then
if actor 'X' is in the state'A' then
target will receive (a.agi + actor'X' 's def) - b.def
else if actor x is in the state'B' then
target will receive (a.agi + actor'X' 's atk) -b.def
else
target will receive (a.agi) - b.def
~Concept 02 Target:SELF ---skill name: Rage
if 'user' is in the state'A' then
remove state'A' and add state'B'
else if 'user' is in the state'B' then
remove state'B' and add state'C'
else if 'user is in the state'C' then
remove state'C' and add state'D'
else
add state'A'
~Concept 03 Target:SELF(maybe) --skill name: Call spirit
if game.variable'X' is > 5 then
game.variable'X' + 0
else
game.variable'X' + 1
~Concept 04 Target:ENEMY --skill name: Asura Strike
if game.variable'X' is = 5 then
target will receive (game.variable'X' *(a.atk+a.matk) - b.def
and game.variable'X' = 0
else if game.variable'X' is = 4 then
target will receive (game.variable'X' *(a.atk+a.matk) - b.def
and game.variable'X' = 0
else if game.variable'X' is = 3 then
target will receive (game.variable'X' *(a.atk+a.matk) - b.def
and game.variable'X' = 0
else if game.variable'X' is = 2 then
target will receive (game.variable'X' *(a.atk+a.matk) - b.def
and game.variable'X' = 0
else if game.variable'X' is = 1 then
target will receive (game.variable'X' *(a.atk+a.matk) - b.def
and game.variable'X' = 0
else
target will receive NOTHING
~Concept 05 Target: ALL ALLY ---skill name: Guardian's Grace
if party.size is >= 4
10% of the each ally's maxhp will heal
else if party.size = 3
14% of the each ally's maxhp will heal
else if party.size = 2
19% of the each ally's maxhp will heal
else if party.size = 1
28% of the each ally's maxhp will heal
~Concept 06 Target: EVERYONE (is this possible?) ---skill name: ???
if the target is ally then
damage become heal (a.matk/2)
else
damage is = to (a.matk*2-b.def)
~Concept 07 Target: ENEMY ---skill name: Thief's luck
random.a(0...25)
random.b(0...25)
random.c(0...25)
random.d(0...25)
damage is = to random.a + random.b +random.c +random d +a.atk - b.def
~Concept 08 Target: ENEMY ---skill name: Coin Barrage
if Gold is <= 100 then
damage is = to 0
else
Gold - 100
and Damage is = to 100*(a.atk/50)
~Concept 09 Target: ENEMY --skill name: Electric discharge
game.varible'x' +1
if game.varible'x' is = to 3 then
{
game.varible - 3,
random.a(1...3)
if random.a = 3 then
{
damage = a.matk*1.5*3 - b.mdef
'user's' current hp - damage/10
}
else
else
damage = a.matk*1.5 - b.mdef
'user's' current hp - damage/10
}
..THANK YOU!...
to all who will answer. please explain a little bit :")
