Gammon Forum
Entire forum
SMAUG
SMAUG coding
Transformation
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Posted by
| Jinru
USA (20 posts) bio
|
Date
| Tue 09 Mar 2004 03:09 PM (UTC) |
Message
| How would i start on or make dbz like transformations for my mud that will lets say ssj make pl*3 intill u go back normal. (might be a hard one) |
-(Jinru)-
admin at
dbzuov.sytes.net port 4003 | top |
|
Posted by
| Zeno
USA (2,871 posts) bio
|
Date
| Reply #1 on Tue 09 Mar 2004 11:45 PM (UTC) |
Message
| Its not hard. Just do something like....
|
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | top |
|
Posted by
| Jinru
USA (20 posts) bio
|
Date
| Reply #2 on Wed 10 Mar 2004 02:58 PM (UTC) |
Message
| Thanks ill try it but i have another problem
i have put my pl code in and in score and mud. in char data and update.c but it still wont show the gain and i want to see the gain in ur prompt to how whould i go about doing that
thanks |
-(Jinru)-
admin at
dbzuov.sytes.net port 4003 | top |
|
Posted by
| Jinru
USA (20 posts) bio
|
Date
| Reply #3 on Wed 10 Mar 2004 03:11 PM (UTC) |
Message
| also chould i do powrup like this
void do_powerup
ch->base_pl * 3 = powered_up_pl
i want it to show the base pl times that number but the output goes into the powerd up pl varable
(tired cant spell) |
-(Jinru)-
admin at
dbzuov.sytes.net port 4003 | top |
|
Posted by
| Zeno
USA (2,871 posts) bio
|
Date
| Reply #4 on Wed 10 Mar 2004 09:26 PM (UTC) |
Message
| Whats it showing up in score as? 0? That means the variable is zero. Try to set it and see if it works.
Also, instead of
ch->base_pl * 3 = powered_up_pl
Do this:
powered_up_pl = ch->base_pl * 3;
|
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | top |
|
Posted by
| Jinru
USA (20 posts) bio
|
Date
| Reply #5 on Thu 11 Mar 2004 01:56 PM (UTC) |
Message
| thanks but in the powrup how do i make it a command and also ssj make it so its only race is saiyan |
-(Jinru)-
admin at
dbzuov.sytes.net port 4003 | top |
|
Posted by
| Zeno
USA (2,871 posts) bio
|
Date
| Reply #6 on Thu 11 Mar 2004 08:21 PM (UTC) |
Message
| Make sure you added the references to tables.c and mud.h, and then cedit it in. And make an ifcheck in the ssj code, if the player isn't saiyan, return. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | top |
|
Posted by
| Kigen
(2 posts) bio
|
Date
| Reply #7 on Sun 11 Apr 2004 06:19 AM (UTC) |
Message
| Set it up like you have turbo, Jinru.
Then I will add ssj as being a skill or ability. |
-Kigen
[url]telnet://dbzuov.sytes.net:4003[/url] | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
15,443 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.