Jump to content
  • 0

Gloria formula


UltraSlayer

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  12/20/11
  • Last Seen:  

I've been trying to redo Gloria's formula to be more dynamic. But for some reason, it only seems to read the first part of the code and just blatantly ignores the rest. Here's the formula I am using and I ask why it's not working.

 

	if(sc->data[SC_GLORIA])
		luk += 20+luk*0.50*(sc->data[SC_GLORIA]->val2/10);

What this does is give the base stat of 20 luk plus 1 luk per 2 points spent into luk, but thats the catch, it gives the 20 base points but it doesn't give anymore with points spent into luk. I got similar code to work with Blessing but this just wont work. /bzz

 

Thanks for your help,

- UltraSlayer

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...