Quote:
Originally Posted by Timelimits
under the void for ondouseitemtarget did you create a new case statement allowing your new eAwakeningNew and then declare the in the randomoption?
Might be a place to double check on however take what I say as random thoughts out loud since I'm not C++ developer, more of a rambling idiot than anything.
|
Thanks for the reply. I have allowed eAwakeningNew in ondouseitemtarget and as mentioned the scroll is working if the code is over eAwakening.
Quote:
// NEW AWAKENING ALL POSITIVE AWAKES
return static_cast<int>( eAwakeningNew );
// THE OLD AWAKENING WITH NEGATIVE AWAKES
return static_cast<int>( eAwakening );
|
but if i use this one
// THE OLD AWAKENING WITH NEGATIVE AWAKES
return static_cast<int>( eAwakening );
// NEW AWAKENING ALL POSITIVE AWAKES
return static_cast<int>( eAwakeningNew );
the new scroll won't work.
My question is, how can i make both of them work at the same time.
i've tried to use "||"
return static_cast<int>( eAwakening ) || ( eAwakeningNew );
and
return static_cast<int>( eAwakening || eAwakeningNew );
It didn't work too.