Thread: 200 Mp
View Single Post
  #10  
Old 07-17-2001, 07:14 PM
Vash Vash is offline
:D.
Vash's Avatar
Join Date: Mar 2001
Location: The Planet Gunsmoke and/or Ragol
Posts: 2,246
Vash is on a distinguished road
Send a message via AIM to Vash
Re: 200 Mp

Quote:
Originally posted by SkooL
I am trying to create an NPCw to make it seem as though the player has 200 MP. It will be an item the player may purchase. Anyways, I was wondering if anyone could figure out why this doesn't work...
NPC Code:
if (created) {
this.playermagic=playermp;
}
if (playerenters) {
toweapons -200MP;
}
if (this.playermagic>playermp) {
playermp+=int(this.playermagic-playermp/2);
this.playermagic=playermp;
}

I don't even know how to make an npc that when you touch it you get full mp
__________________
AIM: EvilVash


There's something that cannot be expressed in words. Human emotions. Emotions of the heart cannot be defined. But there's a way to read the emotions. Look into their eyes. The girl lied to me. But I believed her. The man lied to me. But I trusted him. But the moment I looked into his eyes, the angel of destiny began to unravel the truth. Just look into their eyes. There is only one truth.

"Vash. For 12 years old, you're so damn smart that it isn't even funny." - Marle
Reply With Quote