Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   player.isinvincible (https://forums.graalonline.com/forums/showthread.php?t=85610)

DustyPorViva 05-17-2009 02:59 PM

player.isinvincible
 
First off:
PHP Code:

InvinciblePlayer(seconds); // Makes the player invincible for a set amount of time
InvinciblePlayer2(); // Makes the player invincible until it uses...
UnInvinciblePlayer(); 

These will work completely separately from ispaused and gold AP.

player.isinvincible will return -1 for not invincible, and >0 for if they are(and 0 if they are indefinitely).

This will do exactly what paused and 100ap does -- player doesn't block and swords do nothing. I've thought of many, many times where I would like to make the player invincible, but without forcing them to pause/giving them 100 AP and such. I don't imagine it'd be too hard to add, just another check, no?

DustyPorViva 05-26-2009 07:46 PM

Please Stefan? Just for clarification, this would also make the player non-blocking.

Pelikano 05-26-2009 08:09 PM

You can do this yourself, something like:

PHP Code:

//#CLIENTSIDE
function onTimeOut() {
  if (
this.invincible) {
    if (!
this.invHP) {
      
this.invHP player.hp
    
}
    
player.hp this.invHP;
    
setTimer(.05);
  }
  elseif (
this.invHP) {
    
this.invHP NULL;
  }


There's probably a WAY better and easier way to do it tho xD

DustyPorViva 05-26-2009 08:21 PM

Can't force players not to block and such though unless I rescript the movement.

fowlplay4 05-27-2009 05:13 AM

Would be neat if we could do..

player.blockagain();
player.dontblock();

like npcs

DustyPorViva 05-27-2009 05:45 AM

I really wish Stefan would expand a bit on the default system. It's a bit depressing when even the simplest things end in, "I gotta rescript the whole damn system now". Especially considering that a fully rescripted system just to duplicate the default system can be somewhat CPU intensive.

salesman 05-27-2009 06:24 AM

Quote:

Originally Posted by fowlplay4 (Post 1494507)
Would be neat if we could do..

player.blockagain();
player.dontblock();

like npcs

Yes, please...There's been a few times when that would've been very useful for me!!

Pelikano 05-27-2009 11:33 AM

Quote:

Originally Posted by fowlplay4 (Post 1494507)
Would be neat if we could do..

player.blockagain();
player.dontblock();

like npcs

that'd be very cool

Rufus 04-01-2010 09:33 PM

Bumping this because I think that the items mentioned here would be quite useful. As of late there has been a lot of new players coming from Classic iPhone onto Unholy Nation, and of course UN isn't really catered for this. It's not ideal making a "Newbie Protection" by giving them 100ap (with the sheer amount of NPCs) or setting them in nopk zones because it's proving very glitchy.

I think that Classic iPhone should also take advantage of this.

tempandrew 04-01-2010 11:36 PM

Quote:

Originally Posted by Rufus (Post 1566520)
Bumping this because I think that the items mentioned here would be quite useful. As of late there has been a lot of new players coming from Classic iPhone onto Unholy Nation, and of course UN isn't really catered for this. It's not ideal making a "Newbie Protection" by giving them 100ap (with the sheer amount of NPCs) or setting them in nopk zones because it's proving very glitchy.

I think that Classic iPhone should also take advantage of this.

The majority of Classic iPhone players I see coming over into UN complain about things like this. However, people have also told me they complain about things being "messy", i.e. the levels.

In addition to adding a temporary Newbie Protection script, I'd like to suggest some servers add a better orientation for new players. There is the basic Graal Tutorial, but it only recognizes new players with graal mechanics. It's good and all, but iPhone players are already aware of all this, and are more or less just confused about what is going on, where everything is, and what there is to do and how you do it. People don't realize, since many of us are oldbies at this point, that Graal has actually become a pretty confusing game for new players. Server staff should really start making their servers more newbie-friendly to better catch their attention and lure them into the PC version.

Rufus 04-01-2010 11:47 PM

Quote:

Originally Posted by tempandrew (Post 1566551)
In addition to adding a temporary Newbie Protection script, I'd like to suggest some servers add a better orientation for new players. There is the basic Graal Tutorial, but it only recognizes new players with graal mechanics. It's good and all, but iPhone players are already aware of all this, and are more or less just confused about what is going on, where everything is, and what there is to do and how you do it. People don't realize, since many of us are oldbies at this point, that Graal has actually become a pretty confusing game for new players. Server staff should really start making their servers more newbie-friendly to better catch their attention and lure them into the PC version.

Well that's more up to the UN staff, and they have the capabilities to do this already. Newbie protection? Not so much.

tempandrew 04-01-2010 11:53 PM

Quote:

Originally Posted by Rufus (Post 1566553)
Well that's more up to the UN staff, and they have the capabilities to do this already. Newbie protection? Not so much.

Oh I know. I agree, there should be some sort of initial Newbie Protection to help give new players a push towards orientation.

Loriel 04-02-2010 02:00 AM

Curse you for using "Invincible" as a verb.

WhiteDragon 04-02-2010 02:36 AM

Quote:

Originally Posted by Loriel (Post 1566580)
Curse you for using "Invincible" as a verb.

He was already invincibled so your words can't hurt him.

Rufus 04-04-2010 07:42 PM

Just realized that this would also fix the problems that have been coming up when attempting a custom map using default systems. Please add.


All times are GMT +2. The time now is 02:29 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.