Posts: 1,127
Threads: 43
Joined: May 2009
There could be two problems. One, you didn't configure the right dummy elements in the dummy_elements array. Two, that code is not executed, that is there is some other script after it that replaces it.
Double check the numbers you put in the dummy_elements array. Try also adding a line like this:
in the middle. It will print a message if that code is executed. If you don't see any message, it's better if you send me a demo.
Posts: 77
Threads: 12
Joined: Sep 2009
right.
i have followed your instructions and put the print code for attack dummy ele + skill dummy ele.
when using skill i got the message.
when using normal attack, no message.
haha... ok, again you got it right Charlie ;)
there is a script below by BS called advanced actor status that allow multi weapon use
or 2 hands and that re-write the dmg algorithm
i have insert the code you advised before in this second script ans now it is all fixed.
gee that was hard but thank you !
if you have time to look at my previous topic about "icon near ennemy name" in battle window... i think i m done with problems related to BS.
thanks again... you rock !
Posts: 77
Threads: 12
Joined: Sep 2009
oh and... i forgot to say...
Charlie you're gona have a special thanks in my game credits for having issue the elements system script !
thanks again dude !
Posts: 1,127
Threads: 43
Joined: May 2009
Thanks. I'm going to have a look to that "icon near enemy name" thread as soon as I can.
Posts: 77
Threads: 12
Joined: Sep 2009
hi ! sorry to bring this toppic back.. just got a problem that i didnt think about before...
is it possible to add Element to ennemy normal attack ?
for example, can we setup in scripts something like ennemy # 3 will have normal physical attack taged with element # 2 ?
thank you !
Posts: 77
Threads: 12
Joined: Sep 2009
hi
i ve found the solution so just in case someone got the same problem i had i will post it.
the change must be made in the Game_Ennemy script, around line 150 look for
the code
Code:
def element_set
return []
end
inside the [] of the "return []" enter the id of the element of your database that you want to grant to enemy normal attack.
hope it helps ^.^
Posts: 1,127
Threads: 43
Joined: May 2009
Good job. I'm sorry I've been kinda busy with other stuff...
Posts: 77
Threads: 12
Joined: Sep 2009
lol Charlie... you did so much already.. thank you !