![]() ![]() |
29 Jul 2010, 08:46 AM
Post
#1
|
|
|
Town Joker ![]() ![]() ![]() Group: Members Posts: 66 Joined: 10-November 08 Member No.: 45287 |
Hi, i want to make my own delay on each potion, but don't know how to disable standard delays...
This my Agility potion CODE ON=@DCLICK IF (<TAG0.PTIME> > <SERV.TIME>) SRC.SMSG delay! RETURN 1 ENDIF TAG0.PTIME = <eval (<SERV.TIME> + 30)> When i try to drink potions in first seconds of delay i get message - You can't drink another potion yet.(default) Please help me |
|
|
|
29 Jul 2010, 02:30 PM
Post
#2
|
|
|
GM Typer ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2456 Joined: 28-August 02 From: Canada Member No.: 6908 |
add this under @dclick
CODE src.findlayer.50.timer 0 that'll fix it up.
|
|
|
|
30 Jul 2010, 05:18 AM
Post
#3
|
|
|
Town Joker ![]() ![]() ![]() Group: Members Posts: 105 Joined: 1-February 07 Member No.: 38366 |
so, active potion is always layer 50?
is there somewhere a full list of all layers..? |
|
|
|
30 Jul 2010, 02:15 PM
Post
#4
|
|
|
Town Joker ![]() ![]() ![]() Group: Members Posts: 67 Joined: 23-February 09 Member No.: 46169 |
They are in sphere_defs.scp.
CODE [DEFNAME layers]
layer_hand1 1 layer_hand2 2 layer_shoes 3 layer_pants 4 // bone legs + pants. layer_shirt 5 layer_helm 6 layer_gloves 7 layer_ring 8 layer_talisman 9 // talisman (se and ml) layer_collar 10 // gorget or necklace. layer_hair 11 layer_half_apron 12 layer_chest 13 // armor chest layer_wrist 14 // watch layer_light 15 // a itemid_light_src equip item can be put here. layer_beard 16 // try to have only men have this. layer_tunic 17 // jester suit or full apron. layer_ears 18 // earrings layer_arms 19 // armor layer_cape 20 // cape layer_pack 21 // only used by itemid_backpack layer_robe 22 // robe over all. layer_skirt 23 // skirt or kilt. layer_legs 24 // 0x18 = plate legs. // these are not part of the paper doll (but get sent to the client) layer_horse 25 // ride this object. (horse objects are strange?) layer_vendor_stock 26 // the stuff the vendor will restock and sell to the players layer_vendor_extra 27 // the stuff the vendor will resell to players but is not restocked. (bought from players) layer_vendor_buys 28 // the stuff the vendor can buy from players but does not stock. layer_bankbox 29 // contents of my bank box. // internally used layers - don't bother sending these to client. layer_special 30 // can be multiple of these. memories layer_dragging 31 // spells that are effecting us go here. layer_spell_stats 32 // stats effecting spell. these cancel each other out. layer_spell_reactive 33 layer_spell_night_sight 34 layer_spell_protection 35 layer_spell_incognito 36 layer_spell_magic_reflect 37 layer_spell_paralyze 38 // or turned to stone. layer_spell_invis 39 layer_spell_polymorph 40 layer_spell_summon 41 // magical summoned creature. layer_flag_poison 42 layer_flag_criminal 43 // criminal or murderer ? layer_flag_potion 44 // some magic type effect done by a potion. (they cannot be dispelled) layer_flag_spiritspeak 45 layer_flag_wool 46 // regrowing wool. layer_flag_drunk 47 // booze effect. layer_flag_clientlinger 48 layer_flag_hallucination 49 // shrooms etc. layer_flag_potionused 50 // track the time till we can use a potion again. layer_flag_stuck 51 // in a trap or web. layer_flag_murders 52 // how many murders do we have ? and decay timer. layer_flag_bandage 53 // bandages go here for healing layer_auction |
|
|
|
31 Jul 2010, 01:02 PM
Post
#5
|
|
|
Town Joker ![]() ![]() ![]() Group: Members Posts: 105 Joined: 1-February 07 Member No.: 38366 |
ah damnit. searched there, found it, but only noticed those up to 24. should open my eyes while searching, next time.. thanks (IMG:style_emoticons/default/smile.gif)
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 3rd September 2010 - 02:14 AM |