Premium system help

12/18/2015 15:06 laitila#1
Hello!

i need some help with the premium system - [Only registered and activated users can see links. Click Here To Register...]

my question is:

How can i add so the premium scroll gives like all stats +10? or like increase hp 10%, which line should i add that in and also what's the code? thanks for your time guys
12/20/2015 14:20 laitila#2
bump
12/20/2015 14:21 *-Kaores-*#3
Spec_item / propitem.txt
12/20/2015 14:38 laitila#4
Quote:
Originally Posted by *-Kaores-* View Post
Spec_item / propitem.txt
so i can do it in the resource?, i was thinking it will only work with the source, oh well i'll try with resource ;P
12/20/2015 15:57 Lumi#5
In MoverParam.cpp.
12/20/2015 15:59 laitila#6
Quote:
Originally Posted by ​Lumi View Post
In MoverParam.cpp.
I have done like this,

#ifdef __PREMIUM
if(IsSMMode( SM_PREMIUM))
( DST_STR, 15 );
#endif

is this completly wrong? :D
12/20/2015 16:04 Lumi#7
In MoverParam you can find some functions like GetStr(), GetInt(), GetDex(), GetSta(). You can add them seperately or you search DST_STAT_ALLUP (All Stats +) in your source.
12/20/2015 16:13 laitila#8
Quote:
Originally Posted by ​Lumi View Post
In MoverParam you can find some functions like GetStr(), GetInt(), GetDex(), GetSta(). You can add them seperately or you search DST_STAT_ALLUP (All Stats +) in your source.

I changed it like this

case DST_STAT_ALLUP:
SetDestParam( DST_STR, nAdjParameterValue, nChgParameterValue, bSend );
SetDestParam( DST_DEX, nAdjParameterValue, nChgParameterValue, bSend );
SetDestParam( DST_INT, nAdjParameterValue, nChgParameterValue, bSend );
SetDestParam( DST_STA, nAdjParameterValue, nChgParameterValue, bSend );
return;

#ifdef __PREMIUM
if(IsSMMode( SM_PREMIUM))
DST_STAT_ALLUP, 15;
#endif


Still doesn't work though, it doesn't give any stats :confused:
12/21/2015 21:17 laitila#9
bump still need help.
12/22/2015 18:40 Rhyder`#10
use the idea of this one. SM_VELOCIJUMP :>