ID:155926
 
How do I make it so that there are stronger enemies than your average monster? Like for example, lets say we have two average zombies but then you have a really strong spider, how would you accomplish this?
Increase the spider's strength.
In response to Kaiochao
That is what I'm asking on how to do it, if you are not going to tell me how then don't bother posting. Please remember I am a beginner when it comes to this. I have been doing programming off and on.
In response to Bigmnm
If you've already made your average zombies, give them a "strength" variable with an average value, and calculate damage done to the player based on it. For spiders, have the "strength" variable above average.
In response to Kaiochao
He wants the code to c&p he made several post where he can easily search for a demo that can easily tell him but he just keeps posting asking for codes.


It's simple...

With var(variables). Simply make some kind of variable about health or strength and make some sort of equation to use it with.
In response to The Eggmen
The Eggmen wrote:
It's simple...

With var(variables). Simply make some kind of variable about health or strength and make some sort of equation to use it with.

Go to the str var, under the spidert you made, and increase the Strength variable you have, like if it was "5" change it to "15"
In response to MademanOne
I have and sometimes I don't find what I need.
In response to Bigmnm
Bigmnm wrote:
That is what I'm asking on how to do it, if you are not going to tell me how then don't bother posting. Please remember I am a beginner when it comes to this. I have been doing programming off and on.
I remember when I used to be this gullable. =]
mob
var
Strength
Health
Zombie
Health=10
Strength=1
StrongSpider
Health=50
Strength=10


This is a very basic example. xD But simple when you define you mobs, set the vars so one is stronger.
In response to Bigmnm
I understand that you need an example because I've been there before.
Here it is:
mob
npc // npc stands for Non-Playable Character
zombie // They are both zombies
var // for variables to be used,they must first be defined
strength // the zombie's strength
health // the zombie's health
normal // this is the normal zombie
strength = 5 // his strength is 5
health = 10 // his health is 10
strong // this is the strong zombie
strength = 15 // his strength is 15
health = 30 // his health is 30
//currently, these variables serve no purpose, but once you
//use some sort of verb or proc equation involing it, it
//will serve purpose in the game
In response to Bigmnm
Bigmnm wrote:
I have and sometimes I don't find what I need.

Maybe your not specific enough