疊加補品v1
本帖最後由 secwind801 於 2010-7-24 09:02 AM 編輯腳本名稱:疊加補品v1
作者:我 代稱 煌小玥
適合類型:有設定使用道具延遲0.5s以上的
說明:
在道具後面加上傳呼指令
callfunc "『C』疊加補品",100,5,100,2,10,-1;
,HP,+n%,SP,+n%,疊加秒數,特效;
使用補品第一次後 時間內 每使用一次 增加N%
依照範例
補HP100第一次後10秒內再使用 補100+5%=105 再使用=110 → =115
補SP100第一次後10秒內再使用 補100+2%=102
離第一次使用時間10秒到了
補100重新計算
建議 使用道具延遲 高於0.5s
或是疊加時間1秒就好
防止內掛喝水連按洗補
-
圖片不會放 放不上來 用連結的
http://www.wretch.cc/album/show.php?i=secwind801&b=1&f=o1590109316.jpg&p=0
-
**** Hidden Message ***** I do not understand the explain
To see if there are picture 回復 2# 哆啦ˇ
使用這項補品
x秒內 它會以y函數增加 恢復量 其實用這個的話
就可以不必到db去設定---------------------------------------
*setitemscript(<item id>,<"{ new item script }">{,<type>});
Set a new script bonus to the Item. Very useful for game events.
You can remove an item's itemscript by leaving the itemscript argument empty.
Returns 1 on success, or 0 on fail (item_id not found or new item script is invalid).
Type can optionally be used indicates which script to set (default is 0):
0 - Script
1 - OnEquip_Script
2 - OnUnequip_Script
Example:
setitemscript 2637,"{ if(isequipped(2236)==0)end; if(getskilllv(26)){skill 40,1;}else{skill 26,1+isequipped(2636);} }";
setitemscript 2637,"";
--------------------------------------- Example:
setitemscript 20002,"『C』疊加補品",100,5,100,2,10,-1;
怎麼用_我稍微測試了_不會用 本帖最後由 sb66665112 於 2010-7-24 05:02 PM 編輯
所謂的New Item Script
可以用callfunc ((如果"字串"不行可以用set達到目的))
type就是後面的那三個{}
補品執行是第一個{}
就填0(改)
就這樣 額。我也有點沒理解呢- -
難道只能用到有延遲的物品上嗎?
沒有延遲的就不能用? 可以用呀..
只是內掛喝水會佔盡優勢
"按越多下疊加越多" 回復 6# sb66665112
有範例嗎
只看到幾個字和語法
我實在很難懂 setitemscript(501,"{ heal 50,50; }",0);
這樣使用道具501
就會回復血量50 魔力50
感謝大大無私分享
很有趣的腳本 來看看 我看不太懂@@ 怎麼用@@
我填了 寫了 怪怪的 I do not understand the explain
To see if there are picture 看不懂 = = 這還滿好用的可以阻絕內掛喝水@@
頁:
[1]
2