What's new

Transform Pomocy

Status
Not open for further replies.

Rarzillo De Bonzo

Senior User
Joined
Apr 10, 2009
Messages
726
Reaction score
27
Ma kto? mo?e skrypt na transform albo niech ktos powie jak zrobi? aby by? inny outfit w transie do silnika Legends of shinobi 7.6.Pomocy
 

Rarzillo De Bonzo

Senior User
Joined
Apr 10, 2009
Messages
726
Reaction score
27
Odp: Transform Pomocy

Chcia?em co? w stylu czaru takie jak cursed seal
Code:
attackType = ATTACK_NONE
animationEffect = NM_ANI_NONE

hitEffect = NM_ME_NONE
damageEffect = NM_ME_MAGIC_ENERGIE
animationColor = RED
offensive = false
drawblood = false

MagicShieldObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)

function onCast(cid, creaturePos, level, maglv, var)
    centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}
	speed = getSpeed(cid)
    time = 62 -- 2:00 minutes
	addspeed = (speed*1.3)-24
	changeSpeed(cid, addspeed, time)
    setPlayerLightLevel(cid,12)

    ret = doTargetMagic(cid, centerpos, MagicShieldObject:ordered())
    if (ret) then
    	changeOutfit(cid, 420, time)
        cursedseal(cid, time)
    end
    return ret
end


Shippuden sasuke-looktype 139 lub wytlumacz ktos co odpowiada za outfit;)
 
Last edited by a moderator:

dominomm1900

Active User
Joined
Nov 5, 2010
Messages
61
Reaction score
0
Odp: Transform Pomocy

Ty chcesz co? typu "Utevo Res Ina" < Je?li tak to Lap
Code:
attackType = ATTACK_NONE
    animationEffect = NM_ANI_NONE
    
    hitEffect = NM_ME_NONE
    damageEffect = NM_ME_MAGIC_ENERGIE
    animationColor = GREEN
    offensive = false
    drawblood = false
    
    CreatureIllusionObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)
    
    function onCast(cid, creaturePos, level, maglv, var)
    centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}
    
    if pcall(function () n = outfits[var] end) then
    	if n~=nil then
    		time = 600 --time in seconds
    		ret = doTargetMagic(cid, centerpos, CreatureIllusionObject:ordered())
    
    		if(ret) then
    			changeOutfit(cid, time, n)
    		end
    		
    		return ret
    	end
    end
    
    return false
    end
I po Utevo Res Ina "Wpisujesz tutaj nazwe monsta albo co? :p
 
Last edited by a moderator:
Status
Not open for further replies.
Top