OmegaDev
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Kyle's Edits

5 posters

Go down

Kyle's Edits Empty Kyle's Edits

Post by Kyle? Sat Oct 23, 2010 9:29 pm

Small Battle Damage:
Place in Game_Battler line 643
(Replace that line)
Code:

damage = attacker.atk / 2 - self.def / 4 

Letters to Numbers:
Replace Game_Troop line 12 to 14
Code:

LETTER_TABLE = [ ' 1',' 2',' 3',' 4',' 5',' 6',' 7',' 8',' 9',' 10',
                  ' 11',' 12',' 13',' 14',' 15',' 16',' 17',' 18',' 19',' 20',
                  ' 21',' 22',' 23',' 24',' 25',' 26']
Kyle?
Kyle?
Platinum Cookiez
Platinum Cookiez

Posts : 500
Gald : 418

Stats
Cookies: 5

Back to top Go down

Kyle's Edits Empty Re: Kyle's Edits

Post by Dezz123 Sun Oct 24, 2010 8:03 am

Stupid question. What do these do?

Dezz123
Dezz123
Legendary
Legendary

Posts : 1534
Gald : 6469

Stats
Cookies: 0

http://www.dezzgames.webs.com, www.evalon.webs.com

Back to top Go down

Kyle's Edits Empty Re: Kyle's Edits

Post by Kyle? Mon Oct 25, 2010 12:15 am

What there names are.
The first one gives small damage so 3 instead of 30
and the other one is replacing the letters in battle of monsters to numbers
Kyle?
Kyle?
Platinum Cookiez
Platinum Cookiez

Posts : 500
Gald : 418

Stats
Cookies: 5

Back to top Go down

Kyle's Edits Empty Re: Kyle's Edits

Post by Dezz123 Mon Oct 25, 2010 4:28 am

Ahh. Not bad.
Dezz123
Dezz123
Legendary
Legendary

Posts : 1534
Gald : 6469

Stats
Cookies: 0

http://www.dezzgames.webs.com, www.evalon.webs.com

Back to top Go down

Kyle's Edits Empty Re: Kyle's Edits

Post by The Creator Mon Oct 25, 2010 6:26 am

Great idea! Nothing is worse in an RPG game when you are dealing 100000 damage a pop to a slime! Razz
The Creator
The Creator
Legendary
Legendary

Posts : 786
Gald : 920

Stats
Cookies: 0

Back to top Go down

Kyle's Edits Empty Re: Kyle's Edits

Post by Peva Mon Oct 25, 2010 7:16 am

Now KAIL will do snippets for us!
Peva
Peva
Development Moderator
Development Moderator

Posts : 1281
Gald : 4414

Stats
Cookies: 0

Back to top Go down

Kyle's Edits Empty Re: Kyle's Edits

Post by The Creator Tue Oct 26, 2010 9:57 am

hmmm, I have been meaning to try this! Ill have to do it soon.
The Creator
The Creator
Legendary
Legendary

Posts : 786
Gald : 920

Stats
Cookies: 0

Back to top Go down

Kyle's Edits Empty Re: Kyle's Edits

Post by IMP1 Tue Oct 26, 2010 10:42 am

Kyle? wrote:
Code:
LETTER_TABLE = [ ' 1',' 2',' 3',' 4',' 5',' 6',' 7',' 8',' 9',' 10',
                  ' 11',' 12',' 13',' 14',' 15',' 16',' 17',' 18',' 19',' 20',
                  ' 21',' 22',' 23',' 24',' 25',' 26']
Could also be written as
Code:
LETTER_TABLE = %w{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
                  18, 19, 20, 21, 22, 23, 24, 25, 26}
A little easier on the eyes, no?
You don't have to type out every ''

EDIT: @TheCreator... what?
IMP1
IMP1
Coding Moderator
Coding Moderator

Posts : 503
Gald : 1399

Stats
Cookies: 5

Back to top Go down

Kyle's Edits Empty Re: Kyle's Edits

Post by Dezz123 Tue Oct 26, 2010 11:19 am

@IMP1 - I think The Creator means testing the scripts out.
Dezz123
Dezz123
Legendary
Legendary

Posts : 1534
Gald : 6469

Stats
Cookies: 0

http://www.dezzgames.webs.com, www.evalon.webs.com

Back to top Go down

Kyle's Edits Empty Re: Kyle's Edits

Post by IMP1 Tue Oct 26, 2010 11:25 am

Landargon wrote:@IMP1 - I think The Creator means testing the scripts out.
Ohh. Silly me.

@Kyle, just to clarify %w creates an array of single-quoted elements.

See link:
https://simpleror.wordpress.com/2009/03/15/q-q-w-w-x-r-s/#q
IMP1
IMP1
Coding Moderator
Coding Moderator

Posts : 503
Gald : 1399

Stats
Cookies: 5

Back to top Go down

Kyle's Edits Empty Re: Kyle's Edits

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum