The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pelerin Sistem [Cape System]
Author Message
[Nores]
Apprentice
*

Posts: 8
Likes Given: 1
Likes Received: 3 in 2 posts
Joined: Jun 2014
Reputation: 0



Post: #1
Pelerin Sistem [Cape System]
//[Pelerin System Scripting - Cape System]
//[History 16 August 2009]
//[Scripting Coder = [Nores]

Code:
[events e_puan]
on=@click
if (<eval <tag0.Puan>> >= 120)
message @0940 [Most Powerful]
elseif (<eval <tag0.Puan>> >= 90)
message @0940 [Excessive Talented]
elseif (<eval <tag0.puan>> >= 60)
message @0940 [More Talented]
elseif (<eval <tag0.Puan>> >= 30)
message @0940 [Dexterous]
else
message @0940 [Incompetent]
endif

on=@kill
if (<argo.fame> <5000)
src.sysmessage @0481,,1 <act.name>'den Puan Alamadiniz.
else
src.tag.Puan +=1
src.sysmessage @0481,,1 <act.name>'den 1 Puan Aldiniz.
src.sysmessage @0481,,1 Toplam Puaniniz: [<eval <tag0.Puan>>]
src.newitem i_bilet,1000
src.act.bounce
endif

on=@death
src.tag.puan -=1
src.sysmessage @0481,,1 Puan Kaybettiniz.
src.sysmessage @0481,,1 Toplam Puaniniz: [<eval <tag0.Puan>>]

[function puan]
src.sysmessage @0481,,1 Puaniniz: [<eval <tag0.Puan>>]

[plevel 1]
puan

endif

///////////////////////PELERINLER///////////////////////////////////////

[itemdef i_incompetent_cape]
ID=i_cape
NAME=[Incompetent Cape]
Type=t_clothing

on=@create
COLOR=0814
HITPOINTS=100


ON=@CLICK
Message @0940,,1 [Incompetent Cape]
message @0481,,1 [3 Saniyede +1 Hits]
return 1

ON=@EQUIP
src.sayu [Incompetent Power Loading]
src.sysmessage @07a1 Incompetent Yetengi Sizinle.
LINK=<SRC.UID>
TIMER=2
RETURN 0

on=@TIMER
IF (<LINK.hits><<LINK.str>)
LINK.hits=<LINK.hits>+1
CONT.EFFECT=3,i_fx_sparkle_2,10,20,10
TIMER=5
else
TIMER=0
ENDIF
RETURN 1

on=@unequip
src.sysmessage @07a1 Incompetent Yetenegini Yitirdiniz.
LINK=04FFFFFFF
timer=-1
RETURN 0

endif

//////////////////////////////Dextereus////////////////////////////

[itemdef i_Dextereus_cape]
Defname i_dc
ID=i_cape
NAME=[Dextereus Cape]
Type=t_clothing

on=@create
COLOR=07a1
HITPOINTS=100


ON=@CLICK
Message @0940,,1 [Dextereus Cape]
message @0481,,1 [3 Saniyede +2 Hits]
return 1

ON=@EQUIP
src.sayu [Dextereus Power Loading]
src.sysmessage @07a1 Dextereus Yetengi Sizinle.
if (<eval <src.tag0.Puan>> < 30)
src.sysmessage Puaniniz 30'dan Buyuk Olmasi Gerek.
unequip
else
LINK=<SRC.UID>
TIMER=2
RETURN 0
endif

on=@TIMER
IF (<LINK.hits><<LINK.str>)
LINK.hits=<LINK.hits>+2
CONT.EFFECT=3,i_fx_sparkle_2,10,20,10
TIMER=5
else
TIMER=0
ENDIF
RETURN 1

on=@unequip
src.sysmessage @07a1 Dextereus Yetenegini Yitirdiniz.
LINK=04FFFFFFF
timer=-1

/////////////////////////////////More Talented//////////////////////////////////

[itemdef i_More_Talented_cape]
Defname i_mtc
ID=i_cape
NAME=[More Talented Cape]
Type=t_clothing

on=@create
COLOR=0854
HITPOINTS=100


ON=@CLICK
Message @0940,,1 [More Talented Cape]
message @0481,,1 [3 Saniyede +3 Hits]
return 1

ON=@EQUIP
src.sayu [More Talented Power Loading]
src.sysmessage @07a1 More Talented Yetengi Sizinle.
if (<eval <src.tag0.Puan>> < 60)
src.sysmessage Puaniniz 60'dan Buyuk Olmasi Gerek.
unequip
else
LINK=<SRC.UID>
TIMER=2
endif

on=@TIMER
IF (<LINK.hits><<LINK.str>)
LINK.hits=<LINK.hits>+3
CONT.EFFECT=3,i_fx_sparkle_2,10,20,10
TIMER=5
else
TIMER=0
ENDIF
RETURN 1

on=@unequip
src.sysmessage @07a1 More Talented Yetenegini Yitirdiniz.
LINK=04FFFFFFF
timer=-1

///////////////////////////Excessive Talented//////////////////

[itemdef i_Excessive_Talented_cape]
Defname i_etc
ID=i_cape
NAME=[Excessive Talented Cape]
Type=t_clothing

on=@create
COLOR=0484
HITPOINTS=100


ON=@CLICK
Message @0940,,1 [Excessive Talented Cape]
message @0481,,1 [3 Saniyede +4 Hits]
return 1

ON=@EQUIP
src.sayu [Excessive Talented Power Loading]
src.sysmessage @07a1 Excessive Talented Yetengi Sizinle.
if (<eval <src.tag0.Puan>> < 90)
src.sysmessage Puaniniz 90'dan Buyuk Olmasi Gerek.
unequip
else
LINK=<SRC.UID>
TIMER=2
endif

on=@TIMER
IF (<LINK.hits><<LINK.str>)
LINK.hits=<LINK.hits>+4
CONT.EFFECT=3,i_fx_sparkle_2,10,20,10
TIMER=5
else
TIMER=0
ENDIF
RETURN 1

on=@unequip
src.sysmessage @07a1 Excessive Talented Yetenegini Yitirdiniz.
LINK=04FFFFFFF
timer=-1

//////////////////////////////Most Powerful////////////////////////////////


[itemdef i_Most_Powerful_cape]
Defname i_mpc
ID=i_cape
NAME=[Most Powerful Cape]
Type=t_clothing

on=@create
COLOR=05a23
HITPOINTS=100


ON=@CLICK
Message @0940,,1 [Most Powerful Cape]
message @0481,,1 [3 Saniyede +5 Hits]
return 1

ON=@EQUIP
src.sayu [Most Powerful Power Loading]
src.sysmessage @07a1 Most Powerful Yetengi Sizinle.
if (<eval <src.tag0.Puan>> < 120)
src.sysmessage Puaniniz 120'den Buyuk Olmasi Gerek.
unequip
else
LINK=<SRC.UID>
TIMER=2
endif

on=@TIMER
IF (<LINK.hits><<LINK.str>)
LINK.hits=<LINK.hits>+5
CONT.EFFECT=3,i_fx_sparkle_2,10,20,10
TIMER=5
else
TIMER=0
ENDIF
RETURN 1

on=@unequip
src.sysmessage @07a1 Most Powerful Yetenegini Yitirdiniz.
LINK=04FFFFFFF
timer=-1

[eof]

Footnote; This is code rank system with related extra health will gain. if cape is wear. Bad english for, sorry !
(This post was last modified: 06-09-2014 01:58 AM by [Nores].)
06-09-2014 01:48 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 2 users Like [Nores]'s post
JohnVeritas
Apprentice
*

Posts: 49
Likes Given: 0
Likes Received: 4 in 4 posts
Joined: Feb 2014
Reputation: 2



Post: #2
RE: Pelerin Sistem [Cape System]
Code:
IF (<<LINK.hits> + 4> > <LINK.str>)
LINK.hits=<LINK.str>
else
LINK.hits=<LINK.hits>+(Value)
...
...
..

And cloak will not heal over str.
06-12-2014 06:05 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #3
RE: Pelerin Sistem [Cape System]
PHP Code:
LINK.HITS += <VALUE YOU WANT>
IF <
LINK.HITS> > <LINK.STR>
 
LINK.HITS <LINK.STR>
ENDIF 

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
06-12-2014 06:08 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)