Jump to content
  • 0

Change player's size with @size


ran0120

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.04
  • Content Count:  25
  • Reputation:   0
  • Joined:  05/18/23
  • Last Seen:  

Is it possible to change the player's size when they use @size from medium to large/small for them to be affected by equip/card modifiers like Minorous Card? Thank you.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  233
  • Reputation:   87
  • Joined:  06/30/18
  • Last Seen:  

You can use the item scripts and use the @size command on equip and unequip. Example:
 

  - Id: 4126
    AegisName: Minorous_Card
    Name: Minorous Card
    Type: Card
    Buy: 20
    Weight: 10
    Locations:
      Right_Hand: true
    Flags:
      BuyingStore: true
      DropEffect: CLIENT
    Script: |
      atcommand("@size 2");
      bonus2 bAddSize,Size_Large,15;
      bonus bBaseAtk,5;
    UnEquipScript: |
      atcommand("@size 0");

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.04
  • Content Count:  25
  • Reputation:   0
  • Joined:  05/18/23
  • Last Seen:  

22 minutes ago, Winterfox said:

You can use the item scripts and use the @size command on equip and unequip. Example:
 

  - Id: 4126
    AegisName: Minorous_Card
    Name: Minorous Card
    Type: Card
    Buy: 20
    Weight: 10
    Locations:
      Right_Hand: true
    Flags:
      BuyingStore: true
      DropEffect: CLIENT
    Script: |
      atcommand("@size 2");
      bonus2 bAddSize,Size_Large,15;
      bonus bBaseAtk,5;
    UnEquipScript: |
      atcommand("@size 0");

 

What I meant was when a character uses @size to change their size, the size of the player changes from medium to small/large. If for example, the player uses @size 2 to change in size and their sprite becomes bigger, I want their overall size to be changed from medium to large as well so that if another player has a Minorous Card equipped the big player will receive 15% more damage as they are now considered as a Large enemy. Like how a mounted character changes from medium to large if the settings are enabled in the conf folder.

Edited by ran0120
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...